[BACK]Return to queue3 CVS log [TXT][DIR] Up to [local] / src / share / pf

Annotation of src/share/pf/queue3, Revision 1.2

1.2     ! henning     1: # $OpenBSD$
1.1       henning     2: # simple PRIQ example
                      3:
                      4: ext_if="lo0"
                      5:
                      6: altq on $ext_if priq bandwidth 10Mb queue { pri-low pri-med pri-high }
                      7: queue pri-low priority 0
                      8: queue pri-med priority 1 priq(default)
                      9: queue pri-high priority 2
                     10:
                     11: pass out on $ext_if proto tcp from any to any port 22 keep state \
                     12:     queue(pri-med, pri-high)
                     13: pass out on $ext_if proto tcp from any to any port 80 keep state queue pri-med
                     14: pass in  on $ext_if proto tcp from any to any port 80 keep state queue pri-low
                     15: