Network Component  Version 7.7.0
MDK Middleware for IPv4 and IPv6 Networking
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NetICMP: ICMP Control

Events generated by the Network - ICMP Control functions. More...

Functions

__STATIC_INLINE void EvrNetICMP_ReceiveFrame (const void *icmp_header)
 Event on ICMP receive frame (Op) More...
 
__STATIC_INLINE void EvrNetICMP_FrameTooShort (uint32_t length, uint32_t min_length)
 Event on ICMP received frame is too short (Error) More...
 
__STATIC_INLINE void EvrNetICMP_ChecksumFailed (uint32_t length)
 Event on ICMP frame checksum check failed (Error) More...
 
__STATIC_INLINE void EvrNetICMP_EchoRequestWrongCode (uint8_t icmp_code)
 Event on ICMP wrong code in echo request received (Error) More...
 
__STATIC_INLINE void EvrNetICMP_EchoRequestReceived (uint32_t data_length)
 Event on ICMP echo request received (Op) More...
 
__STATIC_INLINE void EvrNetICMP_SendEchoReply (const void *icmp_header)
 Event on ICMP send echo reply (Op) More...
 
__STATIC_INLINE void EvrNetICMP_EchoReplyReceived (uint32_t data_length)
 Event on ICMP echo reply received (Op) More...
 
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongState (void)
 Event on ICMP echo reply received in wrong ping process state (Error) More...
 
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongCode (uint8_t icmp_code)
 Event on ICMP wrong code in echo reply received (Error) More...
 
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongIpAddress (const uint8_t *ip4_addr)
 Event on ICMP wrong source IPv4 address of echo reply (Error) More...
 
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongId (uint16_t echo_id)
 Event on ICMP wrong echo identifier value in echo reply (Error) More...
 
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongPayload (void)
 Event on ICMP echo reply payload data invalid (Error) More...
 
__STATIC_INLINE void EvrNetICMP_MessageTypeUnknown (uint8_t icmp_type)
 Event on ICMP message type unknown (Op) More...
 
__STATIC_INLINE void EvrNetICMP_SendEchoRequest (const void *icmp_header)
 Event on ICMP send echo request (Op) More...
 
__STATIC_INLINE void EvrNetICMP_PingInit (void)
 Event on ICMP ping client initialize (Op) More...
 
__STATIC_INLINE void EvrNetICMP_PingInvalidParameter (void)
 Event on ICMP netPing_Echo invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetICMP_PingClientBusy (void)
 Event on ICMP netPing_Echo client busy (Error) More...
 
__STATIC_INLINE void EvrNetICMP_PingSendRequest (void)
 Event on ICMP netPing_Echo send echo request (API) More...
 
__STATIC_INLINE void EvrNetICMP_PingRetransmitRequest (void)
 Event on ICMP retransmit echo request (Op) More...
 
__STATIC_INLINE void EvrNetICMP_PingTimeout (void)
 Event on ICMP timeout on ping send echo request (Op) More...
 

Description

Events generated by the Network - ICMP Control functions.

Function Documentation

__STATIC_INLINE void EvrNetICMP_ChecksumFailed ( uint32_t  length)

Event on ICMP frame checksum check failed (Error)

Parameters
lengthframe length in bytes
__STATIC_INLINE void EvrNetICMP_EchoReplyReceived ( uint32_t  data_length)

Event on ICMP echo reply received (Op)

Parameters
data_lengthlength of the payload data
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongCode ( uint8_t  icmp_code)

Event on ICMP wrong code in echo reply received (Error)

Parameters
icmp_codewrong ICMP code value
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongId ( uint16_t  echo_id)

Event on ICMP wrong echo identifier value in echo reply (Error)

Parameters
echo_idwrong echo identifier value
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongIpAddress ( const uint8_t *  ip4_addr)

Event on ICMP wrong source IPv4 address of echo reply (Error)

Parameters
ip4_addrpointer to IPv4 address
__STATIC_INLINE void EvrNetICMP_EchoReplyWrongPayload ( void  )

Event on ICMP echo reply payload data invalid (Error)

__STATIC_INLINE void EvrNetICMP_EchoReplyWrongState ( void  )

Event on ICMP echo reply received in wrong ping process state (Error)

__STATIC_INLINE void EvrNetICMP_EchoRequestReceived ( uint32_t  data_length)

Event on ICMP echo request received (Op)

Parameters
data_lengthlength of the payload data
__STATIC_INLINE void EvrNetICMP_EchoRequestWrongCode ( uint8_t  icmp_code)

Event on ICMP wrong code in echo request received (Error)

Parameters
icmp_codewrong ICMP code value
__STATIC_INLINE void EvrNetICMP_FrameTooShort ( uint32_t  length,
uint32_t  min_length 
)

Event on ICMP received frame is too short (Error)

Parameters
lengthframe length in bytes
min_lengthminimum length of the frame
__STATIC_INLINE void EvrNetICMP_MessageTypeUnknown ( uint8_t  icmp_type)

Event on ICMP message type unknown (Op)

Parameters
icmp_typewrong ICMP message type value
__STATIC_INLINE void EvrNetICMP_PingClientBusy ( void  )

Event on ICMP netPing_Echo client busy (Error)

__STATIC_INLINE void EvrNetICMP_PingInit ( void  )

Event on ICMP ping client initialize (Op)

__STATIC_INLINE void EvrNetICMP_PingInvalidParameter ( void  )

Event on ICMP netPing_Echo invalid parameter (Error)

__STATIC_INLINE void EvrNetICMP_PingRetransmitRequest ( void  )

Event on ICMP retransmit echo request (Op)

__STATIC_INLINE void EvrNetICMP_PingSendRequest ( void  )

Event on ICMP netPing_Echo send echo request (API)

__STATIC_INLINE void EvrNetICMP_PingTimeout ( void  )

Event on ICMP timeout on ping send echo request (Op)

__STATIC_INLINE void EvrNetICMP_ReceiveFrame ( const void *  icmp_header)

Event on ICMP receive frame (Op)

Parameters
icmp_headerpointer to ICMP frame header of 8 bytes
  • Type (1 byte)
  • Code (1 byte)
  • Chksum (2 bytes)
  • EchoId (2 bytes)
  • EchoSeq (2 bytes)
__STATIC_INLINE void EvrNetICMP_SendEchoReply ( const void *  icmp_header)

Event on ICMP send echo reply (Op)

Parameters
icmp_headerpointer to ICMP frame header of 8 bytes
  • Type (1 byte)
  • Code (1 byte)
  • Chksum (2 bytes)
  • EchoId (2 bytes)
  • EchoSeq (2 bytes)
__STATIC_INLINE void EvrNetICMP_SendEchoRequest ( const void *  icmp_header)

Event on ICMP send echo request (Op)

Parameters
icmp_headerpointer to ICMP frame header of 8 bytes
  • Type (1 byte)
  • Code (1 byte)
  • Chksum (2 bytes)
  • EchoId (2 bytes)
  • EchoSeq (2 bytes)