blob: 9e3f6767b80e5de5213a8a9b74ae6f4446021046 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __NET_TC_GACT_H
2#define __NET_TC_GACT_H
3
4#include <net/act_api.h>
5
David S. Millere9ce1cd2006-08-21 23:54:55 -07006struct tcf_gact {
7 struct tcf_common common;
Linus Torvalds1da177e2005-04-16 15:20:36 -07008#ifdef CONFIG_GACT_PROB
David S. Millere9ce1cd2006-08-21 23:54:55 -07009 u16 tcfg_ptype;
10 u16 tcfg_pval;
11 int tcfg_paction;
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070013};
David S. Millere9ce1cd2006-08-21 23:54:55 -070014#define to_gact(pc) \
15 container_of(pc, struct tcf_gact, common)
16
17#endif /* __NET_TC_GACT_H */