summaryrefslogtreecommitdiffstats
path: root/include/netlink
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-10-19 14:31:23 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-10-19 14:31:23 (GMT)
commit757592ec1b1d3c70a325ae997adb94009589c5a6 (patch)
tree40aabb22d05207a6e07a7a05f6d034dc06a0f038 /include/netlink
parentfa89403149a59ed18015713f517a5cc9356caffd (diff)
downloadlibnl-757592ec1b1d3c70a325ae997adb94009589c5a6.zip
libnl-757592ec1b1d3c70a325ae997adb94009589c5a6.tar.gz
libnl-757592ec1b1d3c70a325ae997adb94009589c5a6.tar.bz2
classid database
A database to resolve qdisc/class names to classid values and vice versa. The function rtnl_tc_handle2str() and rtnl_tc_str2handle() will resolve names automatically. A CLI based tool nl-classid-lookup is provided to integrate the database into existing iproute2 scripts.
Diffstat (limited to 'include/netlink')
-rw-r--r--include/netlink/route/tc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/route/tc.h b/include/netlink/route/tc.h
index 3cb876f..84c766f 100644
--- a/include/netlink/route/tc.h
+++ b/include/netlink/route/tc.h
@@ -53,6 +53,7 @@ extern int rtnl_tc_build_rate_table(uint32_t *, uint8_t, uint8_t, int, int);
/* TC Handle Translations */
+extern int rtnl_tc_read_classid_file(void);
extern char * rtnl_tc_handle2str(uint32_t, char *, size_t);
extern int rtnl_tc_str2handle(const char *, uint32_t *);