IFLA_PROTO_DOWN_REASON_VALUE
if (nla_put_u32(skb, IFLA_PROTO_DOWN_REASON_VALUE, preason)) {
static const struct nla_policy ifla_proto_down_reason_policy[IFLA_PROTO_DOWN_REASON_VALUE + 1] = {
[IFLA_PROTO_DOWN_REASON_VALUE] = { .type = NLA_U32 },
if (!pdreason[IFLA_PROTO_DOWN_REASON_VALUE]) {
value = nla_get_u32(pdreason[IFLA_PROTO_DOWN_REASON_VALUE]);