Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bridge/
Dbr_netlink.c914 struct nlattr *afspec; in br_setlink() local
919 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in br_setlink()
920 if (!protinfo && !afspec) in br_setlink()
927 if (!p && !afspec) in br_setlink()
956 if (afspec) in br_setlink()
957 err = br_afspec(br, p, afspec, RTM_SETLINK, &changed, extack); in br_setlink()
970 struct nlattr *afspec; in br_dellink() local
974 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in br_dellink()
975 if (!afspec) in br_dellink()
983 err = br_afspec(br, p, afspec, RTM_DELLINK, &changed, NULL); in br_dellink()