Functions | |
void | loopif_poll (struct netif *netif) |
err_t | loopif_init (struct netif *netif) |
err_t loopif_init | ( | struct netif * | netif | ) |
Initialize a lwip network interface structure for a loopback interface
netif | the lwip network interface structure for this loopif |
void loopif_poll | ( | struct netif * | netif | ) |
Call loopif_poll() in the main loop of your application. This is to prevent reentering non-reentrant functions like tcp_input(). Packets passed to loopif_output() are put on a list that is passed to netif->input() by loopif_poll().
netif | the lwip network interface structure for this loopif |