Home
last modified time | relevance | path

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

/net/core/
Drtnetlink.c597 struct nlattr *linkinfo; in rtnl_link_fill() local
600 linkinfo = nla_nest_start(skb, IFLA_LINKINFO); in rtnl_link_fill()
601 if (linkinfo == NULL) in rtnl_link_fill()
612 nla_nest_end(skb, linkinfo); in rtnl_link_fill()
616 nla_nest_cancel(skb, linkinfo); in rtnl_link_fill()
2208 struct nlattr *linkinfo[IFLA_INFO_MAX+1]; in rtnl_newlink() local
2245 err = nla_parse_nested(linkinfo, IFLA_INFO_MAX, in rtnl_newlink()
2250 memset(linkinfo, 0, sizeof(linkinfo)); in rtnl_newlink()
2252 if (linkinfo[IFLA_INFO_KIND]) { in rtnl_newlink()
2253 nla_strlcpy(kind, linkinfo[IFLA_INFO_KIND], sizeof(kind)); in rtnl_newlink()
[all …]