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: Amit Ashara
Subject: Re: [lwip-users] LLDP Implementation for lwIP
Date: Wed, 3 Aug 2016 15:29:48 -0500

Hello Simon,

LLDP can use the same MAC address as being used by lwIP. It is not mandated that they be different.

Regards
Amit

On Wed, Aug 3, 2016 at 3:08 PM, address@hidden <address@hidden> wrote:
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

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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