icmp6_header_t

nRF5 SDK v15.0.0

Data Fields

uint8_t type
uint8_t code
uint16_t checksum
union {
uint32_t mtu
uint32_t unused
uint32_t offset
struct {
uint16_t id
uint16_t sequence
} echo
} sp

Field Documentation

uint16_t icmp6_header_t::checksum

ICMP6 checksum field.

uint8_t icmp6_header_t::code

Code related to the type field.

uint16_t icmp6_header_t::id

< Identifier and sequence number information specific associated with echo request and response. Identifier.

uint32_t icmp6_header_t::mtu

MTU of next hop limit. Used only with Packet Too Big Error Message.

uint32_t icmp6_header_t::offset

Offset field used only with Parameter Problem error message.

uint16_t icmp6_header_t::sequence

Sequence number.

uint8_t icmp6_header_t::type

Type of ICMP message. See ICMPv6 message types. for possible values.

uint32_t icmp6_header_t::unused

Unused fields for error messages that do not have any auxiliary information.

  • components/iot/common/iot_defines.h