Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector_reattach.c72 static int unshare_net(int old_net) in unshare_net() argument
84 setns(old_net, CLONE_NEWNET); in unshare_net()
440 int err, link, old_net; in test_link_update_netns_gone() local
442 old_net = netns; in test_link_update_netns_gone()
443 netns = unshare_net(old_net); in test_link_update_netns_gone()
480 int err, link, old_net; in test_link_get_info() local
482 old_net = netns; in test_link_get_info()
483 netns = unshare_net(old_net); in test_link_get_info()
545 old_net = -1; in test_link_get_info()
566 if (old_net != -1) in test_link_get_info()
[all …]
/linux/include/net/
A Dnet_namespace.h188 struct net *old_net);
200 struct user_namespace *user_ns, struct net *old_net) in copy_net_ns() argument
204 return old_net; in copy_net_ns()
/linux/net/core/
A Dnet_namespace.c444 struct user_namespace *user_ns, struct net *old_net) in copy_net_ns() argument
451 return get_net(old_net); in copy_net_ns()

Completed in 8 milliseconds