Annotation of src/share/pf/queue3, Revision 1.3
1.3 ! mcbride 1: # $OpenBSD: queue3,v 1.2 2003/01/20 16:14:23 henning Exp $
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:
1.3 ! mcbride 11: pass out on $ext_if proto tcp from any to any port 22 \
1.1 henning 12: queue(pri-med, pri-high)
1.3 ! mcbride 13: pass out on $ext_if proto tcp from any to any port 80 queue pri-med
! 14: pass in on $ext_if proto tcp from any to any port 80 queue pri-low
1.1 henning 15: