UBIFS: Implement ->migratepage()
[linux-2.6/btrfs-unstable.git] / include / net / tc_act / tc_nat.h
blob63d8e9ca9d99e0bef223973a48d24229689de27e
1 #ifndef __NET_TC_NAT_H
2 #define __NET_TC_NAT_H
4 #include <linux/types.h>
5 #include <net/act_api.h>
7 struct tcf_nat {
8 struct tcf_common common;
10 __be32 old_addr;
11 __be32 new_addr;
12 __be32 mask;
13 u32 flags;
16 static inline struct tcf_nat *to_tcf_nat(struct tc_action *a)
18 return container_of(a->priv, struct tcf_nat, common);
21 #endif /* __NET_TC_NAT_H */