Lines Matching refs:linkinfo
682 struct nlattr *linkinfo; in rtnl_link_fill() local
685 linkinfo = nla_nest_start_noflag(skb, IFLA_LINKINFO); in rtnl_link_fill()
686 if (linkinfo == NULL) in rtnl_link_fill()
697 nla_nest_end(skb, linkinfo); in rtnl_link_fill()
701 nla_nest_cancel(skb, linkinfo); in rtnl_link_fill()
3023 struct nlattr *linkinfo[IFLA_INFO_MAX + 1]; in __rtnl_newlink() local
3076 err = nla_parse_nested_deprecated(linkinfo, IFLA_INFO_MAX, in __rtnl_newlink()
3082 memset(linkinfo, 0, sizeof(linkinfo)); in __rtnl_newlink()
3084 if (linkinfo[IFLA_INFO_KIND]) { in __rtnl_newlink()
3085 nla_strlcpy(kind, linkinfo[IFLA_INFO_KIND], sizeof(kind)); in __rtnl_newlink()
3097 if (ops->maxtype && linkinfo[IFLA_INFO_DATA]) { in __rtnl_newlink()
3099 linkinfo[IFLA_INFO_DATA], in __rtnl_newlink()
3118 linkinfo[IFLA_INFO_SLAVE_DATA]) { in __rtnl_newlink()
3121 linkinfo[IFLA_INFO_SLAVE_DATA], in __rtnl_newlink()
3138 if (linkinfo[IFLA_INFO_DATA]) { in __rtnl_newlink()
3149 if (linkinfo[IFLA_INFO_SLAVE_DATA]) { in __rtnl_newlink()