Searched refs:netnsid (Results 1 – 3 of 3) sorted by relevance
/net/ipv4/ |
D | devinet.c | 112 int netnsid; member 1668 if (args->netnsid >= 0 && in inet_fill_ifaddr() 1669 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) in inet_fill_ifaddr() 1755 fillargs->netnsid = nla_get_s32(tb[i]); in inet_valid_dump_ifaddr_req() 1757 net = rtnl_get_net_ns_capable(sk, fillargs->netnsid); in inet_valid_dump_ifaddr_req() 1759 fillargs->netnsid = -1; in inet_valid_dump_ifaddr_req() 1824 .netnsid = -1, in inet_dump_ifaddr() 1893 if (fillargs.netnsid >= 0) in inet_dump_ifaddr() 1907 .netnsid = -1, in rtmsg_ifa()
|
/net/core/ |
D | rtnetlink.c | 1999 struct net *rtnl_get_net_ns_capable(struct sock *sk, int netnsid) in rtnl_get_net_ns_capable() argument 2003 net = get_net_ns_by_id(sock_net(sk), netnsid); in rtnl_get_net_ns_capable() 2077 int netnsid = -1; in rtnl_dump_ifinfo() local 2098 netnsid = nla_get_s32(tb[i]); in rtnl_dump_ifinfo() 2099 tgt_net = rtnl_get_net_ns_capable(skb->sk, netnsid); in rtnl_dump_ifinfo() 2139 netnsid, GFP_KERNEL); in rtnl_dump_ifinfo() 2158 if (netnsid >= 0) in rtnl_dump_ifinfo() 3093 int netnsid = -1; in rtnl_dellink() local 3105 netnsid = nla_get_s32(tb[IFLA_TARGET_NETNSID]); in rtnl_dellink() 3106 tgt_net = rtnl_get_net_ns_capable(NETLINK_CB(skb).sk, netnsid); in rtnl_dellink() [all …]
|
/net/ipv6/ |
D | addrconf.c | 5028 int netnsid; member 5047 if (args->netnsid >= 0 && in inet6_fill_ifaddr() 5048 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) in inet6_fill_ifaddr() 5116 if (args->netnsid >= 0 && in inet6_fill_ifmcaddr() 5117 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) { in inet6_fill_ifmcaddr() 5150 if (args->netnsid >= 0 && in inet6_fill_ifacaddr() 5151 nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) { in inet6_fill_ifacaddr() 5269 fillargs->netnsid = nla_get_s32(tb[i]); in inet6_valid_dump_ifaddr_req() 5270 net = rtnl_get_net_ns_capable(sk, fillargs->netnsid); in inet6_valid_dump_ifaddr_req() 5272 fillargs->netnsid = -1; in inet6_valid_dump_ifaddr_req() [all …]
|