blob: 56681a320612bcc0e15cecfbc2bc2f295308e175 [file] [log] [blame]
Herbert Xub4219952007-09-27 12:48:05 -07001#ifndef __NET_TC_NAT_H
2#define __NET_TC_NAT_H
3
4#include <linux/types.h>
5#include <net/act_api.h>
6
7struct tcf_nat {
WANG Congec0595c2016-07-25 16:09:42 -07008 struct tc_action common;
Herbert Xub4219952007-09-27 12:48:05 -07009
10 __be32 old_addr;
11 __be32 new_addr;
12 __be32 mask;
13 u32 flags;
14};
15
WANG Conga85a9702016-07-25 16:09:41 -070016#define to_tcf_nat(a) ((struct tcf_nat *)a)
Herbert Xub4219952007-09-27 12:48:05 -070017
18#endif /* __NET_TC_NAT_H */