Detecting buffer space with UDP.
David Gilbert
dgilbert at dclg.ca
Fri Dec 15 13:25:01 PST 2006
I'm using kqueue() with a EVFILT_WRITE to send udp packets over a
gigabit interface (the job here is to stress test DNS servers). I'd
like to send packets at wire rates, but somehow the EVFILT_WRITE is
always triggered and I'm dropping a lot of packets on the floor.
Is there a way (preferably with kqueue()) to wait on the bandwidth
available on the card?
Dave.
--
============================================================================
|David Gilbert, Independent Contractor. | Two things can be |
|Mail: dave at daveg.ca | equal if and only if they |
|http://daveg.ca | are precisely opposite. |
=========================================================GLO================
More information about the freebsd-hackers
mailing list