Re: query: light weight TCP/IP stack for Linux

Alan Cox (alan@lxorguk.ukuu.org.uk)
29 Oct 2002 09:31:25 +0000


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.

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