Searched refs:protinfo (Results 1 – 2 of 2) sorted by relevance
1090 struct nlattr *protinfo; in br_setlink() local1095 protinfo = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_PROTINFO); in br_setlink()1097 if (!protinfo && !afspec) in br_setlink()1107 if (p && protinfo) { in br_setlink()1108 if (protinfo->nla_type & NLA_F_NESTED) { in br_setlink()1110 protinfo, in br_setlink()1121 if (nla_len(protinfo) < sizeof(u8)) in br_setlink()1125 err = br_set_port_state(p, nla_get_u8(protinfo)); in br_setlink()
4875 struct nlattr *protinfo; in ndo_dflt_bridge_getlink() local4928 protinfo = nla_nest_start(skb, IFLA_PROTINFO); in ndo_dflt_bridge_getlink()4929 if (!protinfo) in ndo_dflt_bridge_getlink()4953 nla_nest_cancel(skb, protinfo); in ndo_dflt_bridge_getlink()4957 nla_nest_end(skb, protinfo); in ndo_dflt_bridge_getlink()