I was under the impression that the packet priority was always set to
3 prior to the pf ruleset evaluation (ignoring VLAN and CARP for a
moment), and that 'set prio' on an inbound rule only affected
returning traffic that matched the state entry. Here's an artificial
example:

pass out on $wan
pass in on $lan set prio 7

What will be the priority of outbound packets on the $wan interface, 3
or 7? Looking at the code in pf.c, the priority is copied to
m->m_pkthdr.pf.prio, but I'm not sure where this value is initialized
or reset.

Reply via email to