Lines Matching defs:tc

61 int rtnl_tc_msg_parse(struct nlmsghdr *n, struct rtnl_tc *tc)  in rtnl_tc_msg_parse()
193 int rtnl_tc_msg_build(struct rtnl_tc *tc, int type, int flags, in rtnl_tc_msg_build()
265 void rtnl_tc_set_ifindex(struct rtnl_tc *tc, int ifindex) in rtnl_tc_set_ifindex()
280 int rtnl_tc_get_ifindex(struct rtnl_tc *tc) in rtnl_tc_get_ifindex()
297 void rtnl_tc_set_link(struct rtnl_tc *tc, struct rtnl_link *link) in rtnl_tc_set_link()
328 struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *tc) in rtnl_tc_get_link()
351 void rtnl_tc_set_mtu(struct rtnl_tc *tc, uint32_t mtu) in rtnl_tc_set_mtu()
366 uint32_t rtnl_tc_get_mtu(struct rtnl_tc *tc) in rtnl_tc_get_mtu()
386 void rtnl_tc_set_mpu(struct rtnl_tc *tc, uint32_t mpu) in rtnl_tc_set_mpu()
398 uint32_t rtnl_tc_get_mpu(struct rtnl_tc *tc) in rtnl_tc_get_mpu()
415 void rtnl_tc_set_overhead(struct rtnl_tc *tc, uint32_t overhead) in rtnl_tc_set_overhead()
427 uint32_t rtnl_tc_get_overhead(struct rtnl_tc *tc) in rtnl_tc_get_overhead()
443 void rtnl_tc_set_linktype(struct rtnl_tc *tc, uint32_t type) in rtnl_tc_set_linktype()
458 uint32_t rtnl_tc_get_linktype(struct rtnl_tc *tc) in rtnl_tc_get_linktype()
473 void rtnl_tc_set_handle(struct rtnl_tc *tc, uint32_t id) in rtnl_tc_set_handle()
483 uint32_t rtnl_tc_get_handle(struct rtnl_tc *tc) in rtnl_tc_get_handle()
494 void rtnl_tc_set_parent(struct rtnl_tc *tc, uint32_t parent) in rtnl_tc_set_parent()
504 uint32_t rtnl_tc_get_parent(struct rtnl_tc *tc) in rtnl_tc_get_parent()
516 int rtnl_tc_set_kind(struct rtnl_tc *tc, const char *kind) in rtnl_tc_set_kind()
536 char *rtnl_tc_get_kind(struct rtnl_tc *tc) in rtnl_tc_get_kind()
551 uint64_t rtnl_tc_get_stat(struct rtnl_tc *tc, enum rtnl_tc_stat id) in rtnl_tc_get_stat()
691 int rtnl_tc_build_rate_table(struct rtnl_tc *tc, struct rtnl_ratespec *spec, in rtnl_tc_build_rate_table()
735 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_free_data() local
795 static int tc_dump(struct rtnl_tc *tc, enum nl_dump_type type, in tc_dump()
818 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_line() local
852 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_details() local
874 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_stats() local
946 struct rtnl_tc_ops *rtnl_tc_get_ops(struct rtnl_tc *tc) in rtnl_tc_get_ops()
1006 void *rtnl_tc_data(struct rtnl_tc *tc) in rtnl_tc_data()
1043 void *rtnl_tc_data_check(struct rtnl_tc *tc, struct rtnl_tc_ops *ops) in rtnl_tc_data_check()