Home
last modified time | relevance | path

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

/external/iproute2/ip/
Dipnetns.c219 dir = opendir(NETNS_RUN_DIR); in netns_map_init()
243 dir = opendir(NETNS_RUN_DIR); in netns_get_name()
339 dir = opendir(NETNS_RUN_DIR); in netns_list()
433 snprintf(net_path, sizeof(net_path), "%s/%s", NETNS_RUN_DIR, name); in netns_pids()
493 dir = opendir(NETNS_RUN_DIR); in netns_identify_pid()
500 NETNS_RUN_DIR, strerror(errno)); in netns_identify_pid()
513 snprintf(name_path, sizeof(name_path), "%s/%s", NETNS_RUN_DIR, in netns_identify_pid()
560 snprintf(netns_path, sizeof(netns_path), "%s/%s", NETNS_RUN_DIR, nsname); in on_netns_del()
586 if (mkdir(NETNS_RUN_DIR, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) { in create_netns_dir()
589 NETNS_RUN_DIR, strerror(errno)); in create_netns_dir()
[all …]
DAndroid.bp78 "-DNETNS_RUN_DIR=\"" + NETNS_RUN_DIR + "\"",
/external/iproute2/lib/
Dnamespace.c50 snprintf(net_path, sizeof(net_path), "%s/%s", NETNS_RUN_DIR, name); in netns_switch()
100 NETNS_RUN_DIR, name ); in netns_get_fd()
111 dir = opendir(NETNS_RUN_DIR); in netns_foreach()
DAndroid.bp31 "-DNETNS_RUN_DIR=\"" + NETNS_RUN_DIR + "\"",
/external/iproute2/include/
Dnamespace.h10 #ifndef NETNS_RUN_DIR
11 #define NETNS_RUN_DIR "/var/run/netns" macro
/external/iw/
Dphy.c302 #ifndef NETNS_RUN_DIR
303 #define NETNS_RUN_DIR "/var/run/netns" macro
314 NETNS_RUN_DIR, name ); in netns_get_fd()
361 " <nsname> - change network namespace by name from "NETNS_RUN_DIR"\n"
/external/iproute2/
DAndroid.bp1 NETNS_RUN_DIR = "/mnt/run"
DMakefile11 NETNS_RUN_DIR?=/var/run/netns macro