Home
last modified time | relevance | path

Searched refs:veth (Results 1 – 25 of 98) sorted by relevance

1234

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dtest_vxlan_under_vrf.sh49 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
71 ip -netns hv-$hv link set veth-hv-$hv name veth0
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 netns vm-$id
[all …]
H A Dvrf_route_leaking.sh232 ip -netns h1 link add eth0 type veth peer name r1h1
235 ip -netns h2 link add eth0 type veth peer name r1h2
313 ip -netns h1 link add eth0 type veth peer name r1h1
316 ip -netns h1 link add eth1 type veth peer name r2h1
319 ip -netns h2 link add eth0 type veth peer name r1h2
322 ip -netns h2 link add eth1 type veth peer name r2h2
H A Dip6_gre_headroom.sh9 ip link add h1 type veth peer name swp1
10 ip link add h3 type veth peer name swp3
H A Dfib-onlink-tests.sh189 ip li add ${NETIFS[p1]} type veth peer name ${NETIFS[p2]}
190 ip li add ${NETIFS[p3]} type veth peer name ${NETIFS[p4]}
191 ip li add ${NETIFS[p5]} type veth peer name ${NETIFS[p6]}
192 ip li add ${NETIFS[p7]} type veth peer name ${NETIFS[p8]}
H A Dipsec.c426 static int tunnel_set_route(int route_sock, uint32_t *route_seq, char *veth, in tunnel_set_route() argument
435 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route()
443 static int init_child(int nsfd, char *veth, unsigned int src, unsigned int dst) in init_child() argument
459 if (ip4_addr_set(route_sock, route_seq++, veth, intsrc, PREFIX_LEN)) { in init_child()
464 if (link_set_up(route_sock, route_seq++, veth)) { in init_child()
465 printk("Failed to bring up %s", veth); in init_child()
469 if (tunnel_set_route(route_sock, &route_seq, veth, tunsrc, tundst)) { in init_child()
470 printk("Failed to add tunnel route on %s", veth); in init_child()
1814 static int start_child(unsigned int nr, char *veth, int test_desc_fd[2]) in start_child() argument
1820 if (init_child(nsfd_childa, veth, child_ip(nr), grchild_ip(nr))) in start_child()
[all …]
H A Dicmp_redirect.sh194 ip -netns h1 li add eth0 type veth peer name r1h1
197 ip -netns h1 li add eth1 type veth peer name r2h1
200 ip -netns h2 li add eth0 type veth peer name r2h2
204 ip -netns r1 li add eth1 type veth peer name r2r1
H A Dpmtu.sh510 run_cmd ${ns_a} ip link add veth_a type veth peer name veth_b || return 1
703 ip link add ${if} up netns ${ns_name} type veth peer name ${ifpeer} netns ${peer_name} || return 1
729 run_cmd ${ns_c} ip link add veth_C-A type veth peer name veth_A-C
781 run_cmd ${ns_c} ip link add veth_C-A type veth peer name veth_A-C
1084 "${ns_a}" br0 "${ns_a}" veth-A-C \
1174 "" ovs_br0 "" veth-A-C \
1375 setup namespaces veth vti4 xfrm4 || return 2
1405 setup namespaces veth vti6 xfrm6 || return 2
1435 setup namespaces veth vti4 || return 2
1447 setup namespaces veth vti6 || return 2
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_tables_trace.c63 struct vlan_ethhdr veth; in nf_trace_fill_ll_header() local
66 BUILD_BUG_ON(sizeof(veth) > NFT_TRACETYPE_LL_HSIZE); in nf_trace_fill_ll_header()
72 if (skb_copy_bits(skb, off, &veth, ETH_HLEN)) in nf_trace_fill_ll_header()
75 veth.h_vlan_proto = skb->vlan_proto; in nf_trace_fill_ll_header()
76 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nf_trace_fill_ll_header()
77 veth.h_vlan_encapsulated_proto = skb->protocol; in nf_trace_fill_ll_header()
79 return nla_put(nlskb, NFTA_TRACE_LL_HEADER, sizeof(veth), &veth); in nf_trace_fill_ll_header()
H A Dnft_payload.c28 struct vlan_ethhdr *veth) in nft_payload_rebuild_vlan_hdr() argument
30 if (skb_copy_bits(skb, mac_off, veth, ETH_HLEN)) in nft_payload_rebuild_vlan_hdr()
33 veth->h_vlan_proto = skb->vlan_proto; in nft_payload_rebuild_vlan_hdr()
34 veth->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nft_payload_rebuild_vlan_hdr()
35 veth->h_vlan_encapsulated_proto = skb->protocol; in nft_payload_rebuild_vlan_hdr()
46 struct vlan_ethhdr veth; in nft_payload_copy_vlan() local
54 vlanh = (u8 *) &veth; in nft_payload_copy_vlan()
59 skb_copy_bits(skb, mac_off, &veth, VLAN_ETH_HLEN) < 0) in nft_payload_copy_vlan()
61 else if (!nft_payload_rebuild_vlan_hdr(skb, mac_off, &veth)) in nft_payload_copy_vlan()
/OK3568_Linux_fs/kernel/include/linux/
H A Dif_vlan.h339 struct vlan_ethhdr *veth; in __vlan_insert_inner_tag() local
351 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag()
358 veth->h_vlan_proto = vlan_proto; in __vlan_insert_inner_tag()
363 veth->h_vlan_encapsulated_proto = skb->protocol; in __vlan_insert_inner_tag()
367 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_inner_tag()
529 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb->data; in __vlan_get_tag() local
531 if (!eth_type_vlan(veth->h_vlan_proto)) in __vlan_get_tag()
534 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Darm-realview-eb-bbrevd.dtsi25 veth: fixedregulator@0 { label
27 regulator-name = "veth";
43 vdd33a-supply = <&veth>;
44 vddvario-supply = <&veth>;
H A Darm-realview-pbx.dtsi57 veth: regulator-veth { label
59 regulator-name = "veth";
160 vdd33a-supply = <&veth>;
161 vddvario-supply = <&veth>;
H A Darm-realview-pb1176.dts58 veth: regulator-veth { label
60 regulator-name = "veth";
160 vdd33a-supply = <&veth>;
161 vddvario-supply = <&veth>;
/OK3568_Linux_fs/buildroot/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/
H A Dminimal.conf2 lxc.net.0.type = veth
3 lxc.net.0.veth.pair = lxc0
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_xdp_veth.sh84 ip link add veth1 index 111 type veth peer name veth11 netns ns1
85 ip link add veth2 index 122 type veth peer name veth22 netns ns2
86 ip link add veth3 index 133 type veth peer name veth33 netns ns3
H A Dtest_lwt_seg6local.sh64 ip link add veth1 type veth peer name veth2
65 ip link add veth3 type veth peer name veth4
66 ip link add veth5 type veth peer name veth6
67 ip link add veth7 type veth peer name veth8
68 ip link add veth9 type veth peer name veth10
H A Dtest_xdp_redirect.sh23 ip link add veth1 index 111 type veth peer name veth11 netns ns1
24 ip link add veth2 index 222 type veth peer name veth22 netns ns2
/OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/
H A Dbridge_brouter.sh30 ip link add veth0 netns ns0 type veth peer name eth0 netns ns1
35 ip link add veth1 netns ns0 type veth peer name eth0 netns ns2
H A Dipvs.sh73 ip link add veth01 netns ns0 type veth peer name veth10 netns ns1
74 ip link add veth02 netns ns0 type veth peer name veth20 netns ns2
75 ip link add veth12 netns ns1 type veth peer name veth21 netns ns2
H A Dconntrack_icmp_related.sh82 ip link add $DEV netns nsclient1 type veth peer name eth1 netns nsrouter1
84 ip link add $DEV netns nsclient2 type veth peer name eth1 netns nsrouter2
87 ip link add $DEV netns nsrouter1 type veth peer name eth2 netns nsrouter2
H A Dnft_concat_range.sh436 ip link add veth_a type veth peer name veth_b || return 1
1202 setup veth send_"${proto}" set || return ${KSELFTEST_SKIP}
1251 setup veth flood_"${proto}" set || return ${KSELFTEST_SKIP}
1351 setup veth send_"${proto}" set || return ${KSELFTEST_SKIP}
1394 setup veth perf set || return ${KSELFTEST_SKIP}
1478 setup veth send_"${proto}" set || return ${KSELFTEST_SKIP}
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/mptcp/
H A Dsimult_flows.sh64 ip link add ns1eth1 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
65 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth2 netns "$ns2"
66 ip link add ns2eth3 netns "$ns2" type veth peer name ns3eth1 netns "$ns3"
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd-conf/
H A Dwired.network3 Name=!veth*
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtest_ipip.sh8 ip link add veth0 type veth peer name veth0b
9 ip link add veth1 type veth peer name veth1b
10 ip link add veth2 type veth peer name veth2b
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dforwarding.config.sample38 NETIF_TYPE=veth

1234