Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A Drtnetlink.c2723 struct nlattr *pdreason[IFLA_PROTO_DOWN_REASON_MAX + 1]; in do_set_proto_down() local
2735 err = nla_parse_nested_deprecated(pdreason, in do_set_proto_down()
2743 if (!pdreason[IFLA_PROTO_DOWN_REASON_VALUE]) { in do_set_proto_down()
2748 value = nla_get_u32(pdreason[IFLA_PROTO_DOWN_REASON_VALUE]); in do_set_proto_down()
2750 if (pdreason[IFLA_PROTO_DOWN_REASON_MASK]) in do_set_proto_down()
2751 mask = nla_get_u32(pdreason[IFLA_PROTO_DOWN_REASON_MASK]); in do_set_proto_down()