Lee Shen / FTHR_USB_serial_qSPI
Embed: (wiki syntax)

« Back to documentation index

ip.h File Reference

ip.h File Reference

IP API. More...

Go to the source code of this file.

Data Structures

struct  ip_globals
 Global variables of this module, kept in a struct for efficient access using base+index. More...

Functions

err_t ip_input (struct pbuf *p, struct netif *inp)
 If both IP versions are enabled, this function can dispatch packets to the correct one.

Variables

struct ip_globals ip_data
 Global data for both IPv4 and IPv6.

Detailed Description

IP API.

Definition in file ip.h.


Function Documentation

err_t ip_input ( struct pbuf p,
struct netif inp 
)

If both IP versions are enabled, this function can dispatch packets to the correct one.

Don't call directly, pass to netif_add() and call netif->input().

Definition at line 111 of file lwip_ip.c.


Variable Documentation

Global data for both IPv4 and IPv6.

Definition at line 64 of file lwip_ip.c.