Home
last modified time | relevance | path

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

/Linux-v6.6/net/bridge/
Dbr_netlink.c1090 struct nlattr *protinfo; in br_setlink() local
1095 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()
/Linux-v6.6/net/core/
Drtnetlink.c4875 struct nlattr *protinfo; in ndo_dflt_bridge_getlink() local
4928 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()