Searched refs:NETNS_RUN_DIR (Results 1 – 8 of 8) sorted by relevance
/external/iproute2/ip/ |
D | ipnetns.c | 219 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 …]
|
D | Android.bp | 78 "-DNETNS_RUN_DIR=\"" + NETNS_RUN_DIR + "\"",
|
/external/iproute2/lib/ |
D | namespace.c | 50 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()
|
D | Android.bp | 31 "-DNETNS_RUN_DIR=\"" + NETNS_RUN_DIR + "\"",
|
/external/iproute2/include/ |
D | namespace.h | 10 #ifndef NETNS_RUN_DIR 11 #define NETNS_RUN_DIR "/var/run/netns" macro
|
/external/iw/ |
D | phy.c | 302 #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/ |
D | Android.bp | 1 NETNS_RUN_DIR = "/mnt/run"
|
D | Makefile | 11 NETNS_RUN_DIR?=/var/run/netns macro
|