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
NetICMP6: ICMP6 Control

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 received 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 icmp6_code)
 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 icmp6_code)
 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 echo_id)
 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 icmp6_type)
 Event on ICMP6 router solicitation message discarded (Op) More...
 
__STATIC_INLINE void EvrNetICMP6_WrongHopLimit (uint8_t hop_limit)
 Event on ICMP6 wrong hop limit in discover message (Error) More...
 
__STATIC_INLINE void EvrNetICMP6_WrongCode (uint8_t icmp6_code)
 Event on ICMP6 wrong code in discover message (Error) More...
 
__STATIC_INLINE void EvrNetICMP6_MessageTypeUnknown (uint8_t icmp6_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...
 

Description

Events generated by the Network - ICMPv6 Control functions.

Function Documentation

__STATIC_INLINE void EvrNetICMP6_ChecksumFailed ( uint32_t  length)

Event on ICMP6 frame checksum check failed (Error)

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

Event on ICMP6 echo reply received (Op)

Parameters
data_lengthlength of the payload data
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongCode ( uint8_t  icmp6_code)

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

Parameters
icmp6_codewrong ICMP code value
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongId ( uint16_t  echo_id)

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

Parameters
echo_idwrong echo identifier value
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongIpAddress ( const uint8_t *  ip6_addr)

Event on ICMP6 wrong source IPv6 address of echo reply (Error)

Parameters
ip6_addrpointer to IPv6 address
__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongPayload ( void  )

Event on ICMP6 echo reply payload data invalid (Error)

__STATIC_INLINE void EvrNetICMP6_EchoReplyWrongState ( void  )

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

__STATIC_INLINE void EvrNetICMP6_EchoRequestReceived ( uint32_t  data_length)

Event on ICMP6 echo request received (Op)

Parameters
data_lengthlength of the payload data
__STATIC_INLINE void EvrNetICMP6_EchoRequestWrongCode ( uint8_t  icmp6_code)

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

Parameters
icmp6_codewrong ICMP6 code value
__STATIC_INLINE void EvrNetICMP6_FrameTooShort ( uint32_t  length,
uint32_t  min_length 
)

Event on ICMP6 received frame is too short (Error)

Parameters
lengthframe length in bytes
min_lengthminimum length of the frame
__STATIC_INLINE void EvrNetICMP6_MessageDiscarded ( uint8_t  icmp6_type)

Event on ICMP6 router solicitation message discarded (Op)

Parameters
icmp6_typeICMP6 message type
Note
Hosts must silently discard RS messages [RFC4861 page 38]
__STATIC_INLINE void EvrNetICMP6_MessageTypeUnknown ( uint8_t  icmp6_type)

Event on ICMP6 message type unknown (Op)

Parameters
icmp6_typeICMP6 message type
__STATIC_INLINE void EvrNetICMP6_ReceiveFrame ( const void *  icmp6_header)

Event on ICMP6 receive frame (Op)

Parameters
icmp6_headerpointer to ICMP6 frame header of 8 bytes
  • Type (1 byte)
  • Code (1 byte)
  • Chksum (2 bytes)
  • EchoId (2 bytes)
  • EchoSeq (2 bytes)
__STATIC_INLINE void EvrNetICMP6_SendEchoReply ( const void *  icmp6_header)

Event on ICMP6 send echo reply (Op)

Parameters
icmp6_headerpointer to ICMP6 frame header of 8 bytes
  • Type (1 byte)
  • Code (1 byte)
  • Chksum (2 bytes)
  • EchoId (2 bytes)
  • EchoSeq (2 bytes)
__STATIC_INLINE void EvrNetICMP6_SendFrame ( const void *  icmp6_header)

Event on ICMP6 send frame (Op)

Parameters
icmp6_headerpointer to ICMP6 frame header of 8 bytes
  • Type (1 byte)
  • Code (1 byte)
  • Chksum (2 bytes)
  • EchoId (2 bytes)
  • EchoSeq (2 bytes)
__STATIC_INLINE void EvrNetICMP6_WrongCode ( uint8_t  icmp6_code)

Event on ICMP6 wrong code in discover message (Error)

Parameters
icmp6_codecode value
__STATIC_INLINE void EvrNetICMP6_WrongHopLimit ( uint8_t  hop_limit)

Event on ICMP6 wrong hop limit in discover message (Error)

Parameters
hop_limithop limit value