Lines Matching +full:1 +full:p

12 # |    | 2001:db8:1::1/64           |
15 # | | default via 2001:db8:1::2 |
22 # | 2001:db8:1::2/64 |
34 # | | 2001:db8:2::1/64 |
95 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
98 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
103 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
106 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
111 simple_if_init $h2 198.51.100.1/24 2001:db8:2::1/64
122 simple_if_fini $h2 198.51.100.1/24 2001:db8:2::1/64
130 __addr_add_del $rp1 add 192.0.2.2/24 2001:db8:1::2/64
137 __addr_add_del $rp1 del 192.0.2.2/24 2001:db8:1::2/64
173 devlink_trap_stats_test "STP" "stp" $MZ $h1 -c 1 -t bpdu -q
178 local source_mac=$1; shift
179 local p
181 p=$(:
186 echo $p
193 devlink_trap_stats_test "LACP" "lacp" $MZ $h1 -c 1 \
194 $(lacp_payload_get $h1mac) -p 100 -q
199 local source_mac=$1; shift
200 local p
202 p=$(:
207 echo $p
214 devlink_trap_stats_test "LLDP" "lldp" $MZ $h1 -c 1 \
215 $(lldp_payload_get $h1mac) -p 100 -q
222 $MZ $h1 -c 1 -a own -b 01:00:5E:00:00:01 \
223 -A 192.0.2.1 -B 224.0.0.1 -t ip proto=2,p=11 -p 100 -q
228 # IGMP (IP Protocol 2) Version 1 Membership Report (Type 0x12)
229 devlink_trap_stats_test "IGMP Version 1 Membership Report" \
230 "igmp_v1_report" $MZ $h1 -c 1 -a own -b 01:00:5E:00:00:01 \
231 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=12 -p 100 -q
238 "igmp_v2_report" $MZ $h1 -c 1 -a own -b 01:00:5E:00:00:01 \
239 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=16 -p 100 -q
246 "igmp_v3_report" $MZ $h1 -c 1 -a own -b 01:00:5E:00:00:01 \
247 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=22 -p 100 -q
254 "igmp_v2_leave" $MZ $h1 -c 1 -a own -b 01:00:5E:00:00:02 \
255 -A 192.0.2.1 -B 224.0.0.2 -t ip proto=2,p=17 -p 100 -q
260 local type=$1; shift
261 local p
264 p=$(:
272 echo $p
279 $MZ $h1 -6 -c 1 -A fe80::1 -B ff02::1 \
280 -t ip hop=1,next=0,payload=$(mld_payload_get 130) -p 100 -q
285 # MLD Version 1 Multicast Listener Report (Type 131)
286 devlink_trap_stats_test "MLD Version 1 Multicast Listener Report" \
287 "mld_v1_report" $MZ $h1 -6 -c 1 -A fe80::1 -B ff02::16 \
288 -t ip hop=1,next=0,payload=$(mld_payload_get 131) -p 100 -q
295 "mld_v2_report" $MZ $h1 -6 -c 1 -A fe80::1 -B ff02::16 \
296 -t ip hop=1,next=0,payload=$(mld_payload_get 143) -p 100 -q
301 # MLD Version 1 Multicast Listener Done (Type 132)
302 devlink_trap_stats_test "MLD Version 1 Multicast Listener Done" \
303 "mld_v1_done" $MZ $h1 -6 -c 1 -A fe80::1 -B ff02::16 \
304 -t ip hop=1,next=0,payload=$(mld_payload_get 132) -p 100 -q
310 $MZ $h1 -c 1 -a own -b bcast -A 0.0.0.0 -B 255.255.255.255 \
311 -t udp sp=68,dp=67 -p 100 -q
314 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) -A 192.0.2.1 \
315 -B 255.255.255.255 -t udp sp=67,dp=68 -p 100 -q
321 $MZ $h1 -6 -c 1 -A fe80::1 -B ff02::1:2 -t udp sp=546,dp=547 \
322 -p 100 -q
325 $MZ $h1 -6 -c 1 -A fe80::1 -B ff02::1:2 -t udp sp=547,dp=546 \
326 -p 100 -q
332 $MZ $h1 -c 1 -a own -b bcast -t arp request -p 100 -q
338 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) -t arp reply -p 100 -q
343 local type=$1; shift
344 local p
347 p=$(:
352 echo $p
358 "ipv6_neigh_solicit" $MZ $h1 -6 -c 1 \
359 -A fe80::1 -B ff02::1:ff00:02 \
360 -t ip hop=1,next=58,payload=$(icmpv6_header_get 135) -p 100 -q
366 "ipv6_neigh_advert" $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
367 -A fe80::1 -B 2001:db8:1::2 \
368 -t ip hop=1,next=58,payload=$(icmpv6_header_get 136) -p 100 -q
374 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
375 -A 192.0.2.1 -B 192.0.2.2 -t udp sp=49153,dp=3784 -p 100 -q
378 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
379 -A 192.0.2.1 -B 192.0.2.2 -t udp sp=49153,dp=3785 -p 100 -q
385 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
386 -A 2001:db8:1::1 -B 2001:db8:1::2 \
387 -t udp sp=49153,dp=3784 -p 100 -q
390 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
391 -A 2001:db8:1::1 -B 2001:db8:1::2 \
392 -t udp sp=49153,dp=3785 -p 100 -q
398 $MZ $h1 -c 1 -a own -b 01:00:5e:00:00:05 \
399 -A 192.0.2.1 -B 224.0.0.5 -t ip proto=89 -p 100 -q
402 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
403 -A 192.0.2.1 -B 192.0.2.2 -t ip proto=89 -p 100 -q
409 $MZ $h1 -6 -c 1 -a own -b 33:33:00:00:00:05 \
410 -A fe80::1 -B ff02::5 -t ip next=89 -p 100 -q
413 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
414 -A 2001:db8:1::1 -B 2001:db8:1::2 -t ip next=89 -p 100 -q
420 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
422 -p 100 -q
428 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
429 -A 2001:db8:1::1 -B 2001:db8:1::2 \
430 -t tcp sp=54321,dp=179,flags=rst -p 100 -q
436 $MZ $h1 -c 1 -a own -b 01:00:5e:00:00:12 \
437 -A 192.0.2.1 -B 224.0.0.18 -t ip proto=112 -p 100 -q
443 $MZ $h1 -6 -c 1 -a own -b 33:33:00:00:00:12 \
444 -A fe80::1 -B ff02::12 -t ip next=112 -p 100 -q
450 $MZ $h1 -c 1 -a own -b 01:00:5e:00:00:0d \
451 -A 192.0.2.1 -B 224.0.0.13 -t ip proto=103 -p 100 -q
454 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
455 -A 192.0.2.1 -B 192.0.2.2 -t ip proto=103 -p 100 -q
461 $MZ $h1 -6 -c 1 -a own -b 33:33:00:00:00:0d \
462 -A fe80::1 -B ff02::d -t ip next=103 -p 100 -q
465 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
466 -A fe80::1 -B 2001:db8:1::2 -t ip next=103 -p 100 -q
476 ip -6 neigh add 2001:db8:1::3 lladdr 00:11:22:33:44:55 nud permanent \
480 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
481 -A 192.0.2.1 -B 192.0.2.3 -t udp sp=54321,dp=12345 -p 100 -q
484 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
485 -A 2001:db8:1::1 -B 2001:db8:1::3 -t udp sp=54321,dp=12345 \
486 -p 100 -q
488 ip -6 neigh del 2001:db8:1::3 dev $rp1
497 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
498 -A 192.0.2.3 -B 192.0.2.2 -t udp sp=54321,dp=12345 -p 100 -q
501 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
502 -A 2001:db8:1::3 -B 2001:db8:1::2 -t udp sp=54321,sp=12345 \
503 -p 100 -q
512 ip -6 address add 2001:db8:10::1/64 dev dummy10
515 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
516 -A 192.0.2.1 -B 203.0.113.2 -t udp sp=54321,dp=12345 -p 100 -q
519 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
520 -A 2001:db8:1::1 -B 2001:db8:10::2 -t udp sp=54321,sp=12345 \
521 -p 100 -q
523 ip -6 address del 2001:db8:10::1/64 dev dummy10
531 ip -6 route add fe80:1::/64 dev $rp2
536 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
537 -A fe80::1 -B fe80:1::2 -t udp sp=54321,sp=12345 \
538 -p 100 -q
540 ip -6 route del fe80:1::/64 dev $rp2
545 local p
548 p=$(:
553 echo $p
559 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
561 -t ip option=$(ipv4_router_alert_get) -p 100 -q
566 local p
570 p=$(:
575 echo $p
581 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
582 -A 2001:db8:1::1 -B 2001:db8:1::3 \
583 -t ip next=0,payload=$(ipv6_router_alert_get) -p 100 -q
590 $MZ $h1 -6 -c 1 -a own -b 33:33:00:00:00:01 \
591 -A 2001:db8:1::1 -B ff02::1 -t udp sp=12345,dp=54321 -p 100 -q
598 $MZ $h1 -6 -c 1 -a own -b 33:33:00:00:00:02 \
599 -A 2001:db8:1::1 -B ff02::2 -t udp sp=12345,dp=54321 -p 100 -q
606 $MZ $h1 -6 -c 1 -a own -b 33:33:00:00:00:02 \
607 -A fe80::1 -B ff02::2 \
608 -t ip hop=1,next=58,payload=$(icmpv6_header_get 133) -p 100 -q
615 $MZ $h1 -6 -c 1 -a own -b 33:33:00:00:00:01 \
616 -A fe80::1 -B ff02::1 \
617 -t ip hop=1,next=58,payload=$(icmpv6_header_get 134) -p 100 -q
624 $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
625 -A fe80::1 -B 2001:db8:1::2 \
626 -t ip hop=1,next=58,payload=$(icmpv6_header_get 137) -p 100 -q
631 mlxsw_only_on_spectrum 1 || return
635 $MZ $h1 -c 1 -a own -b 01:00:5e:00:01:81 \
637 -t udp sp=12345,dp=319,payload=10 -p 100 -q
642 mlxsw_only_on_spectrum 1 || return
646 $MZ $h1 -c 1 -a own -b 01:00:5e:00:01:81 \
648 -t udp sp=12345,dp=320,payload=1b -p 100 -q
655 tc filter add dev $rp1 ingress proto all pref 1 handle 101 matchall \
656 skip_sw action sample rate 1 group 1
659 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
660 -A 192.0.2.1 -B 198.51.100.1 -t udp sp=12345,dp=54321 -p 100 -q
662 tc filter del dev $rp1 ingress proto all pref 1 handle 101 matchall
670 tc filter add dev $rp1 ingress proto ip pref 1 handle 101 flower \
674 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
675 -A 192.0.2.1 -B 198.51.100.1 -t udp sp=12345,dp=54321 -p 100 -q
677 tc filter del dev $rp1 ingress proto ip pref 1 handle 101 flower
683 local source_mac=$1; shift
684 local p
686 p=$(:
691 echo $p
698 devlink_trap_stats_test "EAPOL" "eapol" $MZ $h1 -c 1 \
699 $(eapol_payload_get $h1mac) -p 100 -q