]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/net/tc_act/tc_gact.h
net_sched: act_gact: make tcfg_pval non zero
[mirror_ubuntu-artful-kernel.git] / include / net / tc_act / tc_gact.h
CommitLineData
1da177e4
LT
1#ifndef __NET_TC_GACT_H
2#define __NET_TC_GACT_H
3
4#include <net/act_api.h>
5
e9ce1cd3
DM
6struct tcf_gact {
7 struct tcf_common common;
1da177e4 8#ifdef CONFIG_GACT_PROB
e9ce1cd3
DM
9 u16 tcfg_ptype;
10 u16 tcfg_pval;
11 int tcfg_paction;
1da177e4 12#endif
1da177e4 13};
86062033
WC
14#define to_gact(a) \
15 container_of(a->priv, struct tcf_gact, common)
e9ce1cd3
DM
16
17#endif /* __NET_TC_GACT_H */