Home
last modified time | relevance | path

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

12345678910>>...28

/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/net/
H A Dveth.sh40 ip link add name veth$SRC type veth peer name veth$DST
43 ip link set dev veth$ns netns $BASE$ns up
125 ip netns exec $NS_DST ethtool -K veth$DST gro on
136 ip -n $NS_DST link set dev veth$DST down
137 ip netns exec $NS_DST ethtool -K veth$DST gro on
142 ip -n $NS_DST link set dev veth$DST up
158 ip -n $NS_DST link set dev veth$DST down
159 ip -n $NS_SRC link set dev veth$SRC down
164 ip -n $NS_DST link set dev veth$DST xdp off
169 ip -n $NS_DST link set dev veth$DST up
[all …]
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 Dudpgro_fwd.sh41 ip link add name veth$SRC type veth peer name veth$DST
44 ip link set dev veth$ns netns $BASE$ns
45 ip -n $BASE$ns link set dev veth$ns up
46 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24
47 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad
204 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
213 ip -n $NS_DST addr add dev veth$DST $BM_NET$DST_NAT/$SUFFIX
214 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
222 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
227 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
[all …]
H A Dsrv6_end_dt6_l3vpn_test.sh217 ip link del veth-rt-1 2>/dev/null || true
218 ip link del veth-rt-2 2>/dev/null || true
233 ip link set veth-rt-${rt} netns ${nsname}
234 ip -netns ${nsname} link set veth-rt-${rt} name veth0
253 local rtveth=veth-t${tid}
261 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth}
297 local rtveth=veth-t${tid}
329 ip link add veth-rt-1 type veth peer name veth-rt-2
H A Dsrv6_end_dt4_l3vpn_test.sh216 ip link del veth-rt-1 2>/dev/null || true
217 ip link del veth-rt-2 2>/dev/null || true
232 ip link set veth-rt-${rt} netns ${nsname}
233 ip -netns ${nsname} link set veth-rt-${rt} name veth0
250 local rtveth=veth-t${tid}
254 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth}
321 ip link add veth-rt-1 type veth peer name veth-rt-2
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/net/
H A Dveth.sh40 ip link add name veth$SRC type veth peer name veth$DST
43 ip link set dev veth$ns netns $BASE$ns up
125 ip netns exec $NS_DST ethtool -K veth$DST gro on
136 ip -n $NS_DST link set dev veth$DST down
137 ip netns exec $NS_DST ethtool -K veth$DST gro on
142 ip -n $NS_DST link set dev veth$DST up
158 ip -n $NS_DST link set dev veth$DST down
159 ip -n $NS_SRC link set dev veth$SRC down
164 ip -n $NS_DST link set dev veth$DST xdp off
169 ip -n $NS_DST link set dev veth$DST up
[all …]
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 Dudpgro_fwd.sh41 ip link add name veth$SRC type veth peer name veth$DST
44 ip link set dev veth$ns netns $BASE$ns
45 ip -n $BASE$ns link set dev veth$ns up
46 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24
47 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad
204 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
213 ip -n $NS_DST addr add dev veth$DST $BM_NET$DST_NAT/$SUFFIX
214 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
222 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
227 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
[all …]
H A Dsrv6_end_dt6_l3vpn_test.sh217 ip link del veth-rt-1 2>/dev/null || true
218 ip link del veth-rt-2 2>/dev/null || true
233 ip link set veth-rt-${rt} netns ${nsname}
234 ip -netns ${nsname} link set veth-rt-${rt} name veth0
253 local rtveth=veth-t${tid}
261 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth}
297 local rtveth=veth-t${tid}
329 ip link add veth-rt-1 type veth peer name veth-rt-2
H A Dsrv6_end_dt4_l3vpn_test.sh216 ip link del veth-rt-1 2>/dev/null || true
217 ip link del veth-rt-2 2>/dev/null || true
232 ip link set veth-rt-${rt} netns ${nsname}
233 ip -netns ${nsname} link set veth-rt-${rt} name veth0
250 local rtveth=veth-t${tid}
254 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth}
321 ip link add veth-rt-1 type veth peer name veth-rt-2
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/net/
H A Dveth.sh40 ip link add name veth$SRC type veth peer name veth$DST
43 ip link set dev veth$ns netns $BASE$ns up
125 ip netns exec $NS_DST ethtool -K veth$DST gro on
136 ip -n $NS_DST link set dev veth$DST down
137 ip netns exec $NS_DST ethtool -K veth$DST gro on
142 ip -n $NS_DST link set dev veth$DST up
158 ip -n $NS_DST link set dev veth$DST down
159 ip -n $NS_SRC link set dev veth$SRC down
164 ip -n $NS_DST link set dev veth$DST xdp off
169 ip -n $NS_DST link set dev veth$DST up
[all …]
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 Dudpgro_fwd.sh41 ip link add name veth$SRC type veth peer name veth$DST
44 ip link set dev veth$ns netns $BASE$ns
45 ip -n $BASE$ns link set dev veth$ns up
46 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24
47 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad
204 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
213 ip -n $NS_DST addr add dev veth$DST $BM_NET$DST_NAT/$SUFFIX
214 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
222 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
227 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
[all …]
H A Dsrv6_end_dt6_l3vpn_test.sh217 ip link del veth-rt-1 2>/dev/null || true
218 ip link del veth-rt-2 2>/dev/null || true
233 ip link set veth-rt-${rt} netns ${nsname}
234 ip -netns ${nsname} link set veth-rt-${rt} name veth0
253 local rtveth=veth-t${tid}
261 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth}
297 local rtveth=veth-t${tid}
329 ip link add veth-rt-1 type veth peer name veth-rt-2
H A Dsrv6_end_dt4_l3vpn_test.sh216 ip link del veth-rt-1 2>/dev/null || true
217 ip link del veth-rt-2 2>/dev/null || true
232 ip link set veth-rt-${rt} netns ${nsname}
233 ip -netns ${nsname} link set veth-rt-${rt} name veth0
250 local rtveth=veth-t${tid}
254 ip -netns ${hsname} link add veth0 type veth peer name ${rtveth}
321 ip link add veth-rt-1 type veth peer name veth-rt-2
/dports/devel/libvirt/libvirt-7.10.0/src/util/
H A Dvirnetdevveth.c48 virNetDevVethDeleteInternal(const char *veth) in virNetDevVethDeleteInternal() argument
50 return virNetlinkDelLink(veth, NULL); in virNetDevVethDeleteInternal()
64 virNetDevVethDeleteInternal(const char *veth) in virNetDevVethDeleteInternal() argument
68 "del", veth, NULL); in virNetDevVethDeleteInternal()
74 if (!virNetDevExists(veth)) { in virNetDevVethDeleteInternal()
75 VIR_DEBUG("Device %s already deleted (by kernel namespace cleanup)", veth); in virNetDevVethDeleteInternal()
79 _("Failed to delete veth device %s"), veth); in virNetDevVethDeleteInternal()
147 int virNetDevVethDelete(const char *veth) in virNetDevVethDelete() argument
149 return virNetDevVethDeleteInternal(veth); in virNetDevVethDelete()
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/opencontainers/runc/libcontainer/
H A Dnetwork_linux.go19 "veth": &veth{},
110 type veth struct { struct
113 func (v *veth) detach(n *configs.Network) (err error) { argument
118 func (v *veth) attach(n *configs.Network) (err error) { argument
150 func (v *veth) create(n *network, nspid int) (err error) { argument
159 veth := &netlink.Veth{
166 if err := netlink.LinkAdd(veth); err != nil {
171 netlink.LinkDel(veth)
184 func (v *veth) generateTempPeerName() (string, error) { argument
188 func (v *veth) initialize(config *network) error { argument
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/opencontainers/runc/libcontainer/
H A Dnetwork_linux.go19 "veth": &veth{},
110 type veth struct { struct
113 func (v *veth) detach(n *configs.Network) (err error) { argument
118 func (v *veth) attach(n *configs.Network) (err error) { argument
150 func (v *veth) create(n *network, nspid int) (err error) { argument
159 veth := &netlink.Veth{
166 if err := netlink.LinkAdd(veth); err != nil {
171 netlink.LinkDel(veth)
184 func (v *veth) generateTempPeerName() (string, error) { argument
188 func (v *veth) initialize(config *network) error { argument
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/libnetwork/vendor/github.com/opencontainers/runc/libcontainer/
H A Dnetwork_linux.go19 "veth": &veth{},
110 type veth struct { struct
113 func (v *veth) detach(n *configs.Network) (err error) { argument
118 func (v *veth) attach(n *configs.Network) (err error) { argument
150 func (v *veth) create(n *network, nspid int) (err error) { argument
159 veth := &netlink.Veth{
166 if err := netlink.LinkAdd(veth); err != nil {
171 netlink.LinkDel(veth)
184 func (v *veth) generateTempPeerName() (string, error) { argument
188 func (v *veth) initialize(config *network) error { argument
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/opencontainers/runc/libcontainer/
H A Dnetwork_linux.go19 "veth": &veth{},
110 type veth struct { struct
113 func (v *veth) detach(n *configs.Network) (err error) { argument
118 func (v *veth) attach(n *configs.Network) (err error) { argument
150 func (v *veth) create(n *network, nspid int) (err error) { argument
159 veth := &netlink.Veth{
166 if err := netlink.LinkAdd(veth); err != nil {
171 netlink.LinkDel(veth)
184 func (v *veth) generateTempPeerName() (string, error) { argument
188 func (v *veth) initialize(config *network) error { argument
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/opencontainers/runc/libcontainer/
H A Dnetwork_linux.go19 "veth": &veth{},
110 type veth struct { struct
113 func (v *veth) detach(n *configs.Network) (err error) { argument
118 func (v *veth) attach(n *configs.Network) (err error) { argument
150 func (v *veth) create(n *network, nspid int) (err error) { argument
159 veth := &netlink.Veth{
166 if err := netlink.LinkAdd(veth); err != nil {
171 netlink.LinkDel(veth)
184 func (v *veth) generateTempPeerName() (string, error) { argument
188 func (v *veth) initialize(config *network) error { argument
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/opencontainers/runc/libcontainer/
H A Dnetwork_linux.go19 "veth": &veth{},
110 type veth struct { struct
113 func (v *veth) detach(n *configs.Network) (err error) { argument
118 func (v *veth) attach(n *configs.Network) (err error) { argument
150 func (v *veth) create(n *network, nspid int) (err error) { argument
159 veth := &netlink.Veth{
166 if err := netlink.LinkAdd(veth); err != nil {
171 netlink.LinkDel(veth)
184 func (v *veth) generateTempPeerName() (string, error) { argument
188 func (v *veth) initialize(config *network) error { argument
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/google/cadvisor/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/
H A Dnetwork_linux.go19 "veth": &veth{},
110 type veth struct { struct
113 func (v *veth) detach(n *configs.Network) (err error) { argument
118 func (v *veth) attach(n *configs.Network) (err error) { argument
150 func (v *veth) create(n *network, nspid int) (err error) { argument
159 veth := &netlink.Veth{
166 if err := netlink.LinkAdd(veth); err != nil {
171 netlink.LinkDel(veth)
184 func (v *veth) generateTempPeerName() (string, error) { argument
188 func (v *veth) initialize(config *network) error { argument
/dports/emulators/nemu/nemu-3.0.0/pkg/linux/nixos/
H A Dmodule.nix77 Whether to automatically create veth interfaces for user
143 # Add systemd nemu-veth.target
144 systemd.targets.nemu-veth = {
145 description = "nemu veth creation target";
156 # Add nemu-veth and nemu-vm systemd services for users
158 nameValuePair "nemu-veth-${user}" {
159 description = "Creates veth interfaces for nemu VMs for ${user}";
165 wantedBy = [ "nemu-veth.target" ];
183 "nemu-veth-${user}.service"
/dports/multimedia/v4l_compat/linux-5.13-rc2/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()

12345678910>>...28