Home
last modified time | relevance | path

Searched refs:netns (Results 1 – 11 of 11) sorted by relevance

/external/iproute2/lib/
Dnamespace.c48 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/
Dipnetns.c440 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 …]
Diplink.c412 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/
Dnamespace.h46 int netns_switch(char *netns);
47 int netns_get_fd(const char *netns);
/external/iproute2/man/man8/
DMakefile12 ip-netns.8 ip-ntable.8 ip-rule.8 ip-tunnel.8 ip-xfrm.8 \
/external/iw/
Dphy.c357 COMMAND(set, netns, "{ <pid> | name <nsname> }",
/external/chromium-trace/catapult/systrace/systrace/test_data/
Datrace_thread_names1 …: 'ksoftirqd/0', 7: 'kworker/u:0H', 8: 'migration/0', 13: 'khelper', 14: 'netns', 17: 'kworker/0:1…
Datrace_extracted_threads1 …: 'ksoftirqd/0', 7: 'kworker/u:0H', 8: 'migration/0', 13: 'khelper', 14: 'netns', 17: 'kworker/0:1…
Datrace_ps_dump8 root 14 2 0 0 ffffffff 00000000 S netns
Datrace_data_with_thread_list136 root 14 2 0 0 ffffffff 00000000 S netns
/external/iproute2/doc/
Dip-cref.tex332 \item \verb|netns PID|