Home
last modified time | relevance | path

Searched refs:nla_action (Results 1 – 1 of 1) sorted by relevance

/external/iproute2/devlink/
Ddevlink.c3116 struct nlattr *nla_action[DEVLINK_ATTR_MAX + 1] = {}; in dpipe_action_parse() local
3119 err = mnl_attr_parse_nested(nl, attr_cb, nla_action); in dpipe_action_parse()
3123 if (!nla_action[DEVLINK_ATTR_DPIPE_ACTION_TYPE] || in dpipe_action_parse()
3124 !nla_action[DEVLINK_ATTR_DPIPE_HEADER_INDEX] || in dpipe_action_parse()
3125 !nla_action[DEVLINK_ATTR_DPIPE_HEADER_ID] || in dpipe_action_parse()
3126 !nla_action[DEVLINK_ATTR_DPIPE_FIELD_ID]) { in dpipe_action_parse()
3130 action->type = mnl_attr_get_u32(nla_action[DEVLINK_ATTR_DPIPE_ACTION_TYPE]); in dpipe_action_parse()
3131 action->info.header_id = mnl_attr_get_u32(nla_action[DEVLINK_ATTR_DPIPE_HEADER_ID]); in dpipe_action_parse()
3132 action->info.field_id = mnl_attr_get_u32(nla_action[DEVLINK_ATTR_DPIPE_FIELD_ID]); in dpipe_action_parse()
3133 action->info.header_global = !!mnl_attr_get_u8(nla_action[DEVLINK_ATTR_DPIPE_HEADER_GLOBAL]); in dpipe_action_parse()
[all …]