Home
last modified time | relevance | path

Searched refs:netns_new (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_context_test_run.c186 tx_ns = netns_new(TX_NETNS, false); in test_xdp_context_veth()
190 rx_ns = netns_new(RX_NETNS, false); in test_xdp_context_veth()
271 ns = netns_new(TAP_NETNS, true); in test_xdp_context_tuntap()
H A Dmptcp.c198 netns = netns_new(NS_TEST, true); in test_base()
314 netns = netns_new(NS_TEST, true); in test_mptcpify()
422 netns = netns_new(NS_TEST, true); in test_subflow()
H A Dxdp_do_redirect.c296 data->ns[0] = netns_new(NS0, false); in ping_setup()
304 data->ns[i] = netns_new(ns_name, false); in ping_setup()
H A Dnet_timestamping.c160 ns = netns_new("net_timestamping_ns", true); in test_tcp()
H A Dbtf_skc_cls_ingress.c40 ns = netns_new(TEST_NS, true); in prepare_netns()
H A Dsock_post_bind.c412 ns = netns_new(TEST_NS, true); in test_sock_post_bind()
H A Dflow_dissector.c709 ns = netns_new("flow_dissector_skb_less_indirect_attach_ns", true); in test_flow_dissector_skb_less_direct_attach()
757 ns = netns_new("flow_dissector_skb_less_indirect_attach_ns", true); in test_flow_dissector_skb_less_indirect_attach()
H A Dtc_redirect.c96 *ns_obj = netns_new(*ns, false); in netns_setup_namespaces()
118 *ns_obj = netns_new(*ns, false); in netns_setup_namespaces_nofail()
H A Dflow_dissector_classification.c740 ctx->ns = netns_new("flow_dissector_classification", true); in test_global_init()
H A Dselect_reuseport.c802 netns = netns_new("select_reuseport", true); in test_config()
H A Dsockmap_listen.c1848 netns = netns_new("sockmap_listen", true); in test_udp_unix_redir()
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_progs.h473 struct netns_obj *netns_new(const char *name, bool open);
H A Dtest_progs.c755 struct netns_obj *netns_new(const char *nsname, bool open) in netns_new() function
1388 ns = netns_new(test->test_name, true); in run_one_test()