Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmptcp.c200 netns = netns_new(NS_TEST, true); in test_base()
316 netns = netns_new(NS_TEST, true); in test_mptcpify()
424 netns = netns_new(NS_TEST, true); in test_subflow()
559 netns = netns_new(NS_TEST, true); in test_mptcp_sockmap()
H A Dxdp_context_test_run.c216 tx_ns = netns_new(TX_NETNS, false); in test_xdp_context_veth()
220 rx_ns = netns_new(RX_NETNS, false); in test_xdp_context_veth()
307 ns = netns_new(TAP_NETNS, true); in test_tuntap()
373 ns = netns_new(TAP_NETNS, true); in test_tuntap_mirred()
H A Dxdp_do_redirect.c305 data->ns[0] = netns_new(NS0, false); in ping_setup()
313 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 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.c98 *ns_obj = netns_new(*ns, false); in netns_setup_namespaces()
120 *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.c803 netns = netns_new("select_reuseport", true); in test_config()
804 if (!ASSERT_OK_PTR(netns, "netns_new")) in test_config()
/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h503 struct netns_obj *netns_new(const char *name, bool open);
H A Dtest_progs.c784 struct netns_obj *netns_new(const char *nsname, bool open) in netns_new() function
1431 ns = netns_new(test->test_name, true); in run_one_test()