![]() |
Network Component
Version 7.12.0
MDK Middleware for IPv4 and IPv6 Networking
|
Events generated by the Network - ICMPv6 Control functions. More...
Functions | |
| __STATIC_INLINE void | EvrNetICMP6_ReceiveFrame (const void *icmp6_header) |
| Event on ICMP6 receive frame (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_FrameTooShort (uint32_t length, uint32_t min_length) |
| Event on ICMP6 receive frame is too short (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_ChecksumFailed (uint32_t length) |
| Event on ICMP6 frame checksum check failed (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_EchoRequestWrongCode (uint8_t code, uint8_t code_valid) |
| Event on ICMP6 wrong code in echo request received (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_EchoRequestReceived (uint32_t data_length) |
| Event on ICMP6 echo request received (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_SendEchoReply (const void *icmp6_header) |
| Event on ICMP6 send echo reply (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_EchoReplyReceived (uint32_t data_length) |
| Event on ICMP6 echo reply received (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongState (void) |
| Event on ICMP6 echo reply received in wrong ping process state (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongCode (uint8_t code, uint8_t code_valid) |
| Event on ICMP6 wrong code in echo reply received (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongIpAddress (const uint8_t *ip6_addr) |
| Event on ICMP6 wrong source IPv6 address of echo reply (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongId (uint16_t eid, uint16_t eid_valid) |
| Event on ICMP6 wrong echo identifier value in echo reply (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_EchoReplyWrongPayload (void) |
| Event on ICMP6 echo reply payload data invalid (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_MessageDiscarded (uint8_t type) |
| Event on ICMP6 router solicitation message discarded (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_WrongHopLimit (uint8_t hop_limit, uint8_t hop_valid) |
| Event on ICMP6 wrong hop limit in discover message (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_WrongCode (uint8_t code, uint8_t code_valid) |
| Event on ICMP6 wrong code in discover message (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_MessageTypeUnknown (uint8_t type) |
| Event on ICMP6 message type unknown (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_SendFrame (const void *icmp6_header) |
| Event on ICMP6 send frame (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_PingEcho (const uint8_t *ip6_addr) |
| Event on ICMP6 ping echo request (API) More... | |
| __STATIC_INLINE void | EvrNetICMP6_PingTargetNotValid (void) |
| Event on ICMP6 ping target name not valid (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_PingDnsError (void) |
| Event on ICMP6 ping host name resolver error (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_PingInvalidParameter (void) |
| Event on ICMP6 ping invalid parameter (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_PingClientBusy (void) |
| Event on ICMP6 ping client busy (Error) More... | |
| __STATIC_INLINE void | EvrNetICMP6_PingSendRequest (void) |
| Event on ICMP6 send echo request (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_PingRetransmitRequest (void) |
| Event on ICMP6 retransmit echo request (Op) More... | |
| __STATIC_INLINE void | EvrNetICMP6_PingTimeout (void) |
| Event on ICMP6 timeout on send echo request (Op) More... | |
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 | ( | uint32_t | length | ) |
Event on ICMP6 frame checksum check failed (Error)
| 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_EchoReplyReceived | ( | uint32_t | data_length | ) |
Event on ICMP6 echo reply received (Op)
| 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 | ( | uint8_t | code, |
| uint8_t | code_valid | ||
| ) |
Event on ICMP6 wrong code in echo reply received (Error)
| 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 | eid, |
| uint16_t | eid_valid | ||
| ) |
Event on ICMP6 wrong echo identifier value in echo reply (Error)
| 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 | ( | const uint8_t * | ip6_addr | ) |
Event on ICMP6 wrong source IPv6 address of echo reply (Error)
| 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 | ( | void | ) |
Event on ICMP6 echo reply payload data invalid (Error)
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 | ( | void | ) |
Event on ICMP6 echo reply received in wrong ping process state (Error)
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 | ( | uint32_t | data_length | ) |
Event on ICMP6 echo request received (Op)
| 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 | ( | uint8_t | code, |
| uint8_t | code_valid | ||
| ) |
Event on ICMP6 wrong code in echo request received (Error)
| 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 | ( | uint32_t | length, |
| uint32_t | min_length | ||
| ) |
Event on ICMP6 receive frame is too short (Error)
| 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 | ( | uint8_t | type | ) |
Event on ICMP6 router solicitation message discarded (Op)
| 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 | ( | uint8_t | type | ) |
Event on ICMP6 message type unknown (Op)
| 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.
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 | ( | void | ) |
Event on ICMP6 retransmit echo request (Op)
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 | ( | void | ) |
Event on ICMP6 send echo request (Op)
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 | ( | void | ) |
Event on ICMP6 timeout on send echo request (Op)
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 | ( | const void * | icmp6_header | ) |
Event on ICMP6 receive frame (Op)
| icmp6_header | pointer to ICMP6 frame header of 8 bytes
|
The event ReceiveFrame is created when the network library receives the ICMPv6 frame. This event displays detailed information about the ICMPv6 protocol header.
Value in the Event Recorder shows:
| __STATIC_INLINE void EvrNetICMP6_SendEchoReply | ( | const void * | icmp6_header | ) |
Event on ICMP6 send echo reply (Op)
| icmp6_header | pointer to ICMP6 frame header of 8 bytes
|
The event SendEchoReply is created when the network library wants to send an ICMPv6 echo reply. This event displays detailed information about the ICMPv6 protocol header.
Value in the Event Recorder shows:
| __STATIC_INLINE void EvrNetICMP6_SendFrame | ( | const void * | icmp6_header | ) |
Event on ICMP6 send frame (Op)
| icmp6_header | pointer to ICMP6 frame header of 8 bytes
|
The event SendFrame is created when the network library wants to send an ICMPv6 frame. This event displays detailed information about the ICMPv6 protocol header.
Value in the Event Recorder shows:
| __STATIC_INLINE void EvrNetICMP6_WrongCode | ( | uint8_t | code, |
| uint8_t | code_valid | ||
| ) |
Event on ICMP6 wrong code in discover message (Error)
| 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 | ( | uint8_t | hop_limit, |
| uint8_t | hop_valid | ||
| ) |
Event on ICMP6 wrong hop limit in discover message (Error)
| 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: