Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c87 struct nstoken { struct
136 static struct nstoken *open_netns(const char *name) in open_netns()
141 struct nstoken *token; in open_netns()
143 token = malloc(sizeof(struct nstoken)); in open_netns()
166 static void close_netns(struct nstoken *token) in close_netns()
254 struct nstoken *nstoken = NULL; in netns_setup_links_and_routes() local
279 nstoken = open_netns(NS_SRC); in netns_setup_links_and_routes()
280 if (!ASSERT_OK_PTR(nstoken, "setns src")) in netns_setup_links_and_routes()
296 close_netns(nstoken); in netns_setup_links_and_routes()
299 nstoken = open_netns(NS_FWD); in netns_setup_links_and_routes()
[all …]