[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 21:07:05 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
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] LLDP Implementation for lwIP, Amit Ashara, 2016/08/03
- Re: [lwip-users] LLDP Implementation for lwIP,
address@hidden <=
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/03
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/03
- Re: [lwip-users] LLDP Implementation for lwIP, address@hidden, 2016/08/03
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/03
- Re: [lwip-users] LLDP Implementation for lwIP, goldsimon, 2016/08/12
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/12
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/15
- Re: [lwip-users] LLDP Implementation for lwIP, Simon Goldschmidt, 2016/08/17
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/17
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/17