Microchip® Advanced Software Framework

raw_http_basic_example/network/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.

Initialize the lwIP TCP/IP stack with the network interface driver.

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.

Callback function used to print the given IP address when the link is up.

Parameters
netifInstance to network interface.