blob: 9fc9b578908ab868dcc0ef5986358ccb603bf5f9 [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};
WANG Cong86062032014-02-11 17:07:31 -080014#define to_gact(a) \
15 container_of(a->priv, struct tcf_gact, common)
David S. Millere9ce1cd2006-08-21 23:54:55 -070016
17#endif /* __NET_TC_GACT_H */