Re: Network buffers.. where are they ?

Andi Kleen (ak@muc.de)
08 Jan 1999 14:12:59 +0100


In article <19990106134103.A22530@trench.eng.monash.edu.au>,
biggles@trench.eng.monash.edu.au (Michael Biggs) writes:
> Hi,
> I'm implementing an explicit notification rate control protocol at the
> ip level, and I want to be able to see what the current buffer level at the
> gateway is compared to the maximum before packets start getting dropped,but
> I cant seem to find what I'm looking for... I'm fairly new at fiddling with
> kernel stuff so any tips would be great. I guess it's park of the sk_buff
> structure, but through printk'ing various things there I haven't found
> anything seems to be useful.

You don't say which kernel version you're using...

In 2.2 the "queueing discipline" is a blackbox and arbitary ones can be loaded
even at runtime. See net/sched/sch_* for various example modules (CBQ, CSZ
etc.). With that framework it should be rather easy to implement your
queueing module, even without any kernel patches.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/