Advice requested: Porting Linux TCP/IP stack to application space

From: Robert (robert.tadlock_at_qlogic.com)
Date: 07/29/04


Date: 28 Jul 2004 18:09:25 -0700

Hello! This is my first posting to this group. If this is the wrong
place to post please let me know.

For ongoing product testing purposes, my company needs a TCP/IP stack
that supports pretty much the same RFCs as the Linux stack.
Converting lwIP was easy, of course, but that stack doesn't give us
what we need. We mainly converted it to get ourselves started & prove
the test environment we're building will work.

Now, we're thinking we want to convert the Linux stack itself to work
in application space. We have an API that abstracts OS specific
functions, such as threading, semaphores, etc. The challenge is to
pull out the Linux TCP/IP stack code & get it to use our OS API. If
successful, the "converted" stack would run in application space on
any platform (not just Linux).

Our current problem is we have nobody in-house who's familiar w/ Linux
at this level. We're going to have to either hire someone or
outsource the work, but we need to get a general idea of how difficult
this would be or if it's even feasible.

Any thoughts/advice are greatly appreciated. I can't contribute much
general stuff to the group in return since I personally have limited
Linux experience at this level, but in return I will share the success
of our port w/ the group. :)

rt

PS: We have someone working on an estimate for this project now, but
they also have no experience w/ Linux at this level. The more we can
learn up front, the better!



Relevant Pages

  • Re: pthread questions
    ... > linux") people might be able to help you a little better. ... the shared libraries and search their symbols. ... since the simple stabs debug info format is completely GONE ... DWARF2 defines a stack machine, ...
    (comp.os.linux.development.system)
  • Stack Size for a Thread
    ... How can i know the default Stack Size allocated to a Thread in Red Hat ... The same application worked fine when the Heap size was reduced to ... However the application worked fine in another linux box with the same ...
    (comp.os.linux.misc)
  • Re: initial stack size/limits?
    ... >>loads Java and OpenGl libraries which have their own threading. ... >>libraries are the same for both linux distributions so I am hoping for a ... "LinuxThreads" which are now built into the glibc. ... Linux allows 8M for an initial stack size and LinuxThreads allow only ...
    (comp.os.linux.development.apps)
  • Re: Memory used by the program
    ... I test on another special hardware which has almost no debug ... The stack size *available* depends on your hardware and how you ... the size of all auto variables for that function plus some overhead ... Linux tools (and the version you run *on Linux* will almost certainly ...
    (comp.lang.c)
  • Re: Ipv6 - performance results on red hat linux.
    ... similar things but IPsec happens at a different layer unless ... The processes then would tend to be CPU bound, not protocol stack bound so ... repeating the same tests with IPv6 should produce the same differences ... (also note - RedHat Linux or another brand of linux will produce extremely ...
    (RedHat)