Re: How to tell an application to use a custom tcp/ip stack instead of tcp/ip stack from linux?
From: CDP (durgaprasad.chivukula_at_gmail.com)
Date: 6 Jul 2005 06:45:16 -0700
Hi Nix ,
>Unless the lwip stack was written to fit into the Linux kernel
>networking layer, you'll pretty much have to rewrite it --- and the
>TCP/IP stack isn't exactly easily replaceable, except with something
>that satisfies the same internal interface contracts and locking
>rules (many of which aren't documented).
I do not know if lwip stack is written to fit into the linux kernel
, but I can say it has very thing needed from memory managment to all
oridnary protocols. I know its not so easy to replace linux tcp/ip
stack and there are lot of things to be considered, what I mean to say
is , I just want to say Linux kernel to use lwip for all the data
transfers instead of the normal tcp/ip stack from Linux . Hope you got
>It's *possible*, of course, but extremely difficult, and definitely not
>worth it for a test run!
Yes for test run , its not definitely worth to replace the stack
completely with lwip ..I know it ... I don wanna replace it as I said ,
I just want to say the kernel to use lwip for all the data transfers
.... and not the deafult stack
Any ideas , please let me know...????
(But if you *did* replace the kernel's TCP/IP stack, it's likely that
nothing would need to be recompiled. At least, if you did it properly.)