Microchip® Advanced Software Framework

ip_globals Struct Reference

#include <ip.h>

Data Fields

struct ip_hdrcurrent_ip4_header
 Header of the input packet currently being processed. More...
 
u16_t current_ip_header_tot_len
 Total header length of current_ip4/6_header (i.e. More...
 
ipX_addr_t current_iphdr_dest
 Destination IP address of current_header. More...
 
ipX_addr_t current_iphdr_src
 Source IP address of current_header. More...
 
struct netifcurrent_netif
 The interface that provided the packet for the current callback invocation. More...
 

struct ip_hdr* ip_globals::current_ip4_header

Header of the input packet currently being processed.

Referenced by ip_input().

u16_t ip_globals::current_ip_header_tot_len

Total header length of current_ip4/6_header (i.e.

after this, the UDP/TCP header starts)

Referenced by ip_input().

ipX_addr_t ip_globals::current_iphdr_dest

Destination IP address of current_header.

Referenced by ip_input().

ipX_addr_t ip_globals::current_iphdr_src

Source IP address of current_header.

Referenced by ip_input().

struct netif* ip_globals::current_netif

The interface that provided the packet for the current callback invocation.

Referenced by ip_input().