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