DragonFly BSD
DragonFly submit List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ALTQ


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 11 Feb 2005 20:16:00 +0100
Mail-followup-to: submit@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]