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 17:04:25 -0500

Hello Sergio,

Yes, I went through the link

http://lwip.wikia.com/wiki/LwIP_with_or_without_an_operating_system

The netif_add calls the function tivaif_init from the porting file. Inside the function tivaif_init the function call is as follows

  psNetif->output = etharp_output;
  psNetif->linkoutput = tivaif_transmit;

If i check the tivaif_transmit function, "tivaif_transmit(struct netif *psNetif, struct pbuf *p)" it maps the pbuf to the MAC controller for transmission. It is this buffer that needs to be modified for LLDP frame. However the call stack is always from TCP or DHCP (even when ARP is called which is a link layer packet).

Regards
Amit

reply via email to

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