> Now I want to start from another side. I want make pfctl to create
> child queues automatically, using config like this:
> altq on $ext_if cbq bandwidth 100Mb queue { std, pq }
> queue std bandwidth 98Mb cbq(default, borrow)
> queue pq bandwidth 1024Kb cbq spray_child 4
Oh, I forgot the rule:
pass out on $ext_if inet from any to 192.168.0.0/24 keep state queue
pq spray_child
> So, in pf_test() instead of searching child queue by name I can just
> walk through r->...(SLIST_QUEUE)... and get one with needed "index
> number" (with index_number == i_diff, see my "patch" in first mail)
> and use it's qid.
--
antonvm