blob: 592a6bc02b0b535087e9f2afee844b5ea37c666b [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
Eric Dumazetcc6510a2015-07-06 05:18:06 -07009 u16 tcfg_ptype;
10 u16 tcfg_pval;
11 int tcfg_paction;
12 atomic_t packets;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070014};
WANG Cong86062032014-02-11 17:07:31 -080015#define to_gact(a) \
16 container_of(a->priv, struct tcf_gact, common)
David S. Millere9ce1cd2006-08-21 23:54:55 -070017
18#endif /* __NET_TC_GACT_H */