Searched refs:old_net (Results 1 - 5 of 5) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector_reattach.c | 72 static int unshare_net(int old_net) argument 84 setns(old_net, CLONE_NEWNET); 440 int err, link, old_net; local 442 old_net = netns; 443 netns = unshare_net(old_net); 455 err = setns(old_net, CLONE_NEWNET); 480 int err, link, old_net; local 482 old_net = netns; 483 netns = unshare_net(old_net); 539 err = setns(old_net, CLONE_NEWNE [all...] |
/linux-master/include/net/ |
H A D | net_namespace.h | 200 struct net *old_net); 212 struct user_namespace *user_ns, struct net *old_net) 216 return old_net; 211 copy_net_ns(unsigned long flags, struct user_namespace *user_ns, struct net *old_net) argument
|
/linux-master/net/core/ |
H A D | net_namespace.c | 477 struct user_namespace *user_ns, struct net *old_net) 484 return get_net(old_net); 476 copy_net_ns(unsigned long flags, struct user_namespace *user_ns, struct net *old_net) argument
|
/linux-master/net/ipv4/ |
H A D | tcp_ipv4.c | 3373 struct net *old_net; local 3378 old_net = current->nsproxy->net_ns; 3379 ehash_entries = READ_ONCE(old_net->ipv4.sysctl_tcp_child_ehash_entries);
|
H A D | udp.c | 3509 struct net *old_net; 3514 old_net = current->nsproxy->net_ns; 3515 hash_entries = READ_ONCE(old_net->ipv4.sysctl_udp_child_hash_entries); 3508 struct net *old_net; local
|
Completed in 223 milliseconds