Home
last modified time | relevance | path

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

/Linux-v6.6/net/core/
Drtnetlink.c2694 struct nlattr *pdreason[IFLA_PROTO_DOWN_REASON_MAX + 1]; in do_set_proto_down() local
2706 err = nla_parse_nested_deprecated(pdreason, in do_set_proto_down()
2714 if (!pdreason[IFLA_PROTO_DOWN_REASON_VALUE]) { in do_set_proto_down()
2719 value = nla_get_u32(pdreason[IFLA_PROTO_DOWN_REASON_VALUE]); in do_set_proto_down()
2721 if (pdreason[IFLA_PROTO_DOWN_REASON_MASK]) in do_set_proto_down()
2722 mask = nla_get_u32(pdreason[IFLA_PROTO_DOWN_REASON_MASK]); in do_set_proto_down()