看板 DFBSD_submit 關於我們 聯絡資訊
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