2002-10-29 04:30:40

by Amol Kumar Lad

[permalink] [raw]
Subject: query: light weight TCP/IP stack for Linux

Hi,
I am looking for a very light weight TCP/IP stack(small memory footprint)
that I can hook in Linux (i.e. replace linux's native stack with new one).
Are there any such stacks available ?? If yes, Is intergrating that stack in
our kernel is seamless or I have to dig real hard in kernel to do that .

Please CC me.

Thanks
Amol

Ps: I am using linux kernel 2.4.2 (please don't flame..)


2002-10-29 09:06:04

by Alan

[permalink] [raw]
Subject: Re: query: light weight TCP/IP stack for Linux

On Tue, 2002-10-29 at 04:40, Amol Kumar Lad wrote:
> Hi,
> I am looking for a very light weight TCP/IP stack(small memory footprint)
> that I can hook in Linux (i.e. replace linux's native stack with new one).
> Are there any such stacks available ?? If yes, Is intergrating that stack in
> our kernel is seamless or I have to dig real hard in kernel to do that .

Assuming you can find another GPL licensable network stack (I know of
only two) then you are still going to have to deal with the fact the
core linux kernel networking interfaces are radically different to 4BSD
and/or something like ELKS. Probably much simpler is to just move to a
current 2.4 kernel with rmap patches, apply the uninline stuff to get
the size slightly down, then trim all the hash tables hard.

> Ps: I am using linux kernel 2.4.2 (please don't flame..)

You need to change that anyway. 2.4.2 has plenty of bugs as well as
security holes.