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: 07/06/05


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
my question

>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.)



Relevant Pages

  • Re: Port 139 offen. Hilfetexte bisher ohne Erfolg
    ... Es lauscht ein Dienst auf dem lokalen Port 139 und nimmt auf der ... zwischen dem TCP/IP Stack des ... Wenn eine TCP Verbindung initiiert wird, ... TCP/IP Stack des OS statt. ...
    (de.comp.security.misc)
  • Re: FreeBSD network stack Vs others
    ... I know that linux has had everything rewritten from scratch as far as ... Linux's stack hasn't been rewritten from the BSD one, ... edge" of both systems, FreeBSD and Linux, is about the same. ... FreeBSD's TCP/IP stack is a descendant of the original reference TCP/IP ...
    (freebsd-net)
  • Re: [Lit.] Buffer overruns
    ... > trapping. ... in the TCP/IP stack. ... reporting might take as much code as the protocol stack itself. ... There is only minimal error logging capability. ...
    (sci.crypt)
  • Re: Van Jacobsons network stack restructure
    ... contains the following point: "First TCP/IP stack ... Was this first Multics stack written in PL/1? ... the first test of TCP outside a single lab occured ...
    (freebsd-hackers)
  • Re: How to tell an application to use a custom tcp/ip stack instead of tcp/ip stack from linux?
    ... I do not know if lwip stack is written to fit into the linux kernel ... transfers instead of the normal tcp/ip stack from Linux. ...
    (comp.os.linux.misc)