ALTQ
Joerg Sonnenberger
joerg at britannica.bec.de
Fri Feb 11 05:13:57 PST 2005
On Thu, Feb 10, 2005 at 11:35:59AM -0800, Matthew Dillon wrote:
> And why is the interface code calling IFQ_CLASSIFY ? Why not have an
> ifq_enqueue() *function*, a real function, and call IFQ_CLASSIFY
> *inside* that function?
IFQ_CLASSIFY needs the mbuf *before* e.g. the ethernet header is
prepended. It's not used by the current queue algorithms, but it
is handy enough to warrant the inclusion. I'm working on something
which needs e.g. the IP and that's much more difficult without.
Joerg
More information about the Submit
mailing list