|
From: | Sergio R. Caprile |
Subject: | Re: [lwip-users] LLDP Implementation for lwIP |
Date: | Wed, 3 Aug 2016 17:18:00 -0300 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
When the stack needs to send a frame, it will call netif->output. That pointer is usually setup at the init function for the netif driver (see ethernetif_init()). My driver sets up etharp_output() for that, and I followed the guidelines in the wiki link I sent you, I suggest you follow that. I'm using bare metal, not an OS, and I don't remember if there is a constraint for this (it is for input stage).
Anyway, that will eventually call netif->linkoutput() which is what you probably want to use. Remember you are using bare Ethernet over your driver in your port; you are not (yet) using lwIP.
[Prev in Thread] | Current Thread | [Next in Thread] |