lwIP
2.0.2
Lightweight IP stack
|
#include "lwip/opt.h"
#include <string.h>
#include "lwip/def.h"
#include "lwip/ip_addr.h"
#include "lwip/ip6_addr.h"
#include "lwip/netif.h"
#include "lwip/priv/tcp_priv.h"
#include "lwip/udp.h"
#include "lwip/raw.h"
#include "lwip/snmp.h"
#include "lwip/igmp.h"
#include "lwip/etharp.h"
#include "lwip/stats.h"
#include "lwip/sys.h"
#include "lwip/ip.h"
#include "lwip/tcpip.h"
#include "netif/ethernet.h"
#include "lwip/autoip.h"
#include "lwip/dhcp.h"
#include "lwip/mld6.h"
#include "lwip/nd6.h"
Variables | |
struct netif * | netif_list |
struct netif * | netif_default |
lwIP network interface abstraction
s8_t netif_get_ip6_addr_match | ( | struct netif * | netif, |
const ip6_addr_t * | ip6addr | ||
) |
Checks if a specific address is assigned to the netif and returns its index.
netif | the netif to check |
ip6addr | the IPv6 address to find |
void netif_poll | ( | struct netif * | netif | ) |
Call netif_poll() in the main loop of your application. This is to prevent reentering non-reentrant functions like tcp_input(). Packets passed to netif_loop_output() are put on a list that is passed to netif->input() by netif_poll().
struct netif* netif_default |
The default network interface.
struct netif* netif_list |
The list of network interfaces.