Home
last modified time | relevance | path

Searched refs:veth (Results 126 – 150 of 165) sorted by relevance

1234567

/openbmc/linux/tools/testing/selftests/netfilter/
H A Drpath.sh49 ip -net "$ns1" link add v0 type veth peer name v0 netns "$ns2"
H A Dconntrack_vrf.sh75 ip link add veth0 netns "$ns0" type veth peer name veth0 netns "$ns1" > /dev/null 2>&1
H A Dnft_nat.sh53 ip link add veth0 netns "$ns0" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1
58 ip link add veth1 netns "$ns0" type veth peer name eth0 netns "$ns2"
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh182 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
183 ip link add ns2eth3 netns "$ns2" type veth peer name ns3eth2 netns "$ns3"
184 ip link add ns3eth4 netns "$ns3" type veth peer name ns4eth3 netns "$ns4"
H A Dmptcp_sockopt.sh55 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
/openbmc/linux/tools/testing/selftests/net/
H A Dsrv6_end_next_csid_l3vpn_test.sh471 type veth peer name "veth-rt-${neigh}-${rt}" \
753 ip -netns "${hsname}" link add veth0 type veth \
H A Dsrv6_end_x_next_csid_l3vpn_test.sh521 type veth peer name "veth-rt-${neigh}-${rt}" \
813 ip -netns "${hsname}" link add veth0 type veth \
H A Dtraceroute.sh104 ip netns exec ${ns1} ip li add ${ns1_dev} type veth peer name tmp
H A DMakefile31 TEST_PROGS += veth.sh
H A Dfib_nexthop_multiprefix.sh111 ip -netns h${i} li add eth0 type veth peer name r1h${i}
H A Dfib_rule_tests.sh111 ip link add name veth0 netns testns type veth \
H A Dl2_tos_ttl_inherit.sh107 ip link add name veth0 netns "${NS0}" type veth \
H A Dfib_nexthops.sh183 $IP li add veth1 type veth peer name veth2
188 $IP li add veth3 type veth peer name veth4
201 ip -netns remote li add veth5 type veth peer name veth6
H A Dfib_tests.sh456 $IP link add name veth1 type veth peer name veth2
635 $IP link add veth0 type veth peer name veth1
968 $IP li add veth1 type veth peer name veth2
969 $IP li add veth3 type veth peer name veth4
H A Dl2tp.sh115 ip -netns ${ns1} li add ${ns1_dev} type veth peer name tmp
H A Dvrf-xfrm-tests.sh160 ip ${ns1arg} li add ${ns1_dev} type veth peer name tmp
H A Dtest_bridge_backup_port.sh159 ip link add name veth0 type veth peer name veth1
/openbmc/linux/samples/bpf/
H A Dtest_lwt_bpf.sh55 ip link add $2 type veth peer name $3
/openbmc/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c734 struct vlan_ethhdr *veth; in gelic_put_vlan_tag() local
745 veth = skb_push(skb, VLAN_HLEN); in gelic_put_vlan_tag()
750 veth->h_vlan_proto = cpu_to_be16(ETH_P_8021Q); in gelic_put_vlan_tag()
751 veth->h_vlan_TCI = htons(tag); in gelic_put_vlan_tag()
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dhw_stats_l3.sh330 if [[ $kind == veth ]]; then
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_tc_tunnel.sh32 ip link add dev veth1 mtu 1500 netns "${ns1}" type veth \
/openbmc/linux/drivers/net/
H A Dtun.c217 struct veth { struct
2157 struct veth veth; in tun_put_user() local
2159 veth.h_vlan_proto = skb->vlan_proto; in tun_put_user()
2160 veth.h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in tun_put_user()
2168 ret = copy_to_iter(&veth, sizeof(veth), iter); in tun_put_user()
2169 if (ret != sizeof(veth) || !iov_iter_count(iter)) in tun_put_user()
/openbmc/linux/tools/testing/selftests/net/openvswitch/
H A Dopenvswitch.sh114 ovs_sbx "$1" ip link add "$4" type veth peer name "$5" || return 1
/openbmc/linux/drivers/s390/net/
H A Dqeth_l3_main.c1631 struct vlan_ethhdr *veth = vlan_eth_hdr(skb); in qeth_l3_fill_header() local
1657 } else if (veth->h_vlan_proto == htons(ETH_P_8021Q)) { in qeth_l3_fill_header()
1659 hdr->hdr.l3.vlan_id = ntohs(veth->h_vlan_TCI); in qeth_l3_fill_header()
H A Dqeth_l2_main.c163 struct vlan_ethhdr *veth = vlan_eth_hdr(skb); in qeth_l2_fill_header() local
186 if (veth->h_vlan_proto == htons(ETH_P_8021Q)) { in qeth_l2_fill_header()
188 hdr->hdr.l2.vlan_id = ntohs(veth->h_vlan_TCI); in qeth_l2_fill_header()

1234567