diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/cli/tc.h | 2 | ||||
-rw-r--r-- | include/netlink/route/tc.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/netlink/cli/tc.h b/include/netlink/cli/tc.h index 762cc69..82f9a1d 100644 --- a/include/netlink/cli/tc.h +++ b/include/netlink/cli/tc.h @@ -16,7 +16,7 @@ extern void nl_cli_tc_parse_dev(struct rtnl_tc *, struct nl_cache *, char *); extern void nl_cli_tc_parse_parent(struct rtnl_tc *, char *); -extern void nl_cli_tc_parse_handle(struct rtnl_tc *, char *); +extern void nl_cli_tc_parse_handle(struct rtnl_tc *, char *, int); extern void nl_cli_tc_parse_mtu(struct rtnl_tc *, char *); extern void nl_cli_tc_parse_mpu(struct rtnl_tc *, char *); extern void nl_cli_tc_parse_overhead(struct rtnl_tc *, char *); diff --git a/include/netlink/route/tc.h b/include/netlink/route/tc.h index b4e953e..f1e8605 100644 --- a/include/netlink/route/tc.h +++ b/include/netlink/route/tc.h @@ -66,6 +66,8 @@ extern int rtnl_tc_calc_cell_log(int); 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 *); +extern int rtnl_classid_generate(const char *, uint32_t *, + uint32_t); #ifdef __cplusplus } |