summaryrefslogtreecommitdiffstats
path: root/kernel/include/net/tc_act/tc_gact.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/net/tc_act/tc_gact.h')
-rw-r--r--kernel/include/net/tc_act/tc_gact.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/include/net/tc_act/tc_gact.h b/kernel/include/net/tc_act/tc_gact.h
new file mode 100644
index 000000000..9fc9b5789
--- /dev/null
+++ b/kernel/include/net/tc_act/tc_gact.h
@@ -0,0 +1,17 @@
+#ifndef __NET_TC_GACT_H
+#define __NET_TC_GACT_H
+
+#include <net/act_api.h>
+
+struct tcf_gact {
+ struct tcf_common common;
+#ifdef CONFIG_GACT_PROB
+ u16 tcfg_ptype;
+ u16 tcfg_pval;
+ int tcfg_paction;
+#endif
+};
+#define to_gact(a) \
+ container_of(a->priv, struct tcf_gact, common)
+
+#endif /* __NET_TC_GACT_H */