On Mon Nov 5 2012 12:15, Wesley wrote: > Hi, > > In OpenBSD 5.2, does this line : "pass all tos lowdelay" do the same > job that using altq/priq (see below)?
No. > ext_if="kue0" > altq on $ext_if priq bandwidth 100Kb queue { q_pri, q_def } > queue q_pri priority 7 > queue q_def priority 1 priq(default) > pass out on $ext_if proto tcp from $ext_if to any flags S/SA \ > keep state queue (q_def, q_pri) The above pass rule says "pass all packets with lowdelay TOS flag set", the other says "pass packets leaving the interface and put them into queue q_def, and if they have the lowdelay TOS flag set, put them into queue q_pri, instead".