aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-10-01 00:30:22 -0400
committerDavid S. Miller <davem@davemloft.net>2013-10-02 16:39:11 -0400
commit5bc3db5c9ca8407f52918b6504d3b27230defedc (patch)
treede962c6ddced8970070c03f7d25e71ffdf6bd150 /include/uapi
parent5843ef421311c34f06d5ab82bced5aebfe185b2c (diff)
tc: export tc_defact.h to userspace
Jamal sent patch to add tc user simple actions to iproute2 but required header was not being exported. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/tc_act/Kbuild1
-rw-r--r--include/uapi/linux/tc_act/tc_defact.h19
2 files changed, 20 insertions, 0 deletions
diff --git a/include/uapi/linux/tc_act/Kbuild b/include/uapi/linux/tc_act/Kbuild
index 0623ec4e728f..56f121605c99 100644
--- a/include/uapi/linux/tc_act/Kbuild
+++ b/include/uapi/linux/tc_act/Kbuild
@@ -1,5 +1,6 @@
1# UAPI Header export list 1# UAPI Header export list
2header-y += tc_csum.h 2header-y += tc_csum.h
3header-y += tc_defact.h
3header-y += tc_gact.h 4header-y += tc_gact.h
4header-y += tc_ipt.h 5header-y += tc_ipt.h
5header-y += tc_mirred.h 6header-y += tc_mirred.h
diff --git a/include/uapi/linux/tc_act/tc_defact.h b/include/uapi/linux/tc_act/tc_defact.h
new file mode 100644
index 000000000000..17dddb40f740
--- /dev/null
+++ b/include/uapi/linux/tc_act/tc_defact.h
@@ -0,0 +1,19 @@
1#ifndef __LINUX_TC_DEF_H
2#define __LINUX_TC_DEF_H
3
4#include <linux/pkt_cls.h>
5
6struct tc_defact {
7 tc_gen;
8};
9
10enum {
11 TCA_DEF_UNSPEC,
12 TCA_DEF_TM,
13 TCA_DEF_PARMS,
14 TCA_DEF_DATA,
15 __TCA_DEF_MAX
16};
17#define TCA_DEF_MAX (__TCA_DEF_MAX - 1)
18
19#endif