Home
last modified time | relevance | path

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

1234

/Linux-v4.19/tools/testing/selftests/net/forwarding/
Drouter.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
17 ip address add 2001:db8:1::2/64 dev $h1
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
28 ip address del 2001:db8:1::2/64 dev $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_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 …]
Dmirror_gre_bridge_1q_lag.sh84 vlan_host_create $h1 333 vrf-h1 192.0.2.1/28
85 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2
90 ip -4 route del 192.0.2.16/28 vrf vrf-h1
91 vlan_host_destroy $h1 333 vrf-h1
96 vlan_host_create $h1 555 vrf-h2 192.0.2.18/28
103 vlan_host_destroy $h1 555 vrf-h2
175 h1=${NETIFS[p1]}
186 ip link set dev $h1 up
209 ip link set dev $h1 down
232 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $host_dev 1 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 …]
Drouter_bridge.sh13 simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64
14 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
15 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
20 ip -6 route del 2001:db8:2::/64 vrf v$h1
21 ip -4 route del 192.0.2.128/28 vrf v$h1
22 simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64
66 h1=${NETIFS[p1]}
98 ping_test $h1 192.0.2.130
103 ping6_test $h1 2001:db8:2::2
Dbridge_vlan_unaware.sh10 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
15 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
51 h1=${NETIFS[p1]}
79 ping_test $h1 192.0.2.2
84 ping6_test $h1 2001:db8:1::2
89 learning_test "br0" $swp1 $h1 $h2
94 flood_test $swp2 $h1 $h2
Dbridge_vlan_aware.sh11 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
16 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
53 h1=${NETIFS[p1]}
81 ping_test $h1 192.0.2.2
86 ping6_test $h1 2001:db8:1::2
91 learning_test "br0" $swp1 $h1 $h2
96 flood_test $swp2 $h1 $h2
Drouter_multipath.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
17 ip address add 2001:db8:1::2/64 dev $h1
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
28 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Dtc_flower.sh14 simple_if_init $h1 192.0.2.1/24 198.51.100.1/24
19 simple_if_fini $h1 192.0.2.1/24 198.51.100.1/24
45 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
71 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
97 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
108 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
131 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
142 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
167 $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
182 $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
[all …]
Dtc_actions.sh14 simple_if_init $h1 192.0.2.1/24
19 simple_if_fini $h1 192.0.2.1/24
59 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
69 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
88 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
97 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
126 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
135 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
153 h1=${NETIFS[p1]}
159 h1mac=$(mac_get $h1)
Dbridge_port_isolation.sh11 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
16 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
71 h1=${NETIFS[p1]}
105 ping_do $h1 192.0.2.2
118 ping6_do $h1 2001:db8:1::2
134 flood_test_do false $mac $ip $h1 $h2
Dtc_shblocks.sh13 simple_if_init $h1 192.0.2.1/24
18 simple_if_fini $h1 192.0.2.1/24
56 $MZ $h1 -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
75 h1=${NETIFS[p1]}
81 h1mac=$(mac_get $h1)
Dgre_multipath.sh68 simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64
69 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
74 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
75 simple_if_fini $h1 192.0.2.1/28
176 h1=${NETIFS[p1]}
217 ip vrf exec v$h1 \
218 $MZ $h1 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \
236 ping_test $h1 192.0.2.18
/Linux-v4.19/lib/
Dtest_hash.c71 u32 h0 = (u32)h64, h1, h2; in test_int_hash() local
74 hash_or[0][0] |= h1 = __hash_32(h0); in test_int_hash()
78 if (h1 != h2) { in test_int_hash()
80 h0, h1, h2); in test_int_hash()
91 hash_or[0][k] |= h1 = hash_32(h0, k); in test_int_hash()
92 if (h1 > m) { in test_int_hash()
93 pr_err("hash_32(%#x, %d) = %#x > %#x", h0, k, h1, m); in test_int_hash()
99 if (h1 != h2) { in test_int_hash()
101 " = %#x", h0, k, h1, h2); in test_int_hash()
107 h0, k, h1, m); in test_int_hash()
[all …]
/Linux-v4.19/crypto/
Dpoly1305_generic.c100 u32 h0, h1, h2, h3, h4; in poly1305_blocks() local
122 h1 = dctx->h[1]; in poly1305_blocks()
131 h1 += (get_unaligned_le32(src + 3) >> 2) & 0x3ffffff; in poly1305_blocks()
137 d0 = mlt(h0, r0) + mlt(h1, s4) + mlt(h2, s3) + in poly1305_blocks()
139 d1 = mlt(h0, r1) + mlt(h1, r0) + mlt(h2, s4) + in poly1305_blocks()
141 d2 = mlt(h0, r2) + mlt(h1, r1) + mlt(h2, r0) + in poly1305_blocks()
143 d3 = mlt(h0, r3) + mlt(h1, r2) + mlt(h2, r1) + in poly1305_blocks()
145 d4 = mlt(h0, r4) + mlt(h1, r3) + mlt(h2, r2) + in poly1305_blocks()
150 d2 += sr(d1, 26); h1 = and(d1, 0x3ffffff); in poly1305_blocks()
154 h1 += h0 >> 26; h0 = h0 & 0x3ffffff; in poly1305_blocks()
[all …]
/Linux-v4.19/tools/testing/selftests/drivers/net/mlxsw/
Dqos_dscp_router.sh57 simple_if_init $h1 192.0.2.1/28
58 tc qdisc add dev $h1 clsact
59 dscp_capture_install $h1 0
60 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
65 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
66 dscp_capture_uninstall $h1 0
67 tc qdisc del dev $h1 clsact
68 simple_if_fini $h1 192.0.2.1/28
119 h1=${NETIFS[p1]}
147 ping_test $h1 192.0.2.18
[all …]
Dqos_dscp_bridge.sh41 simple_if_init $h1 192.0.2.1/28
42 tc qdisc add dev $h1 clsact
43 dscp_capture_install $h1 10
48 dscp_capture_uninstall $h1 10
49 tc qdisc del dev $h1 clsact
50 simple_if_fini $h1 192.0.2.1/28
104 h1=${NETIFS[p1]}
130 ping_test $h1 192.0.2.2
178 dscp_ping_test v$h1 192.0.2.1 192.0.2.2 $prio $h1 $h2
Dtc_flower_scale.sh14 simple_if_init $h1
15 tc qdisc add dev $h1 clsact
20 tc qdisc del dev $h1 clsact
21 simple_if_fini $h1
38 h1=${NETIFS[p1]}
98 $MZ $h1 -q -c 1 -t ip -p 20 -b bc -6 \
Drouter_scale.sh8 simple_if_init $h1 192.0.1.1/24
9 ip route add 193.0.0.0/8 via 192.0.1.2 dev $h1
14 ip route del 193.0.0.0/8 via 192.0.1.2 dev $h1
15 simple_if_fini $h1 192.0.1.1/24
50 h1=${NETIFS[p1]}
56 h1mac=$(mac_get $h1)
139 $MZ $h1 -c 1 -p 64 -a $h1mac -b $rp1mac \
/Linux-v4.19/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh20 simple_if_init $h1 192.0.2.1/24 198.51.100.1/24
25 simple_if_fini $h1 192.0.2.1/24 198.51.100.1/24
51 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
60 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
66 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 198.51.100.1 -B 198.51.100.2 \
74 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 198.51.100.1 -B 198.51.100.2 \
99 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
107 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
116 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
124 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
[all …]
/Linux-v4.19/net/sched/
Dcls_rsvp.h137 unsigned int h1, h2; in rsvp_classify() local
171 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify()
174 for (s = rcu_dereference_bh(head->ht[h1]); s; in rsvp_classify()
230 unsigned int h1 = h & 0xFF; in rsvp_replace() local
233 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_replace()
256 unsigned int h1 = handle & 0xFF; in rsvp_get() local
262 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_get()
318 int h1, h2; in rsvp_destroy() local
323 for (h1 = 0; h1 < 256; h1++) { in rsvp_destroy()
326 while ((s = rtnl_dereference(data->ht[h1])) != NULL) { in rsvp_destroy()
[all …]
Dcls_route.c224 unsigned int h1, h2; in route4_get() local
226 h1 = to_hash(handle); in route4_get()
227 if (h1 > 256) in route4_get()
234 b = rtnl_dereference(head->table[h1]); in route4_get()
282 int h1, h2; in route4_destroy() local
287 for (h1 = 0; h1 <= 256; h1++) { in route4_destroy()
290 b = rtnl_dereference(head->table[h1]); in route4_destroy()
307 RCU_INIT_POINTER(head->table[h1], NULL); in route4_destroy()
323 int i, h1; in route4_delete() local
367 for (h1 = 0; h1 <= 256; h1++) { in route4_delete()
[all …]
/Linux-v4.19/drivers/media/common/saa7146/
Dsaa7146_i2c.c30 int h1, h2; in saa7146_i2c_msg_prepare() local
61 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
62 op[h1] |= cpu_to_le32( (u8)addr << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
63 op[h1] |= cpu_to_le32(SAA7146_I2C_START << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
69 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
70 op[h1] |= cpu_to_le32( (u32)((u8)m[i].buf[j]) << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
71 op[h1] |= cpu_to_le32( SAA7146_I2C_CONT << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
79 h1 = (op_count-1)/3; h2 = (op_count-1)%3; in saa7146_i2c_msg_prepare()
80 if ( SAA7146_I2C_CONT == (0x3 & (le32_to_cpu(op[h1]) >> ((3-h2)*2))) ) { in saa7146_i2c_msg_prepare()
81 op[h1] &= ~cpu_to_le32(0x2 << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
[all …]
/Linux-v4.19/drivers/mtd/
Dnftlmount.c40 struct nftl_uci1 h1; in find_boot_record() local
94 (char *)&h1); in find_boot_record()
105 if (le16_to_cpu(h1.EraseMark | h1.EraseMark1) != ERASE_MARK) { in find_boot_record()
108 le16_to_cpu(h1.EraseMark), le16_to_cpu(h1.EraseMark1)); in find_boot_record()
506 struct nftl_uci1 h1; in check_and_mark_free_block() local
512 &retlen, (char *)&h1) < 0) in check_and_mark_free_block()
515 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in check_and_mark_free_block()
523 h1.EraseMark = cpu_to_le16(ERASE_MARK); in check_and_mark_free_block()
524 h1.EraseMark1 = cpu_to_le16(ERASE_MARK); in check_and_mark_free_block()
525 h1.WearInfo = cpu_to_le32(0); in check_and_mark_free_block()
[all …]

1234