Microchip® Advanced Software Framework

_IPheader Struct Reference

IP Header structure.

#include <mini_ip.h>

Data Fields

uint8_t ip_dst [4]
 Destination IP address. More...
 
uint8_t ip_hl_v
 Header length and version. More...
 
uint16_t ip_id
 Identification. More...
 
uint16_t ip_len
 Total length. More...
 
uint16_t ip_off
 Fragment offset field. More...
 
uint8_t ip_p
 Protocol. More...
 
uint8_t ip_src [4]
 Source IP address. More...
 
uint16_t ip_sum
 Checksum. More...
 
uint8_t ip_tos
 Type of service. More...
 
uint8_t ip_ttl
 Time to live. More...
 

uint8_t _IPheader::ip_dst[4]

Destination IP address.

Referenced by gmac_display_ip_packet(), and gmac_process_ip_packet().

uint8_t _IPheader::ip_hl_v

Header length and version.

Referenced by gmac_display_ip_packet().

uint16_t _IPheader::ip_id

Identification.

Referenced by gmac_display_ip_packet().

uint16_t _IPheader::ip_len

Total length.

Referenced by gmac_display_ip_packet(), and gmac_process_ip_packet().

uint16_t _IPheader::ip_off

Fragment offset field.

uint8_t _IPheader::ip_p

Protocol.

Referenced by gmac_display_ip_packet(), and gmac_process_ip_packet().

uint8_t _IPheader::ip_src[4]

Source IP address.

Referenced by gmac_display_ip_packet(), and gmac_process_ip_packet().

uint16_t _IPheader::ip_sum

Checksum.

Referenced by gmac_display_ip_packet().

uint8_t _IPheader::ip_tos

Type of service.

Referenced by gmac_display_ip_packet().

uint8_t _IPheader::ip_ttl

Time to live.