Home
last modified time | relevance | path

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

/net/bridge/
Dbr_netlink.c362 struct nlattr *protinfo; in br_setlink() local
368 protinfo = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_PROTINFO); in br_setlink()
370 if (!protinfo && !afspec) in br_setlink()
380 if (p && protinfo) { in br_setlink()
381 if (protinfo->nla_type & NLA_F_NESTED) { in br_setlink()
383 protinfo, br_port_policy); in br_setlink()
392 if (nla_len(protinfo) < sizeof(u8)) in br_setlink()
396 err = br_set_port_state(p, nla_get_u8(protinfo)); in br_setlink()