]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Test the match keyword
authorKristof Provost <kp@FreeBSD.org>
Tue, 2 Mar 2021 15:57:27 +0000 (16:57 +0100)
committerKristof Provost <kp@FreeBSD.org>
Sat, 31 Jul 2021 09:14:31 +0000 (11:14 +0200)
commit4f2821ab53dbfbe08ecf02caff78afff54bdedaa
treebfe5c87c54e6713d5422dc2d81bad28f4c3b9c3b
parentc6fd64da525a31890e42cef5665daeba665570d0
pf tests: Test the match keyword

The new match keyword can currently only assign queues, so we can only
test it with ALTQ.
Set up a basic scenario where we use 'match' to assign ICMP traffic to a
slow queue, and confirm that it's really getting slowed down.

MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D31116

(cherry picked from commit d363ebc78cbb50bc334d74fb5bb755af53c69ff0)
tests/sys/netpfil/pf/altq.sh