Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
A Dtest_progs.c733 struct netns_obj { struct
757 struct netns_obj *netns_obj = malloc(sizeof(*netns_obj)); in netns_new() local
761 if (!netns_obj) in netns_new()
763 memset(netns_obj, 0, sizeof(*netns_obj)); in netns_new()
766 if (!netns_obj->nsname) in netns_new()
780 if (!netns_obj->tmon) { in netns_new()
794 return netns_obj; in netns_new()
799 free(netns_obj); in netns_new()
808 void netns_free(struct netns_obj *netns_obj) in netns_free() argument
810 if (!netns_obj) in netns_free()
[all …]
A Dtest_progs.h500 struct netns_obj;
501 struct netns_obj *netns_new(const char *name, bool open);
502 void netns_free(struct netns_obj *netns);
/tools/testing/selftests/bpf/prog_tests/
A Dbtf_skc_cls_ingress.c33 static struct netns_obj *prepare_netns(struct test_btf_skc_cls_ingress *skel) in prepare_netns()
38 struct netns_obj *ns = NULL; in prepare_netns()
252 struct netns_obj *ns; in test_btf_skc_cls_ingress()
A Dmptcp.c191 struct netns_obj *netns = NULL; in test_base()
307 struct netns_obj *netns = NULL; in test_mptcpify()
399 struct netns_obj *netns; in test_subflow()
A Dxdp_context_test_run.c179 struct netns_obj *rx_ns = NULL, *tx_ns = NULL; in test_xdp_context_veth()
264 struct netns_obj *ns = NULL; in test_xdp_context_tuntap()
A Dbpf_qdisc.c178 struct netns_obj *netns = NULL; in test_default_qdisc_attach_to_mq()
A Dnet_timestamping.c152 struct netns_obj *ns; in test_tcp()
A Dxdp_do_redirect.c269 struct netns_obj *ns[NS_NB];
A Dsock_post_bind.c404 struct netns_obj *ns; in test_sock_post_bind()
A Dflow_dissector.c707 struct netns_obj *ns; in test_flow_dissector_skb_less_direct_attach()
755 struct netns_obj *ns; in test_flow_dissector_skb_less_indirect_attach()
A Dtc_redirect.c73 static struct netns_obj *netns_objs[3];
93 struct netns_obj **ns_obj = netns_objs; in netns_setup_namespaces()
115 struct netns_obj **ns_obj = netns_objs; in netns_setup_namespaces_nofail()
A Dflow_dissector_classification.c728 struct netns_obj *ns;
A Dselect_reuseport.c786 struct netns_obj *netns; in test_config()

Completed in 978 milliseconds