]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: add default action to kernel headers
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 1 Oct 2013 04:28:09 +0000 (21:28 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 1 Oct 2013 04:28:09 +0000 (21:28 -0700)
include/linux/tc_act/tc_defact.h [new file with mode: 0644]

diff --git a/include/linux/tc_act/tc_defact.h b/include/linux/tc_act/tc_defact.h
new file mode 100644 (file)
index 0000000..6f65d07
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef __LINUX_TC_DEF_H
+#define __LINUX_TC_DEF_H
+
+#include <linux/pkt_cls.h>
+
+struct tc_defact {
+       tc_gen;
+};
+                                                                                
+enum {
+       TCA_DEF_UNSPEC,
+       TCA_DEF_TM,
+       TCA_DEF_PARMS,
+       TCA_DEF_DATA,
+       __TCA_DEF_MAX
+};
+#define TCA_DEF_MAX (__TCA_DEF_MAX - 1)
+
+#endif