Searched refs:netns (Results 1 – 11 of 11) sorted by relevance
/external/iproute2/lib/ |
D | namespace.c | 48 int netns; in netns_switch() local 51 netns = open(net_path, O_RDONLY | O_CLOEXEC); in netns_switch() 52 if (netns < 0) { in netns_switch() 58 if (setns(netns, CLONE_NEWNET) < 0) { in netns_switch() 61 close(netns); in netns_switch() 64 close(netns); in netns_switch()
|
/external/iproute2/ip/ |
D | ipnetns.c | 440 int netns; in netns_pids() local 456 netns = open(net_path, O_RDONLY); in netns_pids() 457 if (netns < 0) { in netns_pids() 462 if (fstat(netns, &netst) < 0) { in netns_pids() 496 int netns; in netns_identify() local 516 netns = open(net_path, O_RDONLY); in netns_identify() 517 if (netns < 0) { in netns_identify() 522 if (fstat(netns, &netst) < 0) { in netns_identify() 711 int netns, nsid; in netns_set() local 725 netns = open(netns_path, O_RDONLY | O_CLOEXEC); in netns_set() [all …]
|
D | iplink.c | 412 int netns = -1; in iplink_parse() local 471 if (netns != -1) in iplink_parse() 473 netns = netns_get_fd(*argv); in iplink_parse() 474 if (netns >= 0) in iplink_parse() 475 addattr_l(&req->n, sizeof(*req), IFLA_NET_NS_FD, &netns, 4); in iplink_parse() 476 else if (get_integer(&netns, *argv, 0) == 0) in iplink_parse() 477 addattr_l(&req->n, sizeof(*req), IFLA_NET_NS_PID, &netns, 4); in iplink_parse()
|
/external/iproute2/include/ |
D | namespace.h | 46 int netns_switch(char *netns); 47 int netns_get_fd(const char *netns);
|
/external/iproute2/man/man8/ |
D | Makefile | 12 ip-netns.8 ip-ntable.8 ip-rule.8 ip-tunnel.8 ip-xfrm.8 \
|
/external/iw/ |
D | phy.c | 357 COMMAND(set, netns, "{ <pid> | name <nsname> }",
|
/external/chromium-trace/catapult/systrace/systrace/test_data/ |
D | atrace_thread_names | 1 …: 'ksoftirqd/0', 7: 'kworker/u:0H', 8: 'migration/0', 13: 'khelper', 14: 'netns', 17: 'kworker/0:1…
|
D | atrace_extracted_threads | 1 …: 'ksoftirqd/0', 7: 'kworker/u:0H', 8: 'migration/0', 13: 'khelper', 14: 'netns', 17: 'kworker/0:1…
|
D | atrace_ps_dump | 8 root 14 2 0 0 ffffffff 00000000 S netns
|
D | atrace_data_with_thread_list | 136 root 14 2 0 0 ffffffff 00000000 S netns
|
/external/iproute2/doc/ |
D | ip-cref.tex | 332 \item \verb|netns PID|
|