/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | veth.sh | 42 ip link add name veth$SRC type veth peer name veth$DST 45 ip link set dev veth$ns netns $BASE$ns up 85 local dev=veth$target 252 ip -n $NS_DST link set dev veth$DST down 258 ip -n $NS_DST link set dev veth$DST up 324 ip -n $NS_DST link set dev veth$DST down 325 ip -n $NS_SRC link set dev veth$SRC down 341 ip -n $NS_DST link set dev veth$DST up 342 ip -n $NS_SRC link set dev veth$SRC up 352 ip -n $NS_DST link set dev veth$DST up [all …]
|
A D | test_vxlan_under_vrf.sh | 49 ip link del veth-hv-1 2>/dev/null || true 50 ip link del veth-tap 2>/dev/null || true 65 ip link add veth-hv-1 type veth peer name veth-hv-2 70 ip link set veth-hv-$hv netns hv-$hv 98 ip link add veth-tap type veth peer name veth-hv 100 ip link set veth-tap netns hv-$id 101 ip -netns hv-$id link set veth-tap master br0 102 ip -netns hv-$id link set veth-tap up 104 ip link set veth-hv address 02:1d:8d:dd:0c:6$id 106 ip link set veth-hv netns vm-$id [all …]
|
A D | udpgro_fwd.sh | 42 ip link add name veth$SRC type veth peer name veth$DST 45 ip link set dev veth$ns netns $BASE$ns 46 ip -n $BASE$ns link set dev veth$ns up 47 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24 48 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad 208 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on 217 ip -n $NS_DST addr add dev veth$DST $BM_NET$DST_NAT/$SUFFIX 218 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on 226 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on 231 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on [all …]
|
A D | test_vxlan_vnifiltering.sh | 167 ip link del veth-hv-1 2>/dev/null || true 185 ip link set veth-hv-$hv netns hv-$hv 186 ip -netns hv-$hv link set veth-hv-$hv name veth0 308 ip link add veth-host type veth peer name veth-testns 310 ip link set veth-testns netns testns 315 ip link del veth-host 2>/dev/null || true 393 ip link add veth-hv-1 type veth peer name veth-hv-2 418 ip link add veth-hv-1 type veth peer name veth-hv-2 443 ip link add veth-hv-1 type veth peer name veth-hv-2 467 ip link add veth-hv-1 type veth peer name veth-hv-2 [all …]
|
A D | srv6_end_dt6_l3vpn_test.sh | 220 ip link del veth-rt-1 2>/dev/null || true 221 ip link del veth-rt-2 2>/dev/null || true 236 ip link set veth-rt-${rt} netns ${nsname} 237 ip -netns ${nsname} link set veth-rt-${rt} name veth0 256 local rtveth=veth-t${tid} 264 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth} 300 local rtveth=veth-t${tid} 332 ip link add veth-rt-1 type veth peer name veth-rt-2
|
A D | srv6_end_dt4_l3vpn_test.sh | 219 ip link del veth-rt-1 2>/dev/null || true 220 ip link del veth-rt-2 2>/dev/null || true 235 ip link set veth-rt-${rt} netns ${nsname} 236 ip -netns ${nsname} link set veth-rt-${rt} name veth0 253 local rtveth=veth-t${tid} 257 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth} 324 ip link add veth-rt-1 type veth peer name veth-rt-2
|
A D | srv6_end_dt46_l3vpn_test.sh | 250 ip link del veth-rt-1 2>/dev/null || true 251 ip link del veth-rt-2 2>/dev/null || true 266 ip link set veth-rt-${rt} netns ${nsname} 267 ip -netns ${nsname} link set veth-rt-${rt} name veth0 287 local rtveth=veth-t${tid} 295 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth} 339 local rtveth=veth-t${tid} 380 ip link add veth-rt-1 type veth peer name veth-rt-2
|
A D | ioam6.sh | 199 ip link add name veth0 netns ioam-tmp-node type veth \ 265 ip link del ioam-veth-alpha 2>/dev/null || true 266 ip link del ioam-veth-gamma 2>/dev/null || true 284 ip link add name ioam-veth-alpha netns ioam-node-alpha type veth \ 285 peer name ioam-veth-betaL netns ioam-node-beta 286 ip link add name ioam-veth-betaR netns ioam-node-beta type veth \ 287 peer name ioam-veth-gamma netns ioam-node-gamma 289 ip -netns ioam-node-alpha link set ioam-veth-alpha name veth0 290 ip -netns ioam-node-beta link set ioam-veth-betaL name veth0 291 ip -netns ioam-node-beta link set ioam-veth-betaR name veth1 [all …]
|
A D | rps_default_mask.sh | 58 ip link add name $VETH type veth peer netns $NETNS name $VETH 69 ip link add name $VETH type veth peer netns $NETNS name $VETH
|
A D | unicast_extensions.sh | 126 ip link add foo netns foo-ns type veth peer name bar netns bar-ns 153 ip link add foo netns foo-ns type veth peer name foo1 netns router-ns 154 ip link add bar netns bar-ns type veth peer name bar1 netns router-ns
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_tables_trace.c | 47 struct vlan_ethhdr veth; in nf_trace_fill_ll_header() local 50 BUILD_BUG_ON(sizeof(veth) > NFT_TRACETYPE_LL_HSIZE); in nf_trace_fill_ll_header() 56 if (skb_copy_bits(skb, off, &veth, ETH_HLEN)) in nf_trace_fill_ll_header() 59 veth.h_vlan_proto = skb->vlan_proto; in nf_trace_fill_ll_header() 60 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_trace_fill_ll_header() 61 veth.h_vlan_encapsulated_proto = skb->protocol; in nf_trace_fill_ll_header() 63 return nla_put(nlskb, NFTA_TRACE_LL_HEADER, sizeof(veth), &veth); in nf_trace_fill_ll_header()
|
A D | nf_flow_table_inet.c | 15 struct vlan_ethhdr *veth; in nf_flow_offload_inet_hook() local 20 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_offload_inet_hook() 21 proto = veth->h_vlan_encapsulated_proto; in nf_flow_offload_inet_hook()
|
A D | nft_inner.c | 59 struct vlan_ethhdr *veth, _veth; in nft_inner_parse_l2l3() local 74 veth = skb_header_pointer(pkt->skb, off, sizeof(_veth), &_veth); in nft_inner_parse_l2l3() 75 if (!veth) in nft_inner_parse_l2l3() 78 outer_llproto = veth->h_vlan_encapsulated_proto; in nft_inner_parse_l2l3() 79 llproto = veth->h_vlan_proto; in nft_inner_parse_l2l3()
|
/linux-6.3-rc2/tools/testing/selftests/netfilter/ |
A D | nft_nat_zones.sh | 101 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv" 121 ip link add veth$i netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1 133 echo netns exec "$gw" ip link set veth$i up 134 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth$i.arp_ignore=2 135 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth$i.rp_filter=0 144 echo netns exec "$gw" ip addr add 10.1.0.2/24 dev veth$i 145 echo netns exec "$gw" ip addr add dead:1::2/64 dev veth$i 148 echo netns exec "$gw" ip route add 10.1.0.0/24 dev veth$i table $((1000+i)) 149 echo netns exec "$gw" ip route add dead:1::0/64 dev veth$i table $((1000+i))
|
A D | ipip-conntrack-mtu.sh | 94 ip link add veth0 netns ${r_a} type veth peer name veth0 netns ${r_w} 95 ip link add veth1 netns ${r_a} type veth peer name veth0 netns ${c_a} 124 ip link add veth0 netns ${r_b} type veth peer name veth1 netns ${r_w} 125 ip link add veth1 netns ${r_b} type veth peer name veth0 netns ${c_b}
|
/linux-6.3-rc2/include/linux/ |
A D | if_vlan.h | 344 struct vlan_ethhdr *veth; in __vlan_insert_inner_tag() local 356 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag() 363 veth->h_vlan_proto = vlan_proto; in __vlan_insert_inner_tag() 368 veth->h_vlan_encapsulated_proto = skb->protocol; in __vlan_insert_inner_tag() 372 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_inner_tag() 531 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb->data; in __vlan_get_tag() local 533 if (!eth_type_vlan(veth->h_vlan_proto)) in __vlan_get_tag() 536 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | arm-realview-eb-bbrevd.dtsi | 25 veth: fixedregulator@0 { label 27 regulator-name = "veth"; 43 vdd33a-supply = <&veth>; 44 vddvario-supply = <&veth>;
|
/linux-6.3-rc2/tools/testing/selftests/drivers/net/bonding/ |
A D | option_prio.sh | 40 ip link add name veth0 type veth peer name veth0_p 84 ip link add name veth0 type veth peer name veth0_p 85 ip link add name veth1 type veth peer name veth1_p 86 ip link add name veth2 type veth peer name veth2_p 124 ip link add name veth3 type veth peer name veth3_p
|
A D | bond-lladdr-target.sh | 34 ip -n $host link add veth0 type veth peer name veth0 netns $sw 35 ip -n $host link add veth1 type veth peer name veth1 netns $sw
|
A D | bond-break-lacpdu-tx.sh | 55 ip link add name veth1-bond type veth peer name veth1-end 56 ip link add name veth2-bond type veth peer name veth2-end
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_xdp_redirect_multi.sh | 88 ip -n ${NS[$i]} link add veth0 type veth peer name veth$i netns ${NS[0]} 90 ip -n ${NS[0]} link set veth$i up 100 veth_mac[$i]=$(ip -n ${NS[0]} link show veth$i | awk '/link\/ether/ {print $2}')
|
A D | xsk_prereqs.sh | 27 if [ $(ip link add $1 type veth 2>/dev/null; echo $?;) != 0 ]; then 28 echo $msg veth kernel support not available >&2
|
A D | test_xdp_veth.sh | 87 ip link add veth1 index 111 type veth peer name veth11 netns ${NS1} 88 ip link add veth2 index 122 type veth peer name veth22 netns ${NS2} 89 ip link add veth3 index 133 type veth peer name veth33 netns ${NS3}
|
A D | test_lwt_seg6local.sh | 71 ip link add veth1 type veth peer name veth2 72 ip link add veth3 type veth peer name veth4 73 ip link add veth5 type veth peer name veth6 74 ip link add veth7 type veth peer name veth8 75 ip link add veth9 type veth peer name veth10
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | xdp_bonding.c | 391 int veth, bond, err; in test_xdp_bonding_attach() local 398 veth = if_nametoindex("veth"); in test_xdp_bonding_attach() 399 if (!ASSERT_GE(veth, 0, "if_nametoindex veth")) in test_xdp_bonding_attach() 406 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 418 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 436 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach()
|