Events generated by the Network - ICMPv6 Control functions. More...
Functions | |
__STATIC_INLINE void | EvrNetICMP6_ReceiveFrame (uint16_t if_id, uint32_t length) |
Event on ICMP6 receive frame (Op) | |
__STATIC_INLINE void | EvrNetICMP6_ShowFrameHeader (const void *icmp6_header) |
Event on ICMP6 display send/receive frame header (Detail) | |
__STATIC_INLINE void | EvrNetICMP6_FrameTooShort (uint16_t if_id, uint32_t length, uint32_t min_length) |
Event on ICMP6 receive frame is too short (Error) | |
__STATIC_INLINE void | EvrNetICMP6_ChecksumFailed (uint16_t if_id, uint32_t length) |
Event on ICMP6 frame checksum check failed (Error) | |
__STATIC_INLINE void | EvrNetICMP6_EchoRequestWrongCode (uint16_t if_id, uint8_t code, uint8_t code_valid) |
Event on ICMP6 wrong code in echo request received (Error) | |
__STATIC_INLINE void | EvrNetICMP6_EchoRequestReceived (uint16_t if_id, uint32_t data_length) |
Event on ICMP6 echo request received (Op) | |
__STATIC_INLINE void | EvrNetICMP6_EchoReplyDisabled (uint16_t if_id) |
Event on ICMP6 sending echo reply disabled (Op) | |
__STATIC_INLINE void | EvrNetICMP6_SendEchoReply (uint16_t if_id) |
Event on ICMP6 send echo reply (Op) | |
__STATIC_INLINE void | EvrNetICMP6_EchoReplyReceived (uint16_t if_id, uint32_t data_length) |
Event on ICMP6 echo reply received (Op) | |
__STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongState (uint16_t if_id) |
Event on ICMP6 echo reply received in wrong ping process state (Error) | |
__STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongCode (uint16_t if_id, uint8_t code, uint8_t code_valid) |
Event on ICMP6 wrong code in echo reply received (Error) | |
__STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongIpAddress (uint16_t if_id, const uint8_t *ip6_addr) |
Event on ICMP6 wrong source IPv6 address of echo reply (Error) | |
__STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongId (uint16_t if_id, uint16_t eid, uint16_t eid_valid) |
Event on ICMP6 wrong echo identifier value in echo reply (Error) | |
__STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongPayload (uint16_t if_id) |
Event on ICMP6 echo reply payload data invalid (Error) | |
__STATIC_INLINE void | EvrNetICMP6_MessageDiscarded (uint16_t if_id, uint8_t type) |
Event on ICMP6 router solicitation message discarded (Op) | |
__STATIC_INLINE void | EvrNetICMP6_WrongHopLimit (uint16_t if_id, uint8_t hop_limit, uint8_t hop_valid) |
Event on ICMP6 wrong hop limit in discover message (Error) | |
__STATIC_INLINE void | EvrNetICMP6_WrongCode (uint16_t if_id, uint8_t code, uint8_t code_valid) |
Event on ICMP6 wrong code in discover message (Error) | |
__STATIC_INLINE void | EvrNetICMP6_MessageTypeUnknown (uint16_t if_id, uint8_t type) |
Event on ICMP6 message type unknown (Op) | |
__STATIC_INLINE void | EvrNetICMP6_SendFrame (uint16_t if_id, uint32_t length) |
Event on ICMP6 send frame (Op) | |
__STATIC_INLINE void | EvrNetICMP6_PingEcho (const uint8_t *ip6_addr) |
Event on ICMP6 ping echo request (API) | |
__STATIC_INLINE void | EvrNetICMP6_PingTargetNotValid (void) |
Event on ICMP6 ping target name not valid (Error) | |
__STATIC_INLINE void | EvrNetICMP6_PingDnsError (void) |
Event on ICMP6 ping host name resolver error (Error) | |
__STATIC_INLINE void | EvrNetICMP6_PingInvalidParameter (void) |
Event on ICMP6 ping invalid parameter (Error) | |
__STATIC_INLINE void | EvrNetICMP6_PingClientBusy (void) |
Event on ICMP6 ping client busy (Error) | |
__STATIC_INLINE void | EvrNetICMP6_PingSendRequest (uint16_t if_id) |
Event on ICMP6 send echo request (Op) | |
__STATIC_INLINE void | EvrNetICMP6_PingRetransmitRequest (uint16_t if_id) |
Event on ICMP6 retransmit echo request (Op) | |
__STATIC_INLINE void | EvrNetICMP6_PingTimeout (uint16_t if_id) |
Event on ICMP6 timeout on send echo request (Op) | |
Events generated by the Network - ICMPv6 Control functions.
The Network ICMPv6 Control functions generate events that report events in the Internet Control Message Protocol version 6 and help in troubleshooting.
__STATIC_INLINE void EvrNetICMP6_ChecksumFailed | ( | uint16_t | if_id, |
uint32_t | length | ||
) |
Event on ICMP6 frame checksum check failed (Error)
if_id | network interface identifier |
length | frame length in bytes |
The event ChecksumFailed is created when the network library has checked the checksum on the received ICMPv6 frame and the verification failed. The ICMPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoReplyDisabled | ( | uint16_t | if_id | ) |
Event on ICMP6 sending echo reply disabled (Op)
if_id | network interface identifier |
The event EchoReplyDisabled is created when the network library receives an ECHO request, but the ECHO response is disabled in the interface configuration for IPv6. This configuration option is rarely enabled, usually for security reasons only.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoReplyReceived | ( | uint16_t | if_id, |
uint32_t | data_length | ||
) |
Event on ICMP6 echo reply received (Op)
if_id | network interface identifier |
data_length | length of the payload data |
The event EchoReplyReceived is created when the network library receives a valid ICMPv6 echo reply.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongCode | ( | uint16_t | if_id, |
uint8_t | code, | ||
uint8_t | code_valid | ||
) |
Event on ICMP6 wrong code in echo reply received (Error)
if_id | network interface identifier |
code | received ICMPv6 code |
code_valid | valid ICMPv6 code |
The event EchoReplyWrongCode is created when the network library receives the ICMPv6 echo reply, but the code byte is invalid. The ICMPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongId | ( | uint16_t | if_id, |
uint16_t | eid, | ||
uint16_t | eid_valid | ||
) |
Event on ICMP6 wrong echo identifier value in echo reply (Error)
if_id | network interface identifier |
eid | received echo identifier |
eid_valid | valid echo identifier |
The event EchoReplyWrongId is created when the network library receives the ICMPv6 echo reply, but the echo identifier is not identical to the identifier that was sent in echo request. The ICMPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongIpAddress | ( | uint16_t | if_id, |
const uint8_t * | ip6_addr | ||
) |
Event on ICMP6 wrong source IPv6 address of echo reply (Error)
if_id | network interface identifier |
ip6_addr | pointer to IPv6 address |
The event EchoReplyWrongIpAddress is created when the network library receives an echo reply that came from another IPv6 address instead of the address to which the echo request was sent. The echo reply is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongPayload | ( | uint16_t | if_id | ) |
Event on ICMP6 echo reply payload data invalid (Error)
if_id | network interface identifier |
The event EchoReplyWrongPayload is created when the network library receives the ICMPv6 echo reply, but the data on the payload is not identical to the data that was sent in echo request. The ICMPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongState | ( | uint16_t | if_id | ) |
Event on ICMP6 echo reply received in wrong ping process state (Error)
if_id | network interface identifier |
The event EchoReplyWrongState is created when the network library receives an ICMPv6 echo reply, but the ping process is idle. This means that the network library does not wait for the echo reply. The echo reply is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoRequestReceived | ( | uint16_t | if_id, |
uint32_t | data_length | ||
) |
Event on ICMP6 echo request received (Op)
if_id | network interface identifier |
data_length | length of the payload data |
The event EchoRequestReceived is created when the network library receives a valid ICMPv6 echo request.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_EchoRequestWrongCode | ( | uint16_t | if_id, |
uint8_t | code, | ||
uint8_t | code_valid | ||
) |
Event on ICMP6 wrong code in echo request received (Error)
if_id | network interface identifier |
code | received ICMPv6 code |
code_valid | valid ICMPv6 code |
The event EchoRequestWrongCode is created when the network library receives the ICMPv6 echo request, but the code byte is invalid. The ICMPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_FrameTooShort | ( | uint16_t | if_id, |
uint32_t | length, | ||
uint32_t | min_length | ||
) |
Event on ICMP6 receive frame is too short (Error)
if_id | network interface identifier |
length | frame length in bytes |
min_length | minimum length of the frame |
The event FrameTooShort is created when the network library receives the ICMPv6 frame that is too short. The frame is discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_MessageDiscarded | ( | uint16_t | if_id, |
uint8_t | type | ||
) |
Event on ICMP6 router solicitation message discarded (Op)
if_id | network interface identifier |
type | ICMPv6 message type |
The event MessageDiscarded is created when the network library receives the ICMPv6 frame with a message type, that must silently be discarded. For example IPv6 hosts must silently discard Router Solicitation messages.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_MessageTypeUnknown | ( | uint16_t | if_id, |
uint8_t | type | ||
) |
Event on ICMP6 message type unknown (Op)
if_id | network interface identifier |
type | ICMP6 message type |
The event MessageTypeUnknown is created when the network library receives the ICMPv6 frame, but the type of message is not supported. The ICMPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_PingClientBusy | ( | void | ) |
Event on ICMP6 ping client busy (Error)
The event PingClientBusy is created when the function netPing_Echo is executed, and the internal ping process is still busy.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_PingDnsError | ( | void | ) |
Event on ICMP6 ping host name resolver error (Error)
The event PingDnsError is created when the function netPing_EchoX is executed, and the internal DNS resolver failed. To resolve this error, call the function again after a short delay.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_PingEcho | ( | const uint8_t * | ip6_addr | ) |
Event on ICMP6 ping echo request (API)
ip6_addr | pointer to IPv6 address |
The event PingEcho is created when the functions netPing_Echo or netPing_EchoX are executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_PingInvalidParameter | ( | void | ) |
Event on ICMP6 ping invalid parameter (Error)
The event PingInvalidParameter is created when the function netPing_Echo is executed, and the function input parameter is invalid.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_PingRetransmitRequest | ( | uint16_t | if_id | ) |
Event on ICMP6 retransmit echo request (Op)
if_id | network interface identifier |
The event PingRetransmitRequest is created when the network library wants to retransmit an ICMPv6 echo request because the target host is not responding.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_PingSendRequest | ( | uint16_t | if_id | ) |
Event on ICMP6 send echo request (Op)
if_id | network interface identifier |
The event PingSendRequest is created when the network library wants to send an ICMPv6 echo request.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_PingTargetNotValid | ( | void | ) |
Event on ICMP6 ping target name not valid (Error)
The event PingTargetNotValid is created when the function netPing_EchoX is executed, and the target name is invalid and can not be resolved.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_PingTimeout | ( | uint16_t | if_id | ) |
Event on ICMP6 timeout on send echo request (Op)
if_id | network interface identifier |
The event PingTimeout is created when the network library has left the internal ping process because the target host is not responding.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_ReceiveFrame | ( | uint16_t | if_id, |
uint32_t | length | ||
) |
Event on ICMP6 receive frame (Op)
if_id | network interface identifier |
length | frame length in bytes |
The event ReceiveFrame is created when the network library receives the ICMPv6 frame.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_SendEchoReply | ( | uint16_t | if_id | ) |
Event on ICMP6 send echo reply (Op)
if_id | network interface identifier |
The event SendEchoReply is created when the network library wants to send an ICMPv6 echo reply.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_SendFrame | ( | uint16_t | if_id, |
uint32_t | length | ||
) |
Event on ICMP6 send frame (Op)
if_id | network interface identifier |
length | frame length in bytes |
The event SendFrame is created when the network library wants to send an ICMPv6 frame.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_ShowFrameHeader | ( | const void * | icmp6_header | ) |
Event on ICMP6 display send/receive frame header (Detail)
icmp6_header | pointer to ICMP6 frame header of 8 bytes
|
The event ShowFrameHeader is created when the network library wants to display detailed information about the ICMPv6 header.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_WrongCode | ( | uint16_t | if_id, |
uint8_t | code, | ||
uint8_t | code_valid | ||
) |
Event on ICMP6 wrong code in discover message (Error)
if_id | network interface identifier |
code | received ICMPv6 code |
code_valid | valid ICMPv6 code |
The event WrongCode is created when the network library receives the ICMPv6 discovery frame, but the code byte is invalid. The ICMPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetICMP6_WrongHopLimit | ( | uint16_t | if_id, |
uint8_t | hop_limit, | ||
uint8_t | hop_valid | ||
) |
Event on ICMP6 wrong hop limit in discover message (Error)
if_id | network interface identifier |
hop_limit | received hop limit |
hop_valid | valid hop limit |
The event WrongHopLimit is created when the network library receives the ICMPv6 discovery frame, but the IPv6 hop limit is invalid. The ICMPv6 frame is therefore discarded.
Value in the Event Recorder shows: