Microchip® Advanced Software Framework

icmp_echo_header Struct Reference

ICMP echo header structure.

#include <mini_ip.h>

Data Fields

uint16_t cksum
 1's complement cksum of struct More...
 
uint8_t code
 Type subcode. More...
 
uint16_t id
 Identifier. More...
 
uint16_t seq
 Sequence number. More...
 
uint8_t type
 Type of message. More...
 

uint16_t icmp_echo_header::cksum

1's complement cksum of struct

Referenced by gmac_process_ip_packet().

uint8_t icmp_echo_header::code

Type subcode.

Referenced by gmac_process_ip_packet().

uint16_t icmp_echo_header::id

Identifier.

uint16_t icmp_echo_header::seq

Sequence number.

uint8_t icmp_echo_header::type

Type of message.

Referenced by gmac_process_ip_packet().