]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/net/tc_act/tc_gact.h
592a6bc02b0b535087e9f2afee844b5ea37c666b
[mirror_ubuntu-bionic-kernel.git] / include / net / tc_act / tc_gact.h
1 #ifndef __NET_TC_GACT_H
2 #define __NET_TC_GACT_H
3
4 #include <net/act_api.h>
5
6 struct tcf_gact {
7 struct tcf_common common;
8 #ifdef CONFIG_GACT_PROB
9 u16 tcfg_ptype;
10 u16 tcfg_pval;
11 int tcfg_paction;
12 atomic_t packets;
13 #endif
14 };
15 #define to_gact(a) \
16 container_of(a->priv, struct tcf_gact, common)
17
18 #endif /* __NET_TC_GACT_H */