Lines Matching refs:netnsid
1991 struct net *rtnl_get_net_ns_capable(struct sock *sk, int netnsid) in rtnl_get_net_ns_capable() argument
1995 net = get_net_ns_by_id(sock_net(sk), netnsid); in rtnl_get_net_ns_capable()
2069 int netnsid = -1; in rtnl_dump_ifinfo() local
2090 netnsid = nla_get_s32(tb[i]); in rtnl_dump_ifinfo()
2091 tgt_net = rtnl_get_net_ns_capable(skb->sk, netnsid); in rtnl_dump_ifinfo()
2131 netnsid, GFP_KERNEL); in rtnl_dump_ifinfo()
2150 if (netnsid >= 0) in rtnl_dump_ifinfo()
3070 int netnsid = -1; in rtnl_dellink() local
3082 netnsid = nla_get_s32(tb[IFLA_TARGET_NETNSID]); in rtnl_dellink()
3083 tgt_net = rtnl_get_net_ns_capable(NETLINK_CB(skb).sk, netnsid); in rtnl_dellink()
3110 if (netnsid >= 0) in rtnl_dellink()
3562 int netnsid = -1; in rtnl_getlink() local
3575 netnsid = nla_get_s32(tb[IFLA_TARGET_NETNSID]); in rtnl_getlink()
3576 tgt_net = rtnl_get_net_ns_capable(NETLINK_CB(skb).sk, netnsid); in rtnl_getlink()
3606 0, NULL, 0, netnsid, GFP_KERNEL); in rtnl_getlink()
3614 if (netnsid >= 0) in rtnl_getlink()