Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:veth1
(Results
1 - 25
of
65
) sorted by relevance
1
2
3
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H
A
D
test_ingress_egress_chaining.sh
21
veth1
="
veth1
$((RANDOM%899+100))"
35
ip link del $
veth1
&> /dev/null
42
echo "Setup veth pairs [$
veth1
, $peer1], and veth pair [$veth2, $peer2]"
43
ip link add $
veth1
type veth peer name $peer1
51
ip link set $
veth1
up
54
echo "Add tc filter ingress->egress forwarding $
veth1
<-> $veth2"
56
tc qdisc add dev $
veth1
ingress
58
action mirred egress redirect dev $
veth1
59
tc filter add dev $
veth1
ingres
[all...]
H
A
D
sctp_vrf.sh
5
# TOPO: CLIENT_NS1 (
veth1
) <---> (
veth1
) -> vrf_s1
7
# CLIENT_NS2 (
veth1
) <---> (veth2) -> vrf_s2
31
ip -n $SERVER_NS link add
veth1
type veth peer name
veth1
netns $CLIENT_NS1
32
ip -n $SERVER_NS link add veth2 type veth peer name
veth1
netns $CLIENT_NS2
34
ip -n $CLIENT_NS1 link set
veth1
up
35
ip -n $CLIENT_NS1 addr add $CLIENT_IP4/24 dev
veth1
36
ip -n $CLIENT_NS1 addr add $CLIENT_IP6/24 dev
veth1
38
ip -n $CLIENT_NS2 link set
veth1
u
[all...]
H
A
D
arp_ndisc_evict_nocarrier.sh
28
sysctl -w net.ipv6.conf.
veth1
.ndisc_evict_nocarrier=1 >/dev/null 2>&1
50
$IP li add
veth1
type veth peer name veth2
51
$IP li set
veth1
up
52
$IP -6 addr add $V6_ADDR0/64 dev
veth1
nodad
60
# Should have the
veth1
entry in ND table
61
ip netns exec me ip -6 neigh get $V6_ADDR1 dev
veth1
>/dev/null 2>&1
68
# Set veth2 down, which will put
veth1
in NOCARRIER state
74
ip link add name veth0 type veth peer name
veth1
76
ip link set dev
veth1
netns "${PEER_NS}"
77
ip netns exec "${PEER_NS}" ip link set dev
veth1
u
[all...]
H
A
D
udpgro_frglist.sh
34
ip link set dev
veth1
netns "${PEER_NS}"
35
ip -netns "${PEER_NS}" addr add dev
veth1
192.168.1.1/24
36
ip -netns "${PEER_NS}" addr add dev
veth1
2001:db8::1/64 nodad
37
ip -netns "${PEER_NS}" link set dev
veth1
up
38
ip netns exec "${PEER_NS}" ethtool -K
veth1
rx-gro-list on
41
ip -n "${PEER_NS}" link set
veth1
xdp object ${BPF_FILE} section xdp
42
tc -n "${PEER_NS}" qdisc add dev
veth1
clsact
43
tc -n "${PEER_NS}" filter add dev
veth1
ingress prio 4 protocol ipv6 bpf object-file nat6to4.o section schedcls/ingress6/nat_6 direct-action
44
tc -n "${PEER_NS}" filter add dev
veth1
egress prio 4 protocol ip bpf object-file nat6to4.o section schedcls/egress4/snat4 direct-action
H
A
D
route_localnet.sh
11
ip link add name veth0 type veth peer name
veth1
13
ip link set dev
veth1
netns "${PEER_NS}"
17
ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.
veth1
.route_localnet=1
22
ip netns exec "${PEER_NS}" ifconfig
veth1
127.25.3.14/24 up
41
ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.
veth1
.arp_announce=2
58
ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.
veth1
.arp_ignore=3
H
A
D
udpgro.sh
35
ip link set dev
veth1
netns "${PEER_NS}"
36
ip -netns "${PEER_NS}" addr add dev
veth1
192.168.1.1/24
37
ip -netns "${PEER_NS}" addr add dev
veth1
2001:db8::1/64 nodad
38
ip -netns "${PEER_NS}" link set dev
veth1
up
39
ip -n "${PEER_NS}" link set
veth1
xdp object ${BPF_FILE} section xdp
87
ip -netns "${PEER_NS}" addr add dev
veth1
${addr2}
H
A
D
udpgro_bench.sh
34
ip link set dev
veth1
netns "${PEER_NS}"
35
ip -netns "${PEER_NS}" addr add dev
veth1
192.168.1.1/24
36
ip -netns "${PEER_NS}" addr add dev
veth1
2001:db8::1/64 nodad
37
ip -netns "${PEER_NS}" link set dev
veth1
up
39
ip -n "${PEER_NS}" link set
veth1
xdp object ${BPF_FILE} section xdp
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H
A
D
test_xdp_meta.sh
12
ip link del
veth1
2> /dev/null
29
ip link add
veth1
type veth peer name veth2
31
ip link set
veth1
netns ns1
34
ip netns exec ns1 ip addr add 10.1.1.11/24 dev
veth1
37
ip netns exec ns1 tc qdisc add dev
veth1
clsact
40
ip netns exec ns1 tc filter add dev
veth1
ingress bpf da obj test_xdp_meta.o sec t
43
ip netns exec ns1 ip link set dev
veth1
xdp obj test_xdp_meta.o sec x
46
ip netns exec ns1 ip link set dev
veth1
up
H
A
D
test_xdp_vlan.sh
55
ip link del
veth1
2> /dev/null
125
ip link del
veth1
2> /dev/null
151
ip link add
veth1
type veth peer name veth2
153
# Move
veth1
and veth2 into the respective namespaces
154
ip link set
veth1
netns ns1
162
ip netns exec ns1 ethtool -K
veth1
rxvlan off
167
ip netns exec ns1 ethtool -K
veth1
txvlan off
172
# In ns1/
veth1
add IP-addr on plain net_device
173
ip netns exec ns1 ip addr add ${IPADDR1}/24 dev
veth1
174
ip netns exec ns1 ip link set
veth1
u
[all...]
H
A
D
test_xdping.sh
15
# |
veth1
| --------- | veth0 |
22
#
veth1
IP: 10.1.1.200
23
# xdp added to
veth1
, xdpings originate from here.
39
ip link add veth0 type veth peer name
veth1
42
ip addr add ${LOCAL_IP}/24 dev
veth1
44
ip link set
veth1
up
51
ip link del
veth1
2>/dev/null
90
client_args="-I
veth1
-S"
94
client_args="-I
veth1
-S -c 10"
H
A
D
test_tunnel.sh
18
# |
veth1
| --------- | veth0 | (underlay network)
26
#
veth1
IP: 172.16.1.200, IPv6: 00::22 (underlay)
43
# 3) Outer tunnel header is prepended and route the packet to
veth1
's egress
57
ip link add veth0 type veth peer name
veth1
61
ip link set dev
veth1
up mtu 1500
62
ip addr add dev
veth1
172.16.1.200/24
86
ip addr add dev
veth1
::22/96
87
ip link set dev
veth1
up
134
ip addr add dev
veth1
::22/96
135
ip link set dev
veth1
u
[all...]
H
A
D
test_tc_tunnel.sh
31
ip link add dev
veth1
mtu 1500 netns "${ns1}" type veth \
34
ip netns exec "${ns1}" ethtool -K
veth1
tso off
36
ip -netns "${ns1}" link set
veth1
up
39
ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev
veth1
41
ip -netns "${ns1}" -6 addr add "${ns1_v6}/64" dev
veth1
nodad
47
ip -netns "${ns1}" -4 route add "${ns2_v4}" mtu 1458 dev
veth1
48
ip -netns "${ns1}" -6 route add "${ns2_v6}" mtu 1438 dev
veth1
191
ip netns exec "${ns1}" tc qdisc add dev
veth1
clsact
192
ip netns exec "${ns1}" tc filter add dev
veth1
egress \
H
A
D
test_xdp_redirect.sh
8
# (
veth1
, ------ (veth2,
23
ip link add
veth1
index 111 type veth peer name veth11 netns ns1
26
ip link set
veth1
up
37
ip link del
veth1
2> /dev/null
49
ip link set dev
veth1
$xdpmode off &> /dev/null
57
ip link set dev
veth1
$xdpmode obj test_xdp_redirect.o sec redirect_to_222 &> /dev/null
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H
A
D
test_xdp_meta.sh
18
ip link del
veth1
2> /dev/null
35
ip link add
veth1
type veth peer name veth2
37
ip link set
veth1
netns ${NS1}
40
ip netns exec ${NS1} ip addr add 10.1.1.11/24 dev
veth1
43
ip netns exec ${NS1} tc qdisc add dev
veth1
clsact
46
ip netns exec ${NS1} tc filter add dev
veth1
ingress bpf da obj ${BPF_FILE} sec t
49
ip netns exec ${NS1} ip link set dev
veth1
xdp obj ${BPF_FILE} sec x
52
ip netns exec ${NS1} ip link set dev
veth1
up
H
A
D
test_xdp_vlan.sh
60
ip link del
veth1
2> /dev/null
130
ip link del
veth1
2> /dev/null
156
ip link add
veth1
type veth peer name veth2
158
# Move
veth1
and veth2 into the respective namespaces
159
ip link set
veth1
netns ${NS1}
167
ip netns exec ${NS1} ethtool -K
veth1
rxvlan off
172
ip netns exec ${NS1} ethtool -K
veth1
txvlan off
177
# In ns1/
veth1
add IP-addr on plain net_device
178
ip netns exec ${NS1} ip addr add ${IPADDR1}/24 dev
veth1
179
ip netns exec ${NS1} ip link set
veth1
u
[all...]
H
A
D
test_xdping.sh
15
# |
veth1
| --------- | veth0 |
22
#
veth1
IP: 10.1.1.200
23
# xdp added to
veth1
, xdpings originate from here.
39
ip link add veth0 type veth peer name
veth1
42
ip addr add ${LOCAL_IP}/24 dev
veth1
44
ip link set
veth1
up
51
ip link del
veth1
2>/dev/null
90
client_args="-I
veth1
-S"
94
client_args="-I
veth1
-S -c 10"
99
test "-I
veth1
[all...]
H
A
D
test_tc_tunnel.sh
32
ip link add dev
veth1
mtu 1500 netns "${ns1}" type veth \
35
ip netns exec "${ns1}" ethtool -K
veth1
tso off
37
ip -netns "${ns1}" link set
veth1
up
40
ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev
veth1
42
ip -netns "${ns1}" -6 addr add "${ns1_v6}/64" dev
veth1
nodad
48
ip -netns "${ns1}" -4 route add "${ns2_v4}" mtu 1450 dev
veth1
49
ip -netns "${ns1}" -6 route add "${ns2_v6}" mtu 1430 dev
veth1
201
ip netns exec "${ns1}" tc qdisc add dev
veth1
clsact
202
ip netns exec "${ns1}" tc filter add dev
veth1
egress \
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H
A
D
ipip-conntrack-mtu.sh
95
ip link add
veth1
netns ${r_a} type veth peer name veth0 netns ${c_a}
101
for dev in lo veth0
veth1
ipip0; do
106
ip -net ${r_a} addr add 192.168.10.1/24 dev
veth1
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}
132
for dev in lo veth0
veth1
ipip0; do
137
ip -net ${r_b} addr add 192.168.20.1/24 dev
veth1
157
ip -net ${r_w} addr add 10.4.4.254/24 dev
veth1
161
ip -net ${r_w} link set dev
veth1
up mtu 1400
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/bonding/
H
A
D
bond-lladdr-target.sh
10
# | veth0
veth1
|
14
# | veth0
veth1
|
35
ip -n $host link add
veth1
type veth peer name
veth1
netns $sw
49
ip -n $host link set
veth1
master bond0
52
ip -n $sw link set
veth1
master br0
54
ip -n $sw link set
veth1
up
H
A
D
bond-break-lacpdu-tx.sh
19
# |
veth1
| |veth2 |
29
ip link del
veth1
-bond >/dev/null 2>&1 || :
55
ip link add name
veth1
-bond type veth peer name
veth1
-end
60
ip link set
veth1
-bond master fbond
64
ip link set
veth1
-end up
70
tcpdump -n -i
veth1
-end -e ether proto 0x8809 >${tmp} 2>&1 &
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H
A
D
route_localnet.sh
11
ip link add name veth0 type veth peer name
veth1
13
ip link set dev
veth1
netns "${PEER_NS}"
17
ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.
veth1
.route_localnet=1
22
ip netns exec "${PEER_NS}" ifconfig
veth1
127.25.3.14/24 up
41
ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.
veth1
.arp_announce=2
58
ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.
veth1
.arp_ignore=3
H
A
D
udpgro.sh
33
ip link set dev
veth1
netns "${PEER_NS}"
34
ip -netns "${PEER_NS}" addr add dev
veth1
192.168.1.1/24
35
ip -netns "${PEER_NS}" addr add dev
veth1
2001:db8::1/64 nodad
36
ip -netns "${PEER_NS}" link set dev
veth1
up
37
ip -n "${PEER_NS}" link set
veth1
xdp object ../bpf/xdp_dummy.o section xdp_dummy
85
ip -netns "${PEER_NS}" addr add dev
veth1
${addr2}
H
A
D
udpgro_bench.sh
32
ip link set dev
veth1
netns "${PEER_NS}"
33
ip -netns "${PEER_NS}" addr add dev
veth1
192.168.1.1/24
34
ip -netns "${PEER_NS}" addr add dev
veth1
2001:db8::1/64 nodad
35
ip -netns "${PEER_NS}" link set dev
veth1
up
37
ip -n "${PEER_NS}" link set
veth1
xdp object ../bpf/xdp_dummy.o section xdp_dummy
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
H
A
D
netns.sh
396
# │ │ wg0 │─────────────│
veth1
│───────────┼────┼──│veth2│────────────│ wg0 │ │
406
ip1 link add
veth1
type veth peer name veth2
410
n1 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/
veth1
/accept_dad'
412
n1 bash -c 'printf 1 > /proc/sys/net/ipv4/conf/
veth1
/promote_secondaries'
415
ip1 addr add 10.0.0.1/24 dev
veth1
416
ip1 addr add fd00:aa::1/96 dev
veth1
419
ip1 link set
veth1
up
421
waitiface $netns1
veth1
425
ip1 addr add 10.0.0.10/24 dev
veth1
426
ip1 addr del 10.0.0.1/24 dev
veth1
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/
H
A
D
netns.sh
408
# │ │ wg0 │─────────────│
veth1
│───────────┼────┼──│veth2│────────────│ wg0 │ │
418
ip1 link add
veth1
type veth peer name veth2
422
n1 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/
veth1
/accept_dad'
424
n1 bash -c 'printf 1 > /proc/sys/net/ipv4/conf/
veth1
/promote_secondaries'
427
ip1 addr add 10.0.0.1/24 dev
veth1
428
ip1 addr add fd00:aa::1/96 dev
veth1
431
ip1 link set
veth1
up
433
waitiface $netns1
veth1
437
ip1 addr add 10.0.0.10/24 dev
veth1
438
ip1 addr del 10.0.0.1/24 dev
veth1
[all...]
Completed in 8 milliseconds
1
2
3