Searched refs:protinfo (Results 1 – 2 of 2) sorted by relevance
783 struct nlattr *protinfo; in br_setlink() local789 protinfo = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_PROTINFO); in br_setlink()791 if (!protinfo && !afspec) in br_setlink()801 if (p && protinfo) { in br_setlink()802 if (protinfo->nla_type & NLA_F_NESTED) { in br_setlink()803 err = nla_parse_nested(tb, IFLA_BRPORT_MAX, protinfo, in br_setlink()813 if (nla_len(protinfo) < sizeof(u8)) in br_setlink()817 err = br_set_port_state(p, nla_get_u8(protinfo)); in br_setlink()
3461 struct nlattr *protinfo; in ndo_dflt_bridge_getlink() local3514 protinfo = nla_nest_start(skb, IFLA_PROTINFO | NLA_F_NESTED); in ndo_dflt_bridge_getlink()3515 if (!protinfo) in ndo_dflt_bridge_getlink()3535 nla_nest_cancel(skb, protinfo); in ndo_dflt_bridge_getlink()3539 nla_nest_end(skb, protinfo); in ndo_dflt_bridge_getlink()