Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __NET_TC_NAT_H
0003 #define __NET_TC_NAT_H
0004 
0005 #include <linux/types.h>
0006 #include <net/act_api.h>
0007 
0008 struct tcf_nat {
0009     struct tc_action common;
0010 
0011     __be32 old_addr;
0012     __be32 new_addr;
0013     __be32 mask;
0014     u32 flags;
0015 };
0016 
0017 #define to_tcf_nat(a) ((struct tcf_nat *)a)
0018 
0019 #endif /* __NET_TC_NAT_H */