Amit Ashara wrote:
I would like to develop the Link Layer LLDP stack within lwIP framework.

Cool!

However the developer's manual link is empty.

I have absolutely *no* idea what this means.

Any suggestions where to start?

Implementing LLDP is a bit tricky if you have more than one port, as lwIP sees this as one 'netif' having a single IP address only (but the ports have a MAC address each, used for LLDP at least).

That being said, you'll have to send and receive LLDP packets on every Ethernet port. If you have only one port, send via "netif->linkoutput" and intercept before calling "ethernet_input()". If you have more than one port, it gets more tricky and doesn't really fit the lwIP netif concept:-(

Then, grab lwIP 2.0.0 (RC2 is the current one) and use the MIB-compiler from "contrib/apps/LwipMibCompiler" to implement the LLDP mib(s?) and feed the results of rx parsing into that mib.

I'd be interested in taking a look at the code once it's done!


Simon

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

Reply via email to