lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LLDP Implementation for lwIP


From: address@hidden
Subject: Re: [lwip-users] LLDP Implementation for lwIP
Date: Wed, 3 Aug 2016 22:08:17 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

Amit Ashara wrote:
http://lwip.wikia.com/wiki/LwIP_Developers_Manual

Oh, right. You see, I don't really follow the wiki... Wikia has way too much advertising.

This implementation is only for a single port device [..]
So it is not clear where do I insert the LLDP frame?

That's what I said. A device having one netif (i.e. the device's MAC address having one IP address) that connects to a network via multiple ports (which, in the LLDP case, each must have their own port MAC address), doesn't fit the lwIP netif model.

You need to insert the LLDP TX frames to your driver independent of lwIP (although it could be done by adding some kind of destination port to a pbuf or something like that). And you'll have to extract the source port from incoming pbufs, which is also not covered by lwIP.

I'm open for suggestions on integrating multi-port support to lwIP as long as it doesn't have negative side-effects on the standard single-port case.


Simon



reply via email to

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