Ethernet management for the lwIP Raw HTTP basic example.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <lwip/netif.h>
Functions | |
void | ethernet_task (void) |
Process incoming ethernet frames, then update timers. More... | |
void | init_ethernet (void) |
Initialize the lwIP TCP/IP stack with the network interface driver. More... | |
void | status_callback (struct netif *netif) |
Callback function used to print the given IP address when the link is up. More... | |
void ethernet_task | ( | void | ) |
Process incoming ethernet frames, then update timers.
References ethernetif_input(), gs_net_if, and timers_update().
Referenced by main().
void init_ethernet | ( | void | ) |
Initialize the lwIP TCP/IP stack with the network interface driver.
References ethernet_configure_interface(), lwip_init(), and sys_init_timing().
Referenced by main().
void status_callback | ( | struct netif * | netif | ) |
Callback function used to print the given IP address when the link is up.
netif | The network interface instance. |
References inet_ntoa(), netif::ip_addr, netif_is_up, and printf.
Referenced by ethernet_configure_interface().