Searched refs:IFLA_AMT_MODE (Results 1 – 2 of 2) sorted by relevance
27 IFLA_AMT_MODE, enumerator
3120 [IFLA_AMT_MODE] = { .type = NLA_U32 },3142 if (!data[IFLA_AMT_MODE]) { in amt_validate()3143 NL_SET_ERR_MSG_ATTR(extack, data[IFLA_AMT_MODE], in amt_validate()3148 if (nla_get_u32(data[IFLA_AMT_MODE]) > AMT_MODE_MAX) { in amt_validate()3149 NL_SET_ERR_MSG_ATTR(extack, data[IFLA_AMT_MODE], in amt_validate()3161 nla_get_u32(data[IFLA_AMT_MODE]) == AMT_MODE_GATEWAY) { in amt_validate()3178 amt->mode = nla_get_u32(data[IFLA_AMT_MODE]); in amt_newlink()3315 if (nla_put_u32(skb, IFLA_AMT_MODE, amt->mode)) in amt_fill_info()