Searched refs:NETNS_RUN_DIR (Results 1 - 4 of 4) sorted by relevance

/external/iproute2/include/
H A Dnamespace.h10 #define NETNS_RUN_DIR "/var/run/netns" macro
/external/iproute2/ip/
H A Dipnetns.c214 dir = opendir(NETNS_RUN_DIR);
238 dir = opendir(NETNS_RUN_DIR);
334 dir = opendir(NETNS_RUN_DIR);
455 snprintf(net_path, sizeof(net_path), "%s/%s", NETNS_RUN_DIR, name);
527 dir = opendir(NETNS_RUN_DIR);
534 NETNS_RUN_DIR, strerror(errno));
547 snprintf(name_path, sizeof(name_path), "%s/%s", NETNS_RUN_DIR,
567 snprintf(netns_path, sizeof(netns_path), "%s/%s", NETNS_RUN_DIR, nsname);
593 if (mkdir(NETNS_RUN_DIR, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) {
596 NETNS_RUN_DIR, strerro
[all...]
/external/iproute2/lib/
H A Dnamespace.c50 snprintf(net_path, sizeof(net_path), "%s/%s", NETNS_RUN_DIR, name);
100 NETNS_RUN_DIR, name );
111 dir = opendir(NETNS_RUN_DIR);
/external/iw/
H A Dphy.c302 #ifndef NETNS_RUN_DIR
303 #define NETNS_RUN_DIR "/var/run/netns" macro
314 NETNS_RUN_DIR, name );
361 " <nsname> - change network namespace by name from "NETNS_RUN_DIR"\n"

Completed in 193 milliseconds