Ethernet management definitions for the Standalone lwIP example.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <lwip/netif.h>
Functions | |
void | ethernet_task (void) |
Manage the ethernet packets, if any received process them. More... | |
void | init_ethernet (void) |
Initialize the ethernet interface. More... | |
void | status_callback (struct netif *netif) |
Status callback used to print address given by DHCP. More... | |
Manage the ethernet packets, if any received process them.
Manage the ethernet packets, if any received process them.
After managing the lwIP timers. trigger corresponding ethernet process.
References ethernetif_input(), gs_net_if, and timers_update().
Referenced by webserver_task().
Initialize the ethernet interface.
Initialize the ethernet interface.
Initialize lwIP
Set hw and IP parameters, initialize MAC too
Bring up the web server
References ethernet_configure_interface(), http_init(), and lwip_init().
Referenced by gfx_task().
Status callback used to print address given by DHCP.
netif | Instance to network interface. |
References g_c_ipconfig, g_ip_mode, inet_ntoa, netif::ip_addr, netif_is_up, and TRACE_DEBUG.
Referenced by ethernet_configure_interface(), and netif_set_status_callback().