diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-07 20:16:02 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-07 20:16:02 +0000 |
commit | 1e85be7dfb8909c9b5610ebccfc8c9a799c4351b (patch) | |
tree | a542c9d99e5d482e7b62d060c5fd3cb161607cfb | |
parent | 5fd8309e025e86b2fa98632f8ef5d75cf58034d1 (diff) |
we change dthe queue ID allocator so that all IDs moved by 1 now, and
ppp0/1 are no more by default
-rw-r--r-- | regress/sbin/pfctl/pfaltq1.ok | 8 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq10.ok | 20 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq11.ok | 28 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq12.ok | 8 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq13.ok | 8 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq14.ok | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq2.ok | 20 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq3.ok | 28 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq4.ok | 12 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq5.ok | 14 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq6.ok | 20 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq7.ok | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq8.in | 6 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq8.ok | 16 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq9.in | 6 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq9.ok | 16 |
16 files changed, 101 insertions, 117 deletions
diff --git a/regress/sbin/pfctl/pfaltq1.ok b/regress/sbin/pfctl/pfaltq1.ok index 384eb751c47..7971fee5ab6 100644 --- a/regress/sbin/pfctl/pfaltq1.ok +++ b/regress/sbin/pfctl/pfaltq1.ok @@ -1,8 +1,8 @@ queue one priq( default ) - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue one priq( default ) - [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=1 ifname=tun1000000 ifbandwidth=10Mb ] queue two priority 15 - [ qid=3 ifname=lo0 ifbandwidth=10Mb ] + [ qid=2 ifname=lo0 ifbandwidth=10Mb ] queue two priority 15 - [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] diff --git a/regress/sbin/pfctl/pfaltq10.ok b/regress/sbin/pfctl/pfaltq10.ok index 88f07237805..50c2dc57538 100644 --- a/regress/sbin/pfctl/pfaltq10.ok +++ b/regress/sbin/pfctl/pfaltq10.ok @@ -1,20 +1,20 @@ queue root_lo0 bandwidth 10Mb priority 0 {one, two} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue one bandwidth 1Mb hfsc( default ) - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] queue two bandwidth 9Mb {three, four} - [ qid=5 ifname=lo0 ifbandwidth=10Mb ] + [ qid=4 ifname=lo0 ifbandwidth=10Mb ] queue three bandwidth 4.50Mb - [ qid=6 ifname=lo0 ifbandwidth=10Mb ] + [ qid=5 ifname=lo0 ifbandwidth=10Mb ] queue four bandwidth 3.60Mb - [ qid=7 ifname=lo0 ifbandwidth=10Mb ] + [ qid=6 ifname=lo0 ifbandwidth=10Mb ] queue root_tun1000000 bandwidth 10Mb priority 0 {one, two} - [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] queue one bandwidth 1Mb hfsc( default ) - [ qid=4 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] queue two bandwidth 9Mb {three, four} - [ qid=5 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=4 ifname=tun1000000 ifbandwidth=10Mb ] queue three bandwidth 4.50Mb - [ qid=6 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=5 ifname=tun1000000 ifbandwidth=10Mb ] queue four bandwidth 3.60Mb - [ qid=7 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=6 ifname=tun1000000 ifbandwidth=10Mb ] diff --git a/regress/sbin/pfctl/pfaltq11.ok b/regress/sbin/pfctl/pfaltq11.ok index 91a7c3b6cb2..a94213b0910 100644 --- a/regress/sbin/pfctl/pfaltq11.ok +++ b/regress/sbin/pfctl/pfaltq11.ok @@ -1,28 +1,28 @@ queue root_lo0 bandwidth 10Mb priority 0 {eins, zwei, drei} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue eins bandwidth 1Mb hfsc( default ) - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] queue zwei bandwidth 8Mb {sub2, sub3} - [ qid=5 ifname=lo0 ifbandwidth=10Mb ] + [ qid=4 ifname=lo0 ifbandwidth=10Mb ] queue sub2 bandwidth 4Mb - [ qid=6 ifname=lo0 ifbandwidth=10Mb ] + [ qid=5 ifname=lo0 ifbandwidth=10Mb ] queue sub3 bandwidth 4Mb - [ qid=7 ifname=lo0 ifbandwidth=10Mb ] + [ qid=6 ifname=lo0 ifbandwidth=10Mb ] queue drei bandwidth 1Mb {subseven} - [ qid=8 ifname=lo0 ifbandwidth=10Mb ] + [ qid=7 ifname=lo0 ifbandwidth=10Mb ] queue subseven bandwidth 900Kb - [ qid=11 ifname=lo0 ifbandwidth=10Mb ] + [ qid=10 ifname=lo0 ifbandwidth=10Mb ] queue root_tun1000000 bandwidth 33.60Kb priority 0 {zwei, vier, fuenf} - [ qid=3 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=2 ifname=tun1000000 ifbandwidth=33.60Kb ] queue zwei bandwidth 26.88Kb {sub2, sub3} - [ qid=5 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=4 ifname=tun1000000 ifbandwidth=33.60Kb ] queue sub2 bandwidth 13.40Kb - [ qid=6 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=5 ifname=tun1000000 ifbandwidth=33.60Kb ] queue sub3 bandwidth 13.40Kb - [ qid=7 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=6 ifname=tun1000000 ifbandwidth=33.60Kb ] queue vier bandwidth 3.36Kb hfsc( default ) - [ qid=9 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=8 ifname=tun1000000 ifbandwidth=33.60Kb ] queue fuenf bandwidth 16.80Kb {subseven} - [ qid=10 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=9 ifname=tun1000000 ifbandwidth=33.60Kb ] queue subseven bandwidth 15.12Kb - [ qid=11 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=10 ifname=tun1000000 ifbandwidth=33.60Kb ] diff --git a/regress/sbin/pfctl/pfaltq12.ok b/regress/sbin/pfctl/pfaltq12.ok index 0bcff38b915..8e5ef81bd30 100644 --- a/regress/sbin/pfctl/pfaltq12.ok +++ b/regress/sbin/pfctl/pfaltq12.ok @@ -1,8 +1,8 @@ queue root_lo0 bandwidth 10Mb priority 0 {eins, zwei, drei} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue eins bandwidth 1Mb hfsc( default linkshare(2Mb 20 500Kb) ) - [ qid=3 ifname=lo0 ifbandwidth=10Mb ] + [ qid=2 ifname=lo0 ifbandwidth=10Mb ] queue zwei bandwidth 4Mb hfsc( linkshare 3.50Mb upperlimit 5Mb ) - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] queue drei bandwidth 5Mb hfsc( linkshare(6Mb 20 4Mb) upperlimit(6.50Mb 10 4.50Mb) ) - [ qid=5 ifname=lo0 ifbandwidth=10Mb ] + [ qid=4 ifname=lo0 ifbandwidth=10Mb ] diff --git a/regress/sbin/pfctl/pfaltq13.ok b/regress/sbin/pfctl/pfaltq13.ok index 3ee23d2b67c..6f63fd9046f 100644 --- a/regress/sbin/pfctl/pfaltq13.ok +++ b/regress/sbin/pfctl/pfaltq13.ok @@ -1,8 +1,8 @@ queue root_lo0 bandwidth 10Mb priority 0 {eins, zwei, drei} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue eins bandwidth 1Mb hfsc( default realtime(2Mb 20 500Kb) ) - [ qid=3 ifname=lo0 ifbandwidth=10Mb ] + [ qid=2 ifname=lo0 ifbandwidth=10Mb ] queue zwei bandwidth 4Mb hfsc( realtime 5Mb linkshare 3.50Mb ) - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] queue drei bandwidth 5Mb hfsc( realtime(6Mb 20 4Mb) upperlimit(6.50Mb 10 4.50Mb) ) - [ qid=5 ifname=lo0 ifbandwidth=10Mb ] + [ qid=4 ifname=lo0 ifbandwidth=10Mb ] diff --git a/regress/sbin/pfctl/pfaltq14.ok b/regress/sbin/pfctl/pfaltq14.ok index 073cb0e1743..66527f6a5dd 100644 --- a/regress/sbin/pfctl/pfaltq14.ok +++ b/regress/sbin/pfctl/pfaltq14.ok @@ -1,4 +1,4 @@ queue root_lo0 bandwidth 10Mb priority 0 {eins} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue eins bandwidth 1Mb hfsc( default linkshare(1.50Mb 20 1Mb) ) - [ qid=3 ifname=lo0 ifbandwidth=10Mb ] + [ qid=2 ifname=lo0 ifbandwidth=10Mb ] diff --git a/regress/sbin/pfctl/pfaltq2.ok b/regress/sbin/pfctl/pfaltq2.ok index 52256a246d2..ccdcbf5e2bf 100644 --- a/regress/sbin/pfctl/pfaltq2.ok +++ b/regress/sbin/pfctl/pfaltq2.ok @@ -1,20 +1,20 @@ queue root_lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {one, two} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue one bandwidth 1Mb cbq( default ) - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] queue two bandwidth 9Mb {three, four} - [ qid=5 ifname=lo0 ifbandwidth=10Mb ] + [ qid=4 ifname=lo0 ifbandwidth=10Mb ] queue three bandwidth 4.50Mb - [ qid=6 ifname=lo0 ifbandwidth=10Mb ] + [ qid=5 ifname=lo0 ifbandwidth=10Mb ] queue four bandwidth 3.60Mb - [ qid=7 ifname=lo0 ifbandwidth=10Mb ] + [ qid=6 ifname=lo0 ifbandwidth=10Mb ] queue root_tun1000000 bandwidth 10Mb priority 0 cbq( wrr root ) {one, two} - [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] queue one bandwidth 1Mb cbq( default ) - [ qid=4 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] queue two bandwidth 9Mb {three, four} - [ qid=5 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=4 ifname=tun1000000 ifbandwidth=10Mb ] queue three bandwidth 4.50Mb - [ qid=6 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=5 ifname=tun1000000 ifbandwidth=10Mb ] queue four bandwidth 3.60Mb - [ qid=7 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=6 ifname=tun1000000 ifbandwidth=10Mb ] diff --git a/regress/sbin/pfctl/pfaltq3.ok b/regress/sbin/pfctl/pfaltq3.ok index 69532cfee66..c308f31f342 100644 --- a/regress/sbin/pfctl/pfaltq3.ok +++ b/regress/sbin/pfctl/pfaltq3.ok @@ -1,28 +1,28 @@ queue root_lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {eins, zwei, drei} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue eins bandwidth 1Mb cbq( default ) - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] queue zwei bandwidth 8Mb {sub2, sub3} - [ qid=5 ifname=lo0 ifbandwidth=10Mb ] + [ qid=4 ifname=lo0 ifbandwidth=10Mb ] queue sub2 bandwidth 4Mb - [ qid=6 ifname=lo0 ifbandwidth=10Mb ] + [ qid=5 ifname=lo0 ifbandwidth=10Mb ] queue sub3 bandwidth 4Mb - [ qid=7 ifname=lo0 ifbandwidth=10Mb ] + [ qid=6 ifname=lo0 ifbandwidth=10Mb ] queue drei bandwidth 1Mb {subseven} - [ qid=8 ifname=lo0 ifbandwidth=10Mb ] + [ qid=7 ifname=lo0 ifbandwidth=10Mb ] queue subseven bandwidth 900Kb - [ qid=11 ifname=lo0 ifbandwidth=10Mb ] + [ qid=10 ifname=lo0 ifbandwidth=10Mb ] queue root_tun1000000 bandwidth 33.60Kb priority 0 cbq( wrr root ) {zwei, vier, fuenf} - [ qid=3 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=2 ifname=tun1000000 ifbandwidth=33.60Kb ] queue zwei bandwidth 26.88Kb {sub2, sub3} - [ qid=5 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=4 ifname=tun1000000 ifbandwidth=33.60Kb ] queue sub2 bandwidth 13.40Kb - [ qid=6 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=5 ifname=tun1000000 ifbandwidth=33.60Kb ] queue sub3 bandwidth 13.40Kb - [ qid=7 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=6 ifname=tun1000000 ifbandwidth=33.60Kb ] queue vier bandwidth 16.80Kb cbq( default ) - [ qid=9 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=8 ifname=tun1000000 ifbandwidth=33.60Kb ] queue fuenf bandwidth 16.80Kb {subseven} - [ qid=10 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=9 ifname=tun1000000 ifbandwidth=33.60Kb ] queue subseven bandwidth 15.12Kb - [ qid=11 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=10 ifname=tun1000000 ifbandwidth=33.60Kb ] diff --git a/regress/sbin/pfctl/pfaltq4.ok b/regress/sbin/pfctl/pfaltq4.ok index 49fe9f81e8a..ae9b27e915e 100644 --- a/regress/sbin/pfctl/pfaltq4.ok +++ b/regress/sbin/pfctl/pfaltq4.ok @@ -1,12 +1,12 @@ queue root_lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {bloody, germans} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue bloody bandwidth 5Mb cbq( default ) - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] queue germans bandwidth 5Mb - [ qid=5 ifname=lo0 ifbandwidth=10Mb ] + [ qid=4 ifname=lo0 ifbandwidth=10Mb ] queue root_tun1000000 bandwidth 10Mb priority 0 cbq( wrr root ) {bloody, toads} - [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] queue bloody bandwidth 5Mb cbq( default ) - [ qid=4 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] queue toads bandwidth 5Mb - [ qid=6 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=5 ifname=tun1000000 ifbandwidth=10Mb ] diff --git a/regress/sbin/pfctl/pfaltq5.ok b/regress/sbin/pfctl/pfaltq5.ok index 74719b0b03b..052756c3e9e 100644 --- a/regress/sbin/pfctl/pfaltq5.ok +++ b/regress/sbin/pfctl/pfaltq5.ok @@ -1,18 +1,18 @@ queue praise priq( default ) - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue wim priority 15 - [ qid=3 ifname=lo0 ifbandwidth=10Mb ] + [ qid=2 ifname=lo0 ifbandwidth=10Mb ] queue hi priority 7 - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] @0 pass in on lo0 proto tcp from any to any port = ssh keep state queue(hi, wim) [ Skip steps: d=end f=end p=end sa=end sp=end da=end dp=3 ] - [ queue: qname=hi qid=4 pqname=wim pqid=3 ] + [ queue: qname=hi qid=3 pqname=wim pqid=2 ] @1 pass in proto tcp from any to any port = ssh keep state queue(hi, wim) [ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=3 ] - [ queue: qname=hi qid=4 pqname=wim pqid=3 ] + [ queue: qname=hi qid=3 pqname=wim pqid=2 ] @2 pass in proto tcp from any to any port = ssh keep state queue wim [ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end ] - [ queue: qname=wim qid=3 pqname= pqid=3 ] + [ queue: qname=wim qid=2 pqname= pqid=2 ] @3 pass in proto tcp from any to any port = smtp keep state queue praise [ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=end ] - [ queue: qname=praise qid=2 pqname= pqid=2 ] + [ queue: qname=praise qid=1 pqname= pqid=1 ] diff --git a/regress/sbin/pfctl/pfaltq6.ok b/regress/sbin/pfctl/pfaltq6.ok index 3da623a0907..d59f464cc24 100644 --- a/regress/sbin/pfctl/pfaltq6.ok +++ b/regress/sbin/pfctl/pfaltq6.ok @@ -1,24 +1,24 @@ queue root_lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {wim, the, minibar, is, empty} - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue wim bandwidth 1Mb cbq( default ) - [ qid=3 ifname=lo0 ifbandwidth=10Mb ] + [ qid=2 ifname=lo0 ifbandwidth=10Mb ] queue the bandwidth 1Mb - [ qid=4 ifname=lo0 ifbandwidth=10Mb ] + [ qid=3 ifname=lo0 ifbandwidth=10Mb ] queue minibar bandwidth 8Mb priority 7 - [ qid=5 ifname=lo0 ifbandwidth=10Mb ] + [ qid=4 ifname=lo0 ifbandwidth=10Mb ] queue is bandwidth 1Mb - [ qid=6 ifname=lo0 ifbandwidth=10Mb ] + [ qid=5 ifname=lo0 ifbandwidth=10Mb ] queue empty bandwidth 9Mb - [ qid=7 ifname=lo0 ifbandwidth=10Mb ] + [ qid=6 ifname=lo0 ifbandwidth=10Mb ] @0 pass in on lo0 proto tcp from any to any port = ssh keep state queue(the, minibar) [ Skip steps: d=end f=end p=end sa=end sp=end da=end dp=3 ] - [ queue: qname=the qid=4 pqname=minibar pqid=5 ] + [ queue: qname=the qid=3 pqname=minibar pqid=4 ] @1 pass in proto tcp from any to any port = ssh keep state queue(is, empty) [ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=3 ] - [ queue: qname=is qid=6 pqname=empty pqid=7 ] + [ queue: qname=is qid=5 pqname=empty pqid=6 ] @2 pass in proto tcp from any to any port = ssh keep state queue the [ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end ] - [ queue: qname=the qid=4 pqname= pqid=4 ] + [ queue: qname=the qid=3 pqname= pqid=3 ] @3 pass in proto tcp from any to any port = smtp keep state queue wim [ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=end ] - [ queue: qname=wim qid=3 pqname= pqid=3 ] + [ queue: qname=wim qid=2 pqname= pqid=2 ] diff --git a/regress/sbin/pfctl/pfaltq7.ok b/regress/sbin/pfctl/pfaltq7.ok index fe250e95966..110e2a1cb2b 100644 --- a/regress/sbin/pfctl/pfaltq7.ok +++ b/regress/sbin/pfctl/pfaltq7.ok @@ -1,4 +1,4 @@ queue eins priority 2 priq( default ) - [ qid=2 ifname=lo0 ifbandwidth=10Mb ] + [ qid=1 ifname=lo0 ifbandwidth=10Mb ] queue zwei priority 2 priq( default ) - [ qid=3 ifname=tun1000000 ifbandwidth=33.60Kb ] + [ qid=2 ifname=tun1000000 ifbandwidth=33.60Kb ] diff --git a/regress/sbin/pfctl/pfaltq8.in b/regress/sbin/pfctl/pfaltq8.in index 483d2174425..93e707e8959 100644 --- a/regress/sbin/pfctl/pfaltq8.in +++ b/regress/sbin/pfctl/pfaltq8.in @@ -1,7 +1,7 @@ # queuespec limited to interface(s) -altq on { ppp0 ppp1 tun1000000 tun1000001 } priq bandwidth 10Mb queue { one two } +altq on { tun1000000 tun1000001 } priq bandwidth 10Mb queue { one two } queue one priority 1 priq(default) -queue two on ppp0 priority 15 -queue two on { ppp1 tun1000000 tun1000001 } priority 0 +queue two on tun1000000 priority 15 +queue two on tun1000001 priority 0 diff --git a/regress/sbin/pfctl/pfaltq8.ok b/regress/sbin/pfctl/pfaltq8.ok index d1159fa3323..80dd7830602 100644 --- a/regress/sbin/pfctl/pfaltq8.ok +++ b/regress/sbin/pfctl/pfaltq8.ok @@ -1,16 +1,8 @@ queue one priq( default ) - [ qid=2 ifname=ppp0 ifbandwidth=10Mb ] + [ qid=1 ifname=tun1000000 ifbandwidth=10Mb ] queue one priq( default ) - [ qid=2 ifname=ppp1 ifbandwidth=10Mb ] -queue one priq( default ) - [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] -queue one priq( default ) - [ qid=2 ifname=tun1000001 ifbandwidth=10Mb ] + [ qid=1 ifname=tun1000001 ifbandwidth=10Mb ] queue two priority 15 - [ qid=3 ifname=ppp0 ifbandwidth=10Mb ] -queue two priority 0 - [ qid=3 ifname=ppp1 ifbandwidth=10Mb ] -queue two priority 0 - [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] queue two priority 0 - [ qid=3 ifname=tun1000001 ifbandwidth=10Mb ] + [ qid=2 ifname=tun1000001 ifbandwidth=10Mb ] diff --git a/regress/sbin/pfctl/pfaltq9.in b/regress/sbin/pfctl/pfaltq9.in index fdf857d61b5..f9d15482cf4 100644 --- a/regress/sbin/pfctl/pfaltq9.in +++ b/regress/sbin/pfctl/pfaltq9.in @@ -1,8 +1,8 @@ # queuespec limited to interface(s): negation -altq on { ppp0 ppp1 tun1000000 tun1000001 } priq bandwidth 10Mb queue { one two } +altq on { tun1000000 tun1000001 } priq bandwidth 10Mb queue { one two } queue one priority 1 priq(default) -queue two on ppp0 priority 15 -queue two on ! ppp0 priority 0 +queue two on tun1000000 priority 15 +queue two on ! tun1000000 priority 0 diff --git a/regress/sbin/pfctl/pfaltq9.ok b/regress/sbin/pfctl/pfaltq9.ok index d1159fa3323..80dd7830602 100644 --- a/regress/sbin/pfctl/pfaltq9.ok +++ b/regress/sbin/pfctl/pfaltq9.ok @@ -1,16 +1,8 @@ queue one priq( default ) - [ qid=2 ifname=ppp0 ifbandwidth=10Mb ] + [ qid=1 ifname=tun1000000 ifbandwidth=10Mb ] queue one priq( default ) - [ qid=2 ifname=ppp1 ifbandwidth=10Mb ] -queue one priq( default ) - [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] -queue one priq( default ) - [ qid=2 ifname=tun1000001 ifbandwidth=10Mb ] + [ qid=1 ifname=tun1000001 ifbandwidth=10Mb ] queue two priority 15 - [ qid=3 ifname=ppp0 ifbandwidth=10Mb ] -queue two priority 0 - [ qid=3 ifname=ppp1 ifbandwidth=10Mb ] -queue two priority 0 - [ qid=3 ifname=tun1000000 ifbandwidth=10Mb ] + [ qid=2 ifname=tun1000000 ifbandwidth=10Mb ] queue two priority 0 - [ qid=3 ifname=tun1000001 ifbandwidth=10Mb ] + [ qid=2 ifname=tun1000001 ifbandwidth=10Mb ] |