Lines Matching refs:rtnl_tc
46 struct rtnl_tc;
56 #define TC_CAST(ptr) ((struct rtnl_tc *) (ptr))
81 extern void rtnl_tc_set_ifindex(struct rtnl_tc *, int);
82 extern int rtnl_tc_get_ifindex(struct rtnl_tc *);
83 extern void rtnl_tc_set_link(struct rtnl_tc *, struct rtnl_link *);
84 extern struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *);
85 extern void rtnl_tc_set_mtu(struct rtnl_tc *, uint32_t);
86 extern uint32_t rtnl_tc_get_mtu(struct rtnl_tc *);
87 extern void rtnl_tc_set_mpu(struct rtnl_tc *, uint32_t);
88 extern uint32_t rtnl_tc_get_mpu(struct rtnl_tc *);
89 extern void rtnl_tc_set_overhead(struct rtnl_tc *, uint32_t);
90 extern uint32_t rtnl_tc_get_overhead(struct rtnl_tc *);
91 extern void rtnl_tc_set_linktype(struct rtnl_tc *, uint32_t);
92 extern uint32_t rtnl_tc_get_linktype(struct rtnl_tc *);
93 extern void rtnl_tc_set_handle(struct rtnl_tc *, uint32_t);
94 extern uint32_t rtnl_tc_get_handle(struct rtnl_tc *);
95 extern void rtnl_tc_set_parent(struct rtnl_tc *, uint32_t);
96 extern uint32_t rtnl_tc_get_parent(struct rtnl_tc *);
97 extern int rtnl_tc_set_kind(struct rtnl_tc *, const char *);
98 extern char * rtnl_tc_get_kind(struct rtnl_tc *);
99 extern uint64_t rtnl_tc_get_stat(struct rtnl_tc *, enum rtnl_tc_stat);