ALTQ

Joerg Sonnenberger joerg at britannica.bec.de
Fri Feb 11 11:17:38 PST 2005


On Thu, Feb 10, 2005 at 06:50:09PM -0800, Matthew Dillon wrote:
>     I like this a lot better though I think you might as well just #ifdef
>     the sections in the inline rather then use the ALTQF_ENABLED = 0 trick
>     to make the compiler post-process-out those sections.

I've converted them to inline functions in net/ifq_var.h.
The is_enabled function and is_attached function is hardwired to NULL
for !ALTQ. I'll do some more work to unify the ALTQ and !ALTQ cases
later.

Patch is at http://leaf.dragonflybsd.org/~joerg/altq3.diff

Joerg





More information about the Submit mailing list