if (!(b->b_mask & BASIC_ATTR_ACTION))
return NULL;
- struct rtnl_act* act = b->b_act;
- rtnl_act_get(act);
- return act;
+ return b->b_act;
}
int rtnl_basic_del_action(struct rtnl_cls *cls, struct rtnl_act *act)
if (!(u->cu_mask & U32_ATTR_ACTION))
return NULL;
- struct rtnl_act* act = u->cu_act;
- rtnl_act_get(act);
- return act;
+ return u->cu_act;
}
int rtnl_u32_del_action(struct rtnl_cls *cls, struct rtnl_act *act)
rtnl_u32_add_key_uint16;
rtnl_u32_add_key_uint32;
rtnl_u32_add_key_uint8;
- rtnl_u32_get_action;
rtnl_u32_del_action;
+ rtnl_u32_get_action;
rtnl_u32_get_key;
rtnl_u32_set_classid;
rtnl_u32_set_cls_terminal;