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, goldsi...@gmx.de <goldsi...@gmx.de> 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 > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users