Searched refs:NETNS_RUN_DIR (Results 1 – 4 of 4) sorted by relevance
/external/iproute2/ip/ |
D | ipnetns.c | 214 dir = opendir(NETNS_RUN_DIR); in netns_map_init() 238 dir = opendir(NETNS_RUN_DIR); in netns_get_name() 334 dir = opendir(NETNS_RUN_DIR); in netns_list() 455 snprintf(net_path, sizeof(net_path), "%s/%s", NETNS_RUN_DIR, name); in netns_pids() 527 dir = opendir(NETNS_RUN_DIR); in netns_identify() 534 NETNS_RUN_DIR, strerror(errno)); in netns_identify() 547 snprintf(name_path, sizeof(name_path), "%s/%s", NETNS_RUN_DIR, in netns_identify() 567 snprintf(netns_path, sizeof(netns_path), "%s/%s", NETNS_RUN_DIR, nsname); in on_netns_del() 593 if (mkdir(NETNS_RUN_DIR, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) { in create_netns_dir() 596 NETNS_RUN_DIR, strerror(errno)); in create_netns_dir() [all …]
|
/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()
|
/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/include/ |
D | namespace.h | 10 #define NETNS_RUN_DIR "/var/run/netns" macro
|