Home
last modified time | relevance | path

Searched refs:veth (Results 26 – 50 of 165) sorted by relevance

1234567

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_redirect.sh25 ip link add veth1 index 111 type veth peer name veth11 netns ${NS1}
26 ip link add veth2 index 222 type veth peer name veth22 netns ${NS2}
H A Dtest_sock_addr.sh29 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
/openbmc/linux/tools/testing/selftests/net/
H A Dtest_ingress_egress_chaining.sh43 ip link add $veth1 type veth peer name $peer1
44 ip link add $veth2 type veth peer name $peer2
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 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 Damt.sh120 ip link add l_gw type veth peer name gw_l
121 ip link add gw_relay type veth peer name relay_gw
122 ip link add relay_src type veth peer name src_relay
H A Dipsec.c473 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route()
502 if (link_set_up(route_sock, route_seq++, veth)) { in init_child()
503 printk("Failed to bring up %s", veth); in init_child()
507 if (tunnel_set_route(route_sock, &route_seq, veth, tunsrc, tundst)) { in init_child()
508 printk("Failed to add tunnel route on %s", veth); in init_child()
1960 if (init_child(nsfd_childa, veth, child_ip(nr), grchild_ip(nr))) in start_child()
1963 if (init_child(nsfd_childb, veth, grchild_ip(nr), child_ip(nr))) in start_child()
2312 char veth[VETH_LEN]; in main() local
2314 snprintf(veth, VETH_LEN, VETH_FMT, i); in main()
2316 if (veth_add(route_sock, route_seq++, veth, nsfd_childa, veth, nsfd_childb)) { in main()
[all …]
H A Dsetup_veth.sh20 ip link add name server type veth peer name client
H A Darp_ndisc_evict_nocarrier.sh50 $IP li add veth1 type veth peer name veth2
74 ip link add name veth0 type veth peer name veth1
/openbmc/openbmc/meta-google/recipes-google/ncsi/files/
H A D-bmc-gbmcncsidhcp.netdev3 Kind=veth
H A D-bmc-gbmcbrncsidhcp.netdev3 Kind=veth
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd-conf/
H A Dwired.network3 Name=!veth*
/openbmc/linux/tools/testing/selftests/net/hsr/
H A Dhsr_ping.sh220 ip link add ns1eth1 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
221 ip link add ns1eth2 netns "$ns1" type veth peer name ns3eth1 netns "$ns3"
222 ip link add ns3eth2 netns "$ns3" type veth peer name ns2eth2 netns "$ns2"
/openbmc/linux/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 Dconntrack_sctp_collision.sh32 ip -n $SERVER_NS link add link0 type veth peer name link1 netns $ROUTER_NS
33 ip -n $CLIENT_NS link add link3 type veth peer name link2 netns $ROUTER_NS
H A Dnft_synproxy.sh42 ip link add veth0 netns $nsr type veth peer name eth0 netns $ns1
43 ip link add veth1 netns $nsr 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
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_topo_2d1c.sh64 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 Dbond_topo_3d1c.sh38 ip -n ${s_ns} link add eth${i} type veth peer name s${i} netns ${g_ns}
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dforwarding.config.sample38 NETIF_TYPE=veth
H A Dq_in_vni.sh226 ip link add name w1 type veth peer name w2
300 ip link add name v1 type veth peer name v2
301 ip link add name v3 type veth peer name v4
H A Dq_in_vni_ipv6.sh225 ip link add name w1 type veth peer name w2
299 ip link add name v1 type veth peer name v2
300 ip link add name v3 type veth peer name v4
/openbmc/linux/net/netfilter/
H A Dnft_payload.c29 struct vlan_ethhdr *veth) in nft_payload_rebuild_vlan_hdr() argument
31 if (skb_copy_bits(skb, mac_off, veth, ETH_HLEN)) in nft_payload_rebuild_vlan_hdr()
34 veth->h_vlan_proto = skb->vlan_proto; in nft_payload_rebuild_vlan_hdr()
35 veth->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nft_payload_rebuild_vlan_hdr()
36 veth->h_vlan_encapsulated_proto = skb->protocol; in nft_payload_rebuild_vlan_hdr()
47 struct vlan_ethhdr veth; in nft_payload_copy_vlan() local
49 vlanh = (u8 *) &veth; in nft_payload_copy_vlan()
53 if (!nft_payload_rebuild_vlan_hdr(skb, mac_off, &veth)) in nft_payload_copy_vlan()
H A Dnf_flow_table_ip.c144 struct vlan_ethhdr *veth; in nf_flow_tuple_encap() local
155 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_tuple_encap()
156 tuple->encap[i].id = ntohs(veth->h_vlan_TCI); in nf_flow_tuple_encap()
279 struct vlan_ethhdr *veth; in nf_flow_skb_encap_protocol() local
284 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_skb_encap_protocol()
285 if (veth->h_vlan_encapsulated_proto == proto) { in nf_flow_skb_encap_protocol()
/openbmc/linux/samples/bpf/
H A Dtest_cls_bpf.sh31 ip link add name $IFC type veth peer name pair_$IFC

1234567