Re: ALTQ

看板DFBSD_submit作者時間21年前 (2005/02/12 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/8 (看更多)
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
文章代碼(AID): #123GWr00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #123GWr00 (DFBSD_submit)