ip_globals is only used within LwIP.
 
Symbols
loading...
Files
loading...

ip_globals struct

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

Syntax

struct ip_globals {   struct netif *current_netif;   struct netif *current_input_netif; #if LWIP_IPV4   const struct ip_hdr *current_ip4_header; #endif  #if LWIP_IPV6   struct ip6_hdr *current_ip6_header; #endif    u16_t current_ip_header_tot_len;   ip_addr_t current_iphdr_src;   ip_addr_t current_iphdr_dest; };

Fields

current_netif

The interface that accepted the packet for the current callback invocation. Read more...

current_input_netif

The interface that received the packet for the current callback invocation. Read more...

current_ip4_header

Header of the input packet currently being processed. Read more...

current_ip_header_tot_len

Total header length of current_ip4/6_header (i.e. after this, the UDP/TCP header starts). Read more...

current_iphdr_src

Source IP address of current_header. Read more...

current_iphdr_dest

Destination IP address of current_header. Read more...

References

LocationReferrerText
ip.h:107
struct ip_globals
ip.c:64ip_data
struct ip_globals ip_data;
ip.h:128ip_data
extern struct ip_globals ip_data;

Type Use

Variables of ip_globals type
all items filtered out
ip_globals