lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] lwip stack


From: address@hidden
Subject: Re: [lwip-users] lwip stack
Date: Wed, 3 Feb 2021 20:01:19 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

Am 03.02.2021 um 16:48 schrieb Pınar K:
> Hello everyone,
>
> I am very new to lwip.
> I couldn't find previous messages for forum.How can I use lwip stack
> instead of linux ip stack?

I guess that's because noone ever bother to do this.

> Could anybody, please, tell us how to get rid of the *default
> TCP/IP* stack from *Linux* kernel so that only *lwIP* will be left to
> handle all IP networking traffic ?

Why would you want that? And how should the result look like?

You should know that this is not an easy task: lwIP has not been written
for multiprocessing. In other words, unless using lwIP in a single
process only, you'd end up writing a *lot* of code. This can be done
(e.g. like lwIP has been included into Minix), but it's a lot of work.

I guess the easiest thing to do would be to disable TCP/IP support in
your kernel to make sure it doesn't implement IP at all. Then you can
just run lwIP in a single process, interfacing the network stack through
PF_PACKET sockets...

But the question remains: why would you want to do that?

Regards,
Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]