Lines Matching refs:rtnl_cls
34 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_free_data()
48 struct rtnl_cls *dst = nl_object_priv(_dst); in cls_clone()
49 struct rtnl_cls *src = nl_object_priv(_src); in cls_clone()
74 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_dump_line()
90 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_dump_details()
105 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_dump_stats()
122 struct rtnl_cls *rtnl_cls_alloc(void) in rtnl_cls_alloc()
124 return (struct rtnl_cls *) nl_object_alloc(&cls_obj_ops); in rtnl_cls_alloc()
127 void rtnl_cls_put(struct rtnl_cls *cls) in rtnl_cls_put()
140 void rtnl_cls_set_ifindex(struct rtnl_cls *f, int ifindex) in rtnl_cls_set_ifindex()
145 int rtnl_cls_get_ifindex(struct rtnl_cls *cls) in rtnl_cls_get_ifindex()
150 void rtnl_cls_set_handle(struct rtnl_cls *f, uint32_t handle) in rtnl_cls_set_handle()
155 void rtnl_cls_set_parent(struct rtnl_cls *f, uint32_t parent) in rtnl_cls_set_parent()
160 uint32_t rtnl_cls_get_parent(struct rtnl_cls *cls) in rtnl_cls_get_parent()
165 int rtnl_cls_set_kind(struct rtnl_cls *cls, const char *kind) in rtnl_cls_set_kind()
178 struct rtnl_cls_ops *rtnl_cls_get_ops(struct rtnl_cls *cls) in rtnl_cls_get_ops()
183 void rtnl_cls_set_prio(struct rtnl_cls *cls, uint16_t prio) in rtnl_cls_set_prio()
189 uint16_t rtnl_cls_get_prio(struct rtnl_cls *cls) in rtnl_cls_get_prio()
197 void rtnl_cls_set_protocol(struct rtnl_cls *cls, uint16_t protocol) in rtnl_cls_set_protocol()
203 uint16_t rtnl_cls_get_protocol(struct rtnl_cls *cls) in rtnl_cls_get_protocol()
211 void *rtnl_cls_data(struct rtnl_cls *cls) in rtnl_cls_data()
241 .oo_size = sizeof(struct rtnl_cls),