/linux-master/tools/testing/selftests/bpf/ |
H A D | test_xdp_meta.sh | 35 ip link add veth1 type veth peer name veth2
|
H A D | test_tc_edt.sh | 41 ip link add veth_src type veth peer name veth_dst
|
H A D | test_xdp_features.sh | 16 ip link add v1 type veth peer name v0 netns ${NS}
|
H A D | test_xsk.sh | 5 # AF_XDP selftests based on veth 39 # Set up veth interfaces as per the topology shown ^^: 40 # * setup two veth interfaces 41 # ** veth<xxxx> 42 # ** veth<yyyy> 45 # * tests the veth and xsk layers of the topology 53 # Turn on XDP sockets and veth support when compiling i.e. 71 # Set up veth interfaces and leave them up so xskxceiver can be launched in a debugger: 128 ip link add ${VETH0} numtxqueues 4 numrxqueues 4 type veth peer name ${VETH1} numtxqueues 4 numrxqueues 4
|
/linux-master/samples/bpf/ |
H A D | test_cgrp2_sock2.sh | 12 ip link add veth0 type veth peer name veth0b
|
H A D | test_cgrp2_tc.sh | 13 # Names of the veth interface, net namespace...etc. 74 $IP link add $HOST_IFC type veth peer name $NS_IFC || return $?
|
/linux-master/tools/testing/selftests/net/ |
H A D | route_localnet.sh | 11 ip link add name veth0 type veth peer name veth1
|
H A D | fib-onlink-tests.sh | 186 ip li add ${NETIFS[p1]} type veth peer name ${NETIFS[p2]} 187 ip li add ${NETIFS[p3]} type veth peer name ${NETIFS[p4]} 188 ip li add ${NETIFS[p5]} type veth peer name ${NETIFS[p6]} 189 ip li add ${NETIFS[p7]} type veth peer name ${NETIFS[p8]}
|
H A D | msg_zerocopy.sh | 89 ip link add "${DEV}" mtu "${DEV_MTU}" netns "${NS1}" type veth \
|
H A D | io_uring_zerocopy_tx.sh | 95 ip link add "${DEV}" mtu "${DEV_MTU}" netns "${NS1}" type veth \
|
H A D | udpgro_bench.sh | 31 ip link add type veth 58 echo "udp gso - over veth touching data" 61 echo "udp gso and gro - over veth touching data" 68 echo "tcp - over veth touching data"
|
H A D | arp_ndisc_evict_nocarrier.sh | 6 # Create a veth pair and set IPs/routes on both. Then ping to establish 8 # 1 or 0. Set remote veth down which will cause local veth to go into a no 37 $IP li add veth1 type veth peer name veth2 61 ip link add name veth0 type veth peer name veth1
|
H A D | arp_ndisc_untracked_subnets.sh | 12 ROUTER_INTF="veth-router" 16 HOST_INTF="veth-host" 39 # namespaces. veth0 is veth-router, veth1 is veth-host. 43 type veth peer name ${HOST_INTF} 73 # namespaces. veth0 is veth-router, veth1 is veth-host. 77 type veth peer name ${HOST_INTF} netns ${HOST_NS_V6}
|
H A D | ipsec.c | 3 * ipsec.c - Check xfrm on veth inside a net-ns. 18 #include <linux/veth.h> 53 /* /30 mask for one veth connection */ 316 const char veth_type[] = "veth"; 464 static int tunnel_set_route(int route_sock, uint32_t *route_seq, char *veth, argument 473 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { 481 static int init_child(int nsfd, char *veth, unsigned int src, unsigned int dst) argument 497 if (ip4_addr_set(route_sock, route_seq++, veth, intsrc, PREFIX_LEN)) { 502 if (link_set_up(route_sock, route_seq++, veth)) { 503 printk("Failed to bring up %s", veth); 1954 start_child(unsigned int nr, char *veth, int test_desc_fd[2]) argument 2312 char veth[VETH_LEN]; local [all...] |
H A D | ndisc_unsolicited_na_test.sh | 19 HOST_INTF="veth-host" 20 ROUTER_INTF="veth-router" 68 # Setup two namespaces and a veth tunnel across them. 76 ${IP_ROUTER} link add ${ROUTER_INTF} type veth \
|
H A D | icmp_redirect.sh | 192 ip -netns $h1 li add eth0 type veth peer name r1h1 195 ip -netns $h1 li add eth1 type veth peer name r2h1 198 ip -netns $h2 li add eth0 type veth peer name r2h2 202 ip -netns $r1 li add eth1 type veth peer name r2r1
|
H A D | so_txtime.sh | 33 ip link add "${DEV}" netns "${NS1}" type veth \
|
/linux-master/net/netfilter/ |
H A D | nft_payload.c | 29 struct vlan_ethhdr *veth) 31 if (skb_copy_bits(skb, mac_off, veth, ETH_HLEN)) 34 veth->h_vlan_proto = skb->vlan_proto; 35 veth->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); 36 veth->h_vlan_encapsulated_proto = skb->protocol; 47 struct vlan_ethhdr veth; local 55 vlanh = (u8 *) &veth; 60 skb_copy_bits(skb, mac_off, &veth, VLAN_ETH_HLEN) < 0) 62 else if (!nft_payload_rebuild_vlan_hdr(skb, mac_off, &veth)) 28 nft_payload_rebuild_vlan_hdr(const struct sk_buff *skb, int mac_off, struct vlan_ethhdr *veth) argument
|
/linux-master/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond_topo_2d1c.sh | 64 ip -n ${s_ns} link add eth${i} type veth peer name s${i} netns ${g_ns} 117 ip -n ${c_ns} link add eth0 type veth peer name c0 netns ${g_ns}
|
H A D | lag_lib.sh | 99 ip link add name lag1 type veth peer name lag1-end 103 ip link add name lag1 type veth peer name lag1-end
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | setget_sockopt.c | 16 const volatile char veth[IFNAMSIZ]; variable 282 (void *)veth, sizeof(veth)))
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | dual_vxlan_bridge.sh | 41 # | + v1 (veth) + v3 (veth) | 46 # | + v2 (veth) NS1 (netns) | | + v4 (veth) NS2 (netns) | 62 # | | + w1 (veth) | | | | + w1 (veth) | | 68 # | | + w2 (veth) | | | | + w2 (veth) | | 244 ip link add name w1 type veth peer name w2 320 ip link add name v1 type veth pee [all...] |
/linux-master/tools/testing/selftests/net/netfilter/ |
H A D | conntrack_icmp_related.sh | 74 ip link add "$DEV" netns "$nsclient1" type veth peer name eth1 netns "$nsrouter1" 75 ip link add "$DEV" netns "$nsclient2" type veth peer name eth1 netns "$nsrouter2" 76 ip link add "$DEV" netns "$nsrouter1" type veth peer name eth2 netns "$nsrouter2"
|
H A D | nf_nat_edemux.sh | 25 # Connect the namespaces using a veth pair 26 ip link add name veth2 type veth peer name veth1
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | setget_sockopt.c | 31 if (!ASSERT_OK(system("ip link add dev binddevtest1 type veth peer name binddevtest2"), 32 "add veth")) 36 "bring veth up")) 170 strcpy(skel->rodata->veth, "binddevtest1");
|