Searched refs:nstoken (Results 1 – 7 of 7) sorted by relevance
173 struct nstoken *nstoken = NULL; in netns_setup_links_and_routes() local198 nstoken = open_netns(NS_SRC); in netns_setup_links_and_routes()199 if (!ASSERT_OK_PTR(nstoken, "setns src")) in netns_setup_links_and_routes()215 close_netns(nstoken); in netns_setup_links_and_routes()218 nstoken = open_netns(NS_FWD); in netns_setup_links_and_routes()219 if (!ASSERT_OK_PTR(nstoken, "setns fwd")) in netns_setup_links_and_routes()236 close_netns(nstoken); in netns_setup_links_and_routes()239 nstoken = open_netns(NS_DST); in netns_setup_links_and_routes()240 if (!ASSERT_OK_PTR(nstoken, "setns dst")) in netns_setup_links_and_routes()254 close_netns(nstoken); in netns_setup_links_and_routes()[all …]
250 struct nstoken *nstoken; in test_vxlan_tunnel() local294 nstoken = open_netns("at_ns0"); in test_vxlan_tunnel()295 if (!ASSERT_OK_PTR(nstoken, "setns src")) in test_vxlan_tunnel()306 close_netns(nstoken); in test_vxlan_tunnel()334 struct nstoken *nstoken; in test_ip6vxlan_tunnel() local367 nstoken = open_netns("at_ns0"); in test_ip6vxlan_tunnel()368 if (!ASSERT_OK_PTR(nstoken, "setns src")) in test_ip6vxlan_tunnel()379 close_netns(nstoken); in test_ip6vxlan_tunnel()
93 struct nstoken *nstoken = NULL; in serial_test_xdp_do_redirect() local124 nstoken = open_netns("testns"); in serial_test_xdp_do_redirect()125 if (!ASSERT_OK_PTR(nstoken, "setns")) in serial_test_xdp_do_redirect()197 if (nstoken) in serial_test_xdp_do_redirect()198 close_netns(nstoken); in serial_test_xdp_do_redirect()
16 struct nstoken *tok = NULL; in serial_test_empty_skb()
67 struct nstoken *ns = NULL; in test_synproxy()
60 struct nstoken;67 struct nstoken *open_netns(const char *name);68 void close_netns(struct nstoken *token);
389 struct nstoken { struct436 struct nstoken *open_netns(const char *name) in open_netns()441 struct nstoken *token; in open_netns()443 token = calloc(1, sizeof(struct nstoken)); in open_netns()466 void close_netns(struct nstoken *token) in close_netns()