summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2015-03-04 06:05:34 (GMT)
committerThomas Haller <thaller@redhat.com>2015-03-04 19:31:37 (GMT)
commitd8f080d94fa9cf5e977f8805446ac7ef39f82d31 (patch)
tree172d57eea702c30ee11f36ca6b1bf41686d3df82 /include
parent337af717202e580a1f171c58ef0e33a196d52c73 (diff)
downloadlibnl-d8f080d94fa9cf5e977f8805446ac7ef39f82d31.zip
libnl-d8f080d94fa9cf5e977f8805446ac7ef39f82d31.tar.gz
libnl-d8f080d94fa9cf5e977f8805446ac7ef39f82d31.tar.bz2
cls: add rtnl_u32_get_classid() API
[thaller@redhat.com: modified patch to use rtnl_tc_data_peek()] http://lists.infradead.org/pipermail/libnl/2015-March/001841.html 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/cls/u32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/route/cls/u32.h b/include/netlink/route/cls/u32.h
index 4567e16..151c818 100644
--- a/include/netlink/route/cls/u32.h
+++ b/include/netlink/route/cls/u32.h
@@ -23,6 +23,7 @@ extern "C" {
extern void rtnl_u32_set_handle(struct rtnl_cls *, int, int, int);
extern int rtnl_u32_set_classid(struct rtnl_cls *, uint32_t);
+extern int rtnl_u32_get_classid(struct rtnl_cls *, uint32_t *);
extern int rtnl_u32_set_divisor(struct rtnl_cls *, uint32_t);
extern int rtnl_u32_set_link(struct rtnl_cls *, uint32_t);
extern int rtnl_u32_set_hashtable(struct rtnl_cls *, uint32_t);