Parameters associated with error message in receive and transmit paths. More...
#include <icmp6_api.h>
Data Fields | |
uint8_t | type |
uint8_t | code |
union { | |
uint32_t mtu | |
uint32_t offset | |
uint32_t unused | |
} | error_field |
uint8_t * | p_packet |
uint16_t | packet_len |
Parameters associated with error message in receive and transmit paths.
uint8_t icmp6_error_message_param_t::code |
Identifies code, if any associated with the error. See ICMPv6 codes per message type as defined in RFC 4443. and RFC 4443 for details.
uint32_t icmp6_error_message_param_t::mtu |
MTU of next hop limit, used only with ICMP6_TYPE_PACKET_TOO_LONG type.
uint32_t icmp6_error_message_param_t::offset |
Offset pointing to the parameter that resulted in the ICMP6_TYPE_PARAMETER_PROBLEM error. Used only with ICMP6_TYPE_PARAMETER_PROBLEM.
uint8_t* icmp6_error_message_param_t::p_packet |
Points to the start of IPv6 packet that has resulted in the error message.
uint16_t icmp6_error_message_param_t::packet_len |
Length of the packet that resulted in error. The module may truncate the packet and pack only partially the packet based on configuration of ICMP6_ERROR_MESSAGE_MAX_SIZE.
uint8_t icmp6_error_message_param_t::type |
Identifies error message type, valid values as described in RFC 4443. See ICMPv6 error messages. for possible values.
uint32_t icmp6_error_message_param_t::unused |
Any other error message. Is always zero.