Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / include / net / tc_act / tc_gact.h
diff --git a/kernel/include/net/tc_act/tc_gact.h b/kernel/include/net/tc_act/tc_gact.h
new file mode 100644 (file)
index 0000000..9fc9b57
--- /dev/null
@@ -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 */