[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] LLDP Implementation for lwIP
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] LLDP Implementation for lwIP |
Date: |
Wed, 17 Aug 2016 16:12:14 +0200 |
Amit Ashara wrote:
> I call the LLDP transmit function lldp_raw(struct netif *netif, const struct
> eth_addr *ethsrc_addr)
> with the MAC address of the port. So if there are multiple ports each with
> its MAC address, then
> that can be resolved by the 2nd argument of the function.
That's not netif-portable. A netif driver has to implement
netif_linkoutput_fn(struct netif *netif, struct pbuf *p)
and there's no source MAC address passed. You can check the pbuf of course, but
that's not acceptable
for all TX packets.
> Also if we put the use restriction of a single port, wouldn't that work also?
You can do that but you would limit the use of such a protocol implementation.
Simon
- [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, 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 <=
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 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/18
- Re: [lwip-users] LLDP Implementation for lwIP, Simon Goldschmidt, 2016/08/19
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/19
- Re: [lwip-users] LLDP Implementation for lwIP, Simon Goldschmidt, 2016/08/19
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/19
- Re: [lwip-users] LLDP Implementation for lwIP, goldsimon, 2016/08/19
- Re: [lwip-users] LLDP Implementation for lwIP, Dirk Ziegelmeier, 2016/08/23
- Re: [lwip-users] LLDP Implementation for lwIP, Amit Ashara, 2016/08/23