Searched refs:netns_obj (Results 1 – 14 of 14) sorted by relevance
735 struct netns_obj { struct757 struct netns_obj *netns_new(const char *nsname, bool open) in netns_new() argument759 struct netns_obj *netns_obj = malloc(sizeof(*netns_obj)); in netns_new() local763 if (!netns_obj) in netns_new()765 memset(netns_obj, 0, sizeof(*netns_obj)); in netns_new()767 netns_obj->nsname = strdup(nsname); in netns_new()768 if (!netns_obj->nsname) in netns_new()781 netns_obj->tmon = traffic_monitor_start(nsname, test_name, subtest_name); in netns_new()782 if (!netns_obj->tmon) { in netns_new()787 netns_obj->tmon = NULL; in netns_new()[all …]
501 struct netns_obj;502 struct netns_obj *netns_new(const char *name, bool open);503 void netns_free(struct netns_obj *netns);
33 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()
193 struct netns_obj *netns = NULL; in test_base()309 struct netns_obj *netns = NULL; in test_mptcpify()401 struct netns_obj *netns; in test_subflow()537 struct netns_obj *netns; in test_mptcp_sockmap()
209 struct netns_obj *rx_ns = NULL, *tx_ns = NULL; in test_xdp_context_veth()300 struct netns_obj *ns = NULL; in test_tuntap()365 struct netns_obj *ns = NULL; in test_tuntap_mirred()
178 struct netns_obj *netns = NULL; in test_default_qdisc_attach_to_mq()
152 struct netns_obj *ns; in test_tcp()
73 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()
707 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()
269 struct netns_obj *ns[NS_NB];
404 struct netns_obj *ns; in test_sock_post_bind()
21 static struct netns_obj *test_netns;
728 struct netns_obj *ns;
787 struct netns_obj *netns; in test_config()