HomeSort by relevance Sort by last modified time
    Searched refs:netns (Results 1 - 7 of 7) sorted by null

  /external/iproute2/include/
namespace.h 10 #define NETNS_RUN_DIR "/var/run/netns"
11 #define NETNS_ETC_DIR "/etc/netns"
46 int netns_switch(char *netns);
47 int netns_get_fd(const char *netns);
  /external/iproute2/lib/
namespace.c 48 int netns; local
51 netns = open(net_path, O_RDONLY | O_CLOEXEC);
52 if (netns < 0) {
58 if (setns(netns, CLONE_NEWNET) < 0) {
61 close(netns);
64 close(netns);
  /external/iproute2/ip/
ipnetns.c 27 fprintf(stderr, "Usage: ip netns list\n");
28 fprintf(stderr, " ip netns add NAME\n");
29 fprintf(stderr, " ip netns set NAME NETNSID\n");
30 fprintf(stderr, " ip [-all] netns delete [NAME]\n");
31 fprintf(stderr, " ip netns identify [PID]\n");
32 fprintf(stderr, " ip netns pids NAME\n");
33 fprintf(stderr, " ip [-all] netns exec [NAME] cmd ...\n");
34 fprintf(stderr, " ip netns monitor\n");
35 fprintf(stderr, " ip netns list-id\n");
293 fprintf(fp, "(iproute2 netns name: %s)", c->name)
440 int netns; local
496 int netns; local
711 int netns, nsid; local
    [all...]
iplink.c 73 fprintf(stderr, " [ netns PID ]\n");
74 fprintf(stderr, " [ netns NAME ]\n");
412 int netns = -1; local
469 } else if (strcmp(*argv, "netns") == 0) {
471 if (netns != -1)
472 duparg("netns", *argv);
473 netns = netns_get_fd(*argv);
474 if (netns >= 0)
475 addattr_l(&req->n, sizeof(*req), IFLA_NET_NS_FD, &netns, 4);
476 else if (get_integer(&netns, *argv, 0) == 0
    [all...]
  /external/iproute2/man/man8/
Makefile 12 ip-netns.8 ip-ntable.8 ip-rule.8 ip-tunnel.8 ip-xfrm.8 \
  /external/iw/
phy.c 303 #define NETNS_RUN_DIR "/var/run/netns"
357 COMMAND(set, netns, "{ <pid> | name <nsname> }",
362 " or by absolute path (man ip-netns)\n");
  /external/iproute2/doc/
ip-cref.tex 332 \item \verb|netns PID|
    [all...]

Completed in 1564 milliseconds