Home
last modified time | relevance | path

Searched refs:h1 (Results 1 – 25 of 173) sorted by relevance

1234567

/Linux-v5.15/tools/testing/selftests/net/forwarding/
Dethtool.sh18 simple_if_init $h1 192.0.2.1/24
23 simple_if_fini $h1 192.0.2.1/24
38 h1=${NETIFS[p1]}
57 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
61 ethtool_set $h1 speed $speed autoneg off
64 setup_wait_dev_with_timeout $h1
66 ping_do $h1 192.0.2.2
73 ethtool -s $h1 autoneg on
82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0))
86 ethtool_set $h1 speed $speed1 autoneg off
[all …]
Dloopback.sh14 simple_if_init $h1 192.0.2.1/24
15 tc qdisc add dev $h1 clsact
20 tc qdisc del dev $h1 clsact
21 simple_if_fini $h1 192.0.2.1/24
38 tc filter add dev $h1 ingress protocol arp pref 1 handle 101 flower \
41 $MZ $h1 -c 1 -t arp -q
43 tc_check_packets "dev $h1 ingress" 101 1
46 ethtool -K $h1 loopback on
49 setup_wait_dev $h1
51 $MZ $h1 -c 1 -t arp -q
[all …]
Dbridge_mld.sh69 simple_if_init $h1 2001:db8:1::1/64
74 simple_if_fini $h1 2001:db8:1::1/64
114 h1=${NETIFS[p1]}
171 mldv2include_prepare $h1
207 mldv2include_prepare $h1
224 mldv2include_prepare $h1
226 $MZ $h1 -c 1 $MZPKT_ALLOW -q
245 mldv2include_prepare $h1
247 $MZ $h1 -c 1 $MZPKT_IS_INC2 -q
265 mldv2exclude_prepare $h1
[all …]
Drouter_broadcast.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1
24 ip route del 198.51.200.0/24 vrf vrf-h1
25 ip route del 198.51.100.0/24 vrf vrf-h1
27 ip address del 192.0.2.2/24 dev $h1
29 ip link set dev $h1 down
[all …]
Drouter_nh.sh16 ip link set dev $h1 master vrf-h1
18 ip link set dev vrf-h1 up
19 ip link set dev $h1 up
21 ip address add 192.0.2.2/24 dev $h1
22 ip address add 2001:db8:1::2/64 dev $h1
24 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
25 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
30 ip route del 2001:db8:2::/64 vrf vrf-h1
31 ip route del 198.51.100.0/24 vrf vrf-h1
33 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Dbridge_igmp.sh39 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
44 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
79 h1=${NETIFS[p1]}
118 mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2
134 mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2
210 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
227 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
229 $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW" -q
248 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
250 $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_INC2" -q
[all …]
Drouter_vid_1.sh11 ip link set dev vrf-h1 up
13 ip link set dev $h1 up
14 vlan_create $h1 1 vrf-h1 192.0.2.2/24 2001:db8:1::2/64
16 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
17 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
22 ip route del 2001:db8:2::/64 vrf vrf-h1
23 ip route del 198.51.100.0/24 vrf vrf-h1
25 vlan_destroy $h1 1
26 ip link set dev $h1 down
28 ip link set dev vrf-h1 down
[all …]
Drouter_bridge_vlan.sh14 simple_if_init $h1
15 vlan_create $h1 555 v$h1 192.0.2.1/28 2001:db8:1::1/64
16 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
17 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
22 ip -6 route del 2001:db8:2::/64 vrf v$h1
23 ip -4 route del 192.0.2.128/28 vrf v$h1
24 vlan_destroy $h1 555
25 simple_if_fini $h1
73 h1=${NETIFS[p1]}
117 ping_test $h1 192.0.2.130
[all …]
Dcustom_multipath_hash.sh56 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64
57 ip route add vrf v$h1 default via 198.51.100.1 dev $h1
58 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1
63 ip -6 route del vrf v$h1 default
64 ip route del vrf v$h1 default
65 simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64
136 h1=${NETIFS[p1]}
174 ping_test $h1 203.0.113.2
179 ping6_test $h1 2001:db8:4::2
184 $MZ $h1 -q -p 64 -A "198.51.100.2-198.51.100.253" -B 203.0.113.2 \
[all …]
Dtc_vlan_modify.sh15 simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64
16 vlan_create $h1 85 v$h1 192.0.2.17/28 2001:db8:2::1/64
21 vlan_destroy $h1 85
22 simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64
77 h1=${NETIFS[p1]}
107 ping_do $h1.85 192.0.2.18
110 ping6_do $h1.85 2001:db8:2::2
118 ping_do $h1.85 192.0.2.18
121 ping6_do $h1.85 2001:db8:2::2
134 ping_do $h1.85 192.0.2.18
[all …]
Drouter.sh25 ip link set dev $h1 master vrf-h1
27 ip link set dev vrf-h1 up
28 ip link set dev $h1 up
30 ip address add 192.0.2.2/24 dev $h1
31 ip address add 2001:db8:1::2/64 dev $h1
33 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
34 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
39 ip route del 2001:db8:2::/64 vrf vrf-h1
40 ip route del 198.51.100.0/24 vrf vrf-h1
42 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Dsch_ets_core.sh85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac
168 simple_if_init $h1
169 mtu_set $h1 9900
171 vlan_create $h1 1$i v$h1 $(sip $i)/28
172 ip link set dev $h1.1$i type vlan egress 0:$i
181 vlan_destroy $h1 1$i
183 mtu_restore $h1
184 simple_if_fini $h1
256 h1=${NETIFS[p1]}
285 ping_test $h1.10 $(dip 0) " vlan 10"
[all …]
Dmirror_gre_lag_lacp.sh82 vlan_host_create $h1 333 vrf-h1 192.0.2.1/28
83 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2
88 ip -4 route del 192.0.2.16/28 vrf vrf-h1
89 vlan_host_destroy $h1 333 vrf-h1
94 vlan_host_create $h1 555 vrf-h2 192.0.2.18/28
101 vlan_host_destroy $h1 555 vrf-h2
175 h1=${NETIFS[p1]}
186 ip link set dev $h1 up
207 ip link set dev $h1 down
229 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $up_dev 1 10
[all …]
Dip6_forward_instats_vrf.sh19 simple_if_init $h1 2001:1:1::2/64
20 ip -6 route add vrf v$h1 2001:1:2::/64 via 2001:1:1::1
25 ip -6 route del vrf v$h1 2001:1:2::/64 via 2001:1:1::1
26 simple_if_fini $h1 2001:1:1::2/64
61 h1=${NETIFS[p1]}
92 local vrf_name=$(master_name_get $h1)
109 local vrf_name=$(master_name_get $h1)
127 local vrf_name=$(master_name_get $h1)
146 local vrf_name=$(master_name_get $h1)
163 ping6_test $h1 2001:1:2::2
Drouter_mpath_nh.sh17 ip link set dev $h1 master vrf-h1
19 ip link set dev vrf-h1 up
20 ip link set dev $h1 up
22 ip address add 192.0.2.2/24 dev $h1
23 ip address add 2001:db8:1::2/64 dev $h1
25 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
26 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
31 ip route del 2001:db8:2::/64 vrf vrf-h1
32 ip route del 198.51.100.0/24 vrf vrf-h1
34 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Dgre_custom_multipath_hash.sh89 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64
90 ip route add vrf v$h1 default via 198.51.100.1 dev $h1
91 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1
96 ip -6 route del vrf v$h1 default
97 ip route del vrf v$h1 default
98 simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64
225 h1=${NETIFS[p1]}
269 ping_test $h1 203.0.113.2
274 ping6_test $h1 2001:db8:2::2
279 $MZ $h1 -q -p 64 -A "198.51.100.2-198.51.100.253" -B 203.0.113.2 \
[all …]
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_control.sh93 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
95 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
96 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
101 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
102 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
104 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
143 h1=${NETIFS[p1]}
171 devlink_trap_stats_test "STP" "stp" $MZ $h1 -c 1 -t bpdu -q
189 local h1mac=$(mac_get $h1)
191 devlink_trap_stats_test "LACP" "lacp" $MZ $h1 -c 1 \
[all …]
Ddevlink_trap_l3_exceptions.sh63 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
65 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
66 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
68 tc qdisc add dev $h1 clsact
73 tc qdisc del dev $h1 clsact
75 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
76 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
78 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
121 h1=${NETIFS[p1]}
157 ping_do $h1 198.51.100.1
[all …]
/Linux-v5.15/lib/crypto/
Dpoly1305-donna64.c42 u64 h0, h1, h2; in poly1305_core_blocks() local
56 h1 = state->h64[1]; in poly1305_core_blocks()
70 h1 += ((t0 >> 44) | (t1 << 20)) & 0xfffffffffffULL; in poly1305_core_blocks()
75 d = (u128)h1 * s2; in poly1305_core_blocks()
80 d = (u128)h1 * r0; in poly1305_core_blocks()
85 d = (u128)h1 * r1; in poly1305_core_blocks()
95 h1 = (u64)d1 & 0xfffffffffffULL; in poly1305_core_blocks()
102 h1 += c; in poly1305_core_blocks()
108 state->h64[1] = h1; in poly1305_core_blocks()
117 u64 h0, h1, h2, c; in poly1305_core_emit() local
[all …]
Dpoly1305-donna32.c38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
59 h1 = state->h[1]; in poly1305_core_blocks()
67 h1 += (get_unaligned_le32(&input[3]) >> 2) & 0x3ffffff; in poly1305_core_blocks()
73 d0 = ((u64)h0 * r0) + ((u64)h1 * s4) + in poly1305_core_blocks()
76 d1 = ((u64)h0 * r1) + ((u64)h1 * r0) + in poly1305_core_blocks()
79 d2 = ((u64)h0 * r2) + ((u64)h1 * r1) + in poly1305_core_blocks()
82 d3 = ((u64)h0 * r3) + ((u64)h1 * r2) + in poly1305_core_blocks()
85 d4 = ((u64)h0 * r4) + ((u64)h1 * r3) + in poly1305_core_blocks()
94 h1 = (u32)d1 & 0x3ffffff; in poly1305_core_blocks()
107 h1 += c; in poly1305_core_blocks()
[all …]
/Linux-v5.15/arch/arm64/crypto/
Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
118 ldp $h0,$h1,[$ctx] // load hash value
125 lsr $d2,$h1,#32
126 mov w15,w#$h1
131 mov w#$d2,w#$h1
132 lsr x15,$h1,#32
148 csel $h1,$h1,$d1,eq
159 adcs $h1,$h1,$t1
165 mul $t0,$h1,$s1 // h1*5*r1
166 umulh $t1,$h1,$s1
[all …]
/Linux-v5.15/lib/
Dtest_hash.c72 u32 h0 = (u32)h64, h1, h2; in test_int_hash() local
75 hash_or[0][0] |= h1 = __hash_32(h0); in test_int_hash()
79 if (h1 != h2) { in test_int_hash()
81 h0, h1, h2); in test_int_hash()
92 hash_or[0][k] |= h1 = hash_32(h0, k); in test_int_hash()
93 if (h1 > m) { in test_int_hash()
94 pr_err("hash_32(%#x, %d) = %#x > %#x", h0, k, h1, m); in test_int_hash()
100 if (h1 != h2) { in test_int_hash()
102 " = %#x", h0, k, h1, h2); in test_int_hash()
108 h0, k, h1, m); in test_int_hash()
[all …]
/Linux-v5.15/tools/testing/selftests/net/
Dicmp_redirect.sh145 for ns in h1 h2 r1 r2; do
175 for ns in h1 h2 r1 r2; do
198 ip -netns h1 li add eth0 type veth peer name r1h1
199 ip -netns h1 li set r1h1 netns r1 name eth0 up
201 ip -netns h1 li add eth1 type veth peer name r2h1
202 ip -netns h1 li set r2h1 netns r2 name eth0 up
223 ip -netns h1 li add br0 type bridge
225 ip -netns h1 li set br0 vrf ${VRF} up
227 ip -netns h1 li set br0 up
229 ip -netns h1 addr add dev br0 ${H1_N1_IP}/24
[all …]
Dvrf_route_leaking.sh176 for ns in h1 h2 r1 r2; do
216 for ns in h1 h2 r1; do
232 ip -netns h1 link add eth0 type veth peer name r1h1
233 ip -netns h1 link set r1h1 netns r1 name eth0 up
241 ip -netns h1 addr add dev eth0 ${H1_N1_IP}/24
242 ip -netns h1 -6 addr add dev eth0 ${H1_N1_IP6}/64 nodad
243 ip -netns h1 link set eth0 up
246 ip -netns h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0
247 ip -netns h1 -6 route add ${H2_N2_6} via "${R1_N1_IP6}" dev eth0
297 for ns in h1 h2 r1 r2; do
[all …]
/Linux-v5.15/arch/mips/crypto/
Dpoly1305-mips.pl226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
278 ld $h1,8($ctx)
369 daddu $d1,$h1,$in1
371 sltu $tmp1,$d1,$h1
378 mfhi ($h1,$r0,$d0)
390 daddu $h1,$tmp1
394 daddu $h1,$tmp0
395 daddu $h1,$tmp2
400 sltu $tmp2,$h1,$tmp2
405 daddu $h1,$tmp0
[all …]

1234567