Microchip® Advanced Software Framework

ethernet.h File Reference

Ethernet management for the lwIP Raw HTTP basic example.

Copyright (c) 2013-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.

Parameters
netifThe network interface instance.

References inet_ntoa, netif::ip_addr, and netif_is_up.

Referenced by ethernet_configure_interface(), and netif_set_status_callback().