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