Lines Matching defs:tc

65 int rtnl_tc_msg_parse(struct nlmsghdr *n, struct rtnl_tc *tc)  in rtnl_tc_msg_parse()
201 int rtnl_tc_msg_build(struct rtnl_tc *tc, int type, int flags, in rtnl_tc_msg_build()
279 void rtnl_tc_set_ifindex(struct rtnl_tc *tc, int ifindex) in rtnl_tc_set_ifindex()
294 int rtnl_tc_get_ifindex(struct rtnl_tc *tc) in rtnl_tc_get_ifindex()
311 void rtnl_tc_set_link(struct rtnl_tc *tc, struct rtnl_link *link) in rtnl_tc_set_link()
342 struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *tc) in rtnl_tc_get_link()
365 void rtnl_tc_set_mtu(struct rtnl_tc *tc, uint32_t mtu) in rtnl_tc_set_mtu()
380 uint32_t rtnl_tc_get_mtu(struct rtnl_tc *tc) in rtnl_tc_get_mtu()
400 void rtnl_tc_set_mpu(struct rtnl_tc *tc, uint32_t mpu) in rtnl_tc_set_mpu()
412 uint32_t rtnl_tc_get_mpu(struct rtnl_tc *tc) in rtnl_tc_get_mpu()
429 void rtnl_tc_set_overhead(struct rtnl_tc *tc, uint32_t overhead) in rtnl_tc_set_overhead()
441 uint32_t rtnl_tc_get_overhead(struct rtnl_tc *tc) in rtnl_tc_get_overhead()
457 void rtnl_tc_set_linktype(struct rtnl_tc *tc, uint32_t type) in rtnl_tc_set_linktype()
472 uint32_t rtnl_tc_get_linktype(struct rtnl_tc *tc) in rtnl_tc_get_linktype()
487 void rtnl_tc_set_handle(struct rtnl_tc *tc, uint32_t id) in rtnl_tc_set_handle()
497 uint32_t rtnl_tc_get_handle(struct rtnl_tc *tc) in rtnl_tc_get_handle()
508 void rtnl_tc_set_parent(struct rtnl_tc *tc, uint32_t parent) in rtnl_tc_set_parent()
518 uint32_t rtnl_tc_get_parent(struct rtnl_tc *tc) in rtnl_tc_get_parent()
530 int rtnl_tc_set_kind(struct rtnl_tc *tc, const char *kind) in rtnl_tc_set_kind()
555 char *rtnl_tc_get_kind(struct rtnl_tc *tc) in rtnl_tc_get_kind()
570 uint64_t rtnl_tc_get_stat(struct rtnl_tc *tc, enum rtnl_tc_stat id) in rtnl_tc_get_stat()
584 void rtnl_tc_set_chain(struct rtnl_tc *tc, uint32_t chain) in rtnl_tc_set_chain()
598 int rtnl_tc_get_chain(struct rtnl_tc *tc, uint32_t *out_value) in rtnl_tc_get_chain()
752 int rtnl_tc_build_rate_table(struct rtnl_tc *tc, struct rtnl_ratespec *spec, in rtnl_tc_build_rate_table()
796 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_free_data() local
864 static int tc_dump(struct rtnl_tc *tc, enum nl_dump_type type, in tc_dump()
887 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_line() local
921 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_details() local
943 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_stats() local
1009 struct rtnl_tc_ops *rtnl_tc_get_ops(struct rtnl_tc *tc) in rtnl_tc_get_ops()
1068 void *rtnl_tc_data_peek(struct rtnl_tc *tc) in rtnl_tc_data_peek()
1082 void *rtnl_tc_data(struct rtnl_tc *tc) in rtnl_tc_data()
1117 void *rtnl_tc_data_check(struct rtnl_tc *tc, struct rtnl_tc_ops *ops, int *err) in rtnl_tc_data_check()