summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2015-01-29 01:12:12 (GMT)
committerThomas Haller <thaller@redhat.com>2015-02-02 17:22:47 (GMT)
commite75a1c373ad447ddf376b77f36c8e4ef039de3b5 (patch)
tree2510a25f4cba7a7ca4ce014b11c45a17694cc6bc /include
parentc2151e8b7d66924aab0a5e71e958b280e1b4e216 (diff)
downloadlibnl-e75a1c373ad447ddf376b77f36c8e4ef039de3b5.zip
libnl-e75a1c373ad447ddf376b77f36c8e4ef039de3b5.tar.gz
libnl-e75a1c373ad447ddf376b77f36c8e4ef039de3b5.tar.bz2
route/tc: add rtnl_tc_stat2str() and rtnl_tc_str2stat()
[thaller@redhat.com: add symbols to libnl-route-3.sym] Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/netlink/route/tc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netlink/route/tc.h b/include/netlink/route/tc.h
index 870c1f2..f1f0f8d 100644
--- a/include/netlink/route/tc.h
+++ b/include/netlink/route/tc.h
@@ -97,6 +97,8 @@ extern uint32_t rtnl_tc_get_parent(struct rtnl_tc *);
extern int rtnl_tc_set_kind(struct rtnl_tc *, const char *);
extern char * rtnl_tc_get_kind(struct rtnl_tc *);
extern uint64_t rtnl_tc_get_stat(struct rtnl_tc *, enum rtnl_tc_stat);
+extern char * rtnl_tc_stat2str(enum rtnl_tc_stat, char *, size_t);
+extern int rtnl_tc_str2stat(const char *);
extern int rtnl_tc_calc_txtime(int, int);
extern int rtnl_tc_calc_bufsize(int, int);