Luigi Rizzo writes:
> > Is if_tx_rdy() something that can be used generally or does it only
> > work with dummynet ?
> 
> well, the function is dummynet-specific, but I would certainly like
> a generic callback list to be implemented in ifnet which is
> invoked on tx_empty events.

Me too :-)

> The problem as usual is that you have to touch every single device
> driver... Fortunately we can leave the ifnet structure unmodified
> because i just discovered there is an ifindex2ifnet array which is
> managed and can be extended to point to additional ifnet state that
> does not fit in the immutable one...

Why is it important to avoid changing 'struct ifnet' ?

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to