Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c91 struct netns_obj **ns_obj = netns_objs; in netns_setup_namespaces() local
96 *ns_obj = netns_new(*ns, false); in netns_setup_namespaces()
97 if (!ASSERT_OK_PTR(*ns_obj, "netns_new")) in netns_setup_namespaces()
100 if (!ASSERT_OK_PTR(*ns_obj, "netns_obj is NULL")) in netns_setup_namespaces()
102 netns_free(*ns_obj); in netns_setup_namespaces()
103 *ns_obj = NULL; in netns_setup_namespaces()
106 ns_obj++; in netns_setup_namespaces()
113 struct netns_obj **ns_obj = netns_objs; in netns_setup_namespaces_nofail() local
118 *ns_obj = netns_new(*ns, false); in netns_setup_namespaces_nofail()
120 if (*ns_obj) in netns_setup_namespaces_nofail()
[all …]