summaryrefslogtreecommitdiffstats
path: root/include/netlink/route
diff options
context:
space:
mode:
Diffstat (limited to 'include/netlink/route')
-rw-r--r--include/netlink/route/tc-api.h7
-rw-r--r--include/netlink/route/tc.h7
2 files changed, 7 insertions, 7 deletions
diff --git a/include/netlink/route/tc-api.h b/include/netlink/route/tc-api.h
index d89408f..601a8df 100644
--- a/include/netlink/route/tc-api.h
+++ b/include/netlink/route/tc-api.h
@@ -20,13 +20,6 @@
extern "C" {
#endif
-enum rtnl_tc_type {
- RTNL_TC_TYPE_QDISC,
- RTNL_TC_TYPE_CLASS,
- RTNL_TC_TYPE_CLS,
- __RTNL_TC_TYPE_MAX,
-};
-
#define RTNL_TC_TYPE_MAX (__RTNL_TC_TYPE_MAX - 1)
/**
diff --git a/include/netlink/route/tc.h b/include/netlink/route/tc.h
index 50ca6de..caee60c 100644
--- a/include/netlink/route/tc.h
+++ b/include/netlink/route/tc.h
@@ -23,6 +23,13 @@
extern "C" {
#endif
+enum rtnl_tc_type {
+ RTNL_TC_TYPE_QDISC,
+ RTNL_TC_TYPE_CLASS,
+ RTNL_TC_TYPE_CLS,
+ __RTNL_TC_TYPE_MAX,
+};
+
/**
* Compute tc handle based on major and minor parts
* @ingroup tc