Ok, maybe I was far from current state of PF rules... Let's do step by step.
For start discussion I will use this more or less real example:
altq on $ext_if cbq bandwidth 100Mb queue { std, pq }
queue std bandwidth 98Mb cbq(default, borrow)
queue pq bandwidth 1024Kb cbq { pq_1, pq_2, pq_3, pq_4
* Anton Maksimenkov anton...@gmail.com [2009-05-30 07:58]:
In the last stage I want implement automatically creation of subqueues
by using some keyword for parent queue. For example:
altq on $if cbq bandwidth 100Mb queue { std, ..., pq }
queue ...
queue pq bandwidth 1M priority 1 cbq
I need some help with my idea about PF.
So, assume that we want to assign all packets passed that rule to one
of _subqueues_ of pq queue. Not to pq itself. That assignment must
be based on packet's destination IP address, so packets to 192.168.0.1
must be assigned to pq_1 queue, packets to