Microchip® Advanced Software Framework

ethernet.h File Reference

Ethernet management for LwIP.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include <lwip/netif.h>

Functions

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...
 

void init_ethernet ( void  )

Initialize the ethernet interface.

Initialize the ethernet interface.

References ethernet_configure_interface(), NULL, and tcpip_init().

Referenced by gfx_task().

void status_callback ( struct netif netif)

Status callback used to print address given by DHCP.

Parameters
netifInstance to network interface.

Status callback used to print address given by DHCP.

Parameters
netifInstance to network interface.

References g_c_ipconfig, g_ip_mode, inet_ntoa, netif::ip_addr, and netif_is_up.

Referenced by ethernet_configure_interface(), and netif_set_status_callback().