Lossless bandwidth limiter on an interface

2002-05-25 Thread Garrett Wollman
< said: > out of the box. Ideally, I would like applications sending packets to the > interface to block when the outgoing queue is full. No Can Do. The network stack is not prepared to block at all, ever. -GAWollman To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-n

Re: Lossless bandwidth limiter on an interface

2002-05-22 Thread Luigi Rizzo
when a dummynet queue drops UDP packets, it returns an ENOBUF error on the write(), so you can at least retry the transmission yourself after some time. Unfortunately there is not any mechanism in place to make an UDP write() blocking. cheers luigi On Wed, May 22, 2002 at 05:42:

Lossless bandwidth limiter on an interface

2002-05-22 Thread John Baldwin
I'm curious: what would be the best method of implementing a bandwith limiter on an interface that is lossless? I'm having to limit UDP with no back channel, so I can't reply on TCP retransmits to make up for packets being dropped. DUMMYNET drops packets that overflow it's queue size so it doesn'