diff options
author | 2002-11-28 14:51:05 +0000 | |
---|---|---|
committer | 2002-11-28 14:51:05 +0000 | |
commit | ed7b8a22a5270071a8c089b533cb7fe991b25c68 (patch) | |
tree | fb1da197ac991378e5e96cc6de0bd8a3fab1dd97 | |
parent | qlimit before tbrsize (diff) | |
download | wireguard-openbsd-ed7b8a22a5270071a8c089b533cb7fe991b25c68.tar.xz wireguard-openbsd-ed7b8a22a5270071a8c089b533cb7fe991b25c68.zip |
test qlimit on altq rule
-rw-r--r-- | regress/sbin/pfctl/pf35.in | 3 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf35.ok | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/pf35.in b/regress/sbin/pfctl/pf35.in index a85b2573ab8..a7d04741aa4 100644 --- a/regress/sbin/pfctl/pf35.in +++ b/regress/sbin/pfctl/pf35.in @@ -1,12 +1,13 @@ #test matching on tos; test queue rules which specify qlimit, test altq rule #with tbrsize specification, test queue rules which do not specify bandwidth, #test queue rule which doesn't specify anything +#test altq rule with qlimit spec intf = "lo0" developerhosts="10.0.0.0/24" employeehosts="10.0.1.0/24" -altq on $intf scheduler cbq(ecn) bandwidth 10Mb tbrsize 5000 \ +altq on $intf scheduler cbq(ecn) bandwidth 10Mb qlimit 100 tbrsize 5000 \ queue { std, http, mail, ssh } queue std bandwidth 10% qlimit 1 cbq(default) diff --git a/regress/sbin/pfctl/pf35.ok b/regress/sbin/pfctl/pf35.ok index f1cc4e6cc45..690e4fc97ca 100644 --- a/regress/sbin/pfctl/pf35.ok +++ b/regress/sbin/pfctl/pf35.ok @@ -1,7 +1,7 @@ intf = lo0 developerhosts = 10.0.0.0/24 employeehosts = 10.0.1.0/24 -altq on lo0 scheduler cbq( red ecn ) bandwidth 10.00Mb tbrsize 5000 queue { std http mail ssh } +altq on lo0 scheduler cbq( red ecn ) bandwidth 10.00Mb qlimit 100 tbrsize 5000 queue { std http mail ssh } queue std bandwidth 1000.00Kb qlimit 1 cbq( default ) queue http bandwidth 6.00Mb priority 2 cbq( red borrow ) { employees developers } queue developers bandwidth 6.00Mb |