summaryrefslogtreecommitdiff
path: root/include/netlink/route/tc-api.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-06-09 12:28:04 +0200
committerThomas Graf <tgraf@suug.ch>2011-06-09 12:28:04 +0200
commited69b2a79b8e0b71c230b5e75626aa620a0d5ff9 (patch)
tree569eb67c3b3518108ffc393f8f7f416b8bf78bcb /include/netlink/route/tc-api.h
parent4cb1666fe19f71c09628615a1c4b6f822b7cd8de (diff)
downloadlibnl-ed69b2a79b8e0b71c230b5e75626aa620a0d5ff9.tar.gz
Add rtnl_tc_data_check()
Behaves like rtnl_tc_data() but verifies that the traffic control object is of the expected type.
Diffstat (limited to 'include/netlink/route/tc-api.h')
-rw-r--r--include/netlink/route/tc-api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netlink/route/tc-api.h b/include/netlink/route/tc-api.h
index 8ed940a..d89408f 100644
--- a/include/netlink/route/tc-api.h
+++ b/include/netlink/route/tc-api.h
@@ -124,6 +124,8 @@ extern int rtnl_tc_compare(struct nl_object *,
uint32_t, int);
extern void * rtnl_tc_data(struct rtnl_tc *);
+extern void * rtnl_tc_data_check(struct rtnl_tc *,
+ struct rtnl_tc_ops *);
extern struct rtnl_tc_ops * rtnl_tc_lookup_ops(enum rtnl_tc_type,
const char *);