diff options
author | Thomas Graf <tgr@plip.localdomain> | 2008-10-15 11:01:46 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@plip.localdomain> | 2008-10-15 11:01:46 (GMT) |
commit | f42f195a80ffb7a5dcc355a56b8fe229692718e5 (patch) | |
tree | 0db5805fa800323d190f9001cbe8ed0f56ae19d5 /include | |
parent | 5d92f9c03d85cefee5afe7f40d7ea69dfde4cf77 (diff) | |
download | libnl-f42f195a80ffb7a5dcc355a56b8fe229692718e5.zip libnl-f42f195a80ffb7a5dcc355a56b8fe229692718e5.tar.gz libnl-f42f195a80ffb7a5dcc355a56b8fe229692718e5.tar.bz2 |
Error handling for rtnl_cls_set_kind() & addition of rtnl_cls_get_ops()
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/classifier.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/netlink/route/classifier.h b/include/netlink/route/classifier.h index 01a26a9..b434000 100644 --- a/include/netlink/route/classifier.h +++ b/include/netlink/route/classifier.h @@ -42,7 +42,8 @@ extern int rtnl_cls_delete(struct nl_sock *, struct rtnl_cls *, int); extern void rtnl_cls_set_ifindex(struct rtnl_cls *, int); extern void rtnl_cls_set_handle(struct rtnl_cls *, uint32_t); extern void rtnl_cls_set_parent(struct rtnl_cls *, uint32_t); -extern void rtnl_cls_set_kind(struct rtnl_cls *, const char *); +extern int rtnl_cls_set_kind(struct rtnl_cls *, const char *); +extern struct rtnl_cls_ops *rtnl_cls_get_ops(struct rtnl_cls *); extern void rtnl_cls_set_prio(struct rtnl_cls *, uint16_t); extern uint16_t rtnl_cls_get_prio(struct rtnl_cls *); |