Yes, I am not interested in L4Linux. So there is no other example code to use network in L4Re. Is this correct?
Thanks Yuxin
On Wed, Nov 4, 2015 at 7:31 AM, Adam Lackorzynski adam@os.inf.tu-dresden.de wrote:
Hi,
On Tue Nov 03, 2015 at 08:00:53 +0800, Yuxin Ren wrote:
I have a few questions about network stack in Fiasco/L4Re.
Which one? Or a hypothetical one?
Is network stack implemented in the kernel or user level?
User level of course.
If in user level, are different protocols (IP/TCP) implemented in a single server or different servers?
Typically single server but why not put TCP away, it's the more complicated part of the game.
If in different servers, how do they communicate with each other?
Shared memory.
Is there any example code to show how to use network? How to send and receive TCP or UDP packets? How can I set up the network environment on bare metal machine? Is there documentation or instruction?
There's lwip+ankh but that bitrotted so any experience will not be pleasant. And then there's L4Linux but that's probably not what you're looking for.
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers