Lines Matching refs:namespace
74 char namespace[NS_NAME_MAX_LEN]; /* Namespace for the remote veth */ member
92 .namespace = "ns-veth11-"
99 .namespace = "ns-veth22-"
106 .namespace = "ns-veth33-"
151 nstoken = open_netns(net_config->veth_cfg[index].namespace); in attach_programs_to_veth_pair()
186 err = append_tid(net_config->veth_cfg[i].namespace, NS_NAME_MAX_LEN); in create_network()
189 SYS(fail, "ip netns add %s", net_config->veth_cfg[i].namespace); in create_network()
200 net_config->veth_cfg[i].namespace); in create_network()
204 net_config->veth_cfg[i].namespace, in create_network()
207 SYS(fail, "ip -n %s link set dev %s up", net_config->veth_cfg[i].namespace, in create_network()
225 SYS_NOFAIL("ip netns del %s", net_config->veth_cfg[i].namespace); in cleanup_network()
308 net_config.veth_cfg[0].namespace, IP_DST), "ping"); in xdp_veth_redirect()
400 net_config.veth_cfg[i].namespace, IP_NEIGH, net_config.veth_cfg[i].remote_veth); in xdp_veth_broadcast_redirect()
410 net_config.veth_cfg[0].namespace, IP_NEIGH); in xdp_veth_broadcast_redirect()
509 net_config.veth_cfg[i].namespace, IP_NEIGH, net_config.veth_cfg[i].remote_veth); in xdp_veth_egress()
526 net_config.veth_cfg[0].namespace, IP_NEIGH); in xdp_veth_egress()