Searched refs:veth_cfg (Results 1 – 1 of 1) sorted by relevance
81 struct veth_configuration veth_cfg[VETH_PAIRS_COUNT]; member142 interface = if_nametoindex(net_config->veth_cfg[index].local_veth); in attach_programs_to_veth_pair()151 nstoken = open_netns(net_config->veth_cfg[index].namespace); in attach_programs_to_veth_pair()155 interface = if_nametoindex(net_config->veth_cfg[index].remote_veth); 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()199 net_config->veth_cfg[i].local_veth, net_config->veth_cfg[i].remote_veth, in create_network()200 net_config->veth_cfg[i].namespace); in create_network()201 SYS(fail, "ip link set dev %s up", net_config->veth_cfg[i].local_veth); in create_network()202 if (net_config->veth_cfg[i].remote_addr[0]) in create_network()[all …]