dummynet patch

vladone vladone at spaingsm.com
Tue Sep 20 03:04:53 PDT 2005


Yes, thanks! But is a little redundant and confused to pass packets to
multiple pipe and queue. Isn't more elegant to put an option on queue
that limit maximum bandwitdth to that queue (like "bw" option for pipe)?
I dont know programming (not well), but i think that, can do the job,
if is put an supplementary condition, to verify if bandwidth
allocated for that queue is less or great than an "bw" parameter.
An queue declaration like:
  ipfw queue 1 config weight 10 pipe 1 bw 128kbits/s
  ipfw queue 2 config weight 20 pipe 1 bw 256kbits/s
is more clear and efficiently.
This mean that an queue receive bandwidth according with they weight
but no more that value indicated by "bw" parameter.
Someone with experience and that know code for dummynet, can make easy
(i think) an patch for that.



More information about the freebsd-ipfw mailing list