nRF5 SDK v16.0.0
Macros
ICMPv6 codes per message type as defined in RFC 4443.

Macros

#define ICMP6_DU_CODE_NO_ROUTE_TO_DESTINATION   0
 
#define ICMP6_DU_CODE_ADMINISTRATIVELY_PROHIBITED   1
 
#define ICMP6_DU_CODE_BEYOND_SCOPE_OF_SOURCE   2
 
#define ICMP6_DU_CODE_ADDRESS_UNREACHABLE   3
 
#define ICMP6_DU_CODE_PORT_UNREACHABLE   4
 
#define ICMP6_DU_CODE_FAILED_INGRESS_EGRESS_POLICY   5
 
#define ICMP6_DU_CODE_REJECT_ROUTE_TO_DESTINATION   6
 
#define ICMP6_TE_CODE_EXCEEDED_HOP_LIMIT_TRANSIT   0
 
#define ICMP6_TE_CODE_FAR_TIME_EXCEEDED   1
 
#define ICMP6_PP_CODE_INVALID_HEADER   0
 
#define ICMP6_PP_CODE_UNKNOWN_NEXT_HEADER   1
 
#define ICMP6_PP_CODE_UNKNOWN_IPV6_OPTION   2
 
#define ICMP6_ERROR_MESSAGE_INVOKING_PKT_OFFSET   8
 

Detailed Description

Macro Definition Documentation

#define ICMP6_DU_CODE_ADDRESS_UNREACHABLE   3

Code for Destination Unreachable Message when the destination address is unreachable.

#define ICMP6_DU_CODE_ADMINISTRATIVELY_PROHIBITED   1

Code for Destination Unreachable Message when the communication to destination administratively prohibited.

#define ICMP6_DU_CODE_BEYOND_SCOPE_OF_SOURCE   2

Code for Destination Unreachable Message when the destination is beyond the scope of source address.

#define ICMP6_DU_CODE_FAILED_INGRESS_EGRESS_POLICY   5

Code for Destination Unreachable Message when the source address failed on ingress/egress policy.

#define ICMP6_DU_CODE_NO_ROUTE_TO_DESTINATION   0

Code for Destination Unreachable Message when there is no route to destination.

#define ICMP6_DU_CODE_PORT_UNREACHABLE   4

Code for Destination Unreachable Message when the destination port is unreachable.

#define ICMP6_DU_CODE_REJECT_ROUTE_TO_DESTINATION   6

Code for Destination Unreachable Message when the route to destination is rejected.

#define ICMP6_ERROR_MESSAGE_INVOKING_PKT_OFFSET   8

Offset in the received ICMPv6 payload where the packet (partial or complete) that invoked the error message is found.

#define ICMP6_PP_CODE_INVALID_HEADER   0

Code for Parameter Problem Message when the header of the incoming packet was erroneous.

#define ICMP6_PP_CODE_UNKNOWN_IPV6_OPTION   2

Code for Parameter Problem Message when the option of the incoming packet was unrecognized.

#define ICMP6_PP_CODE_UNKNOWN_NEXT_HEADER   1

Code for Parameter Problem Message when the next header of the incoming packet was unrecognized.

#define ICMP6_TE_CODE_EXCEEDED_HOP_LIMIT_TRANSIT   0

Code for Time Exceeded Message when the packet received had hop limit of zero.

#define ICMP6_TE_CODE_FAR_TIME_EXCEEDED   1

Code for Time Exceeded Message to report fragmentation and reassembly timeout.


Documentation feedback | Developer Zone | Subscribe | Updated