Network Component  Version 7.3
MDK Middleware for IPv4 and IPv6 Networking
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NetIP6: IP6 Core

Events generated by the Network - IPv6 Core functions. More...

Functions

__STATIC_INLINE void EvrNetIP6_InitCore (void)
 Event on IPv6 core initialize (Op) More...
 
__STATIC_INLINE void EvrNetIP6_ReceiveFrame (uint32_t length)
 Event on IPv6 receive frame (Op) More...
 
__STATIC_INLINE void EvrNetIP6_FrameTooShort (uint32_t length)
 Event on IPv6 received frame too short (Error) More...
 
__STATIC_INLINE void EvrNetIP6_InvalidIpVersion (uint8_t ip_version)
 Event on IPv6 invalid protocol version (Error) More...
 
__STATIC_INLINE void EvrNetIP6_HeaderInfo (const void *ip6_header)
 Event on IPv6 frame header info (Detail) More...
 
__STATIC_INLINE void EvrNetIP6_WrongDestinationAddress (const uint8_t *ip6_address)
 Event on IPv6 wrong destination address (Op) More...
 
__STATIC_INLINE void EvrNetIP6_InterfaceNotSupported (uint32_t interface)
 Event on IPv6 network interface not supported (Error) More...
 
__STATIC_INLINE void EvrNetIP6_WrongMulticastProtocol (uint8_t ip6_protocol)
 Event on IPv6 wrong multicast protocol type (Error) More...
 
__STATIC_INLINE void EvrNetIP6_SendFrame (uint8_t ip6_protocol, uint32_t length)
 Event on IP6 send frame (Op) More...
 
__STATIC_INLINE void EvrNetIP6_ProtocolUnknown (uint8_t ip6_protocol)
 Event on IP6 unknown protocol type in sending frame (Error) More...
 
__STATIC_INLINE void EvrNetIP6_SourceAddressNull (void)
 Event on IP6 source address not provided (Error) More...
 
__STATIC_INLINE void EvrNetIP6_DestinationAddressNull (void)
 Event on IP6 destination address not provided (Error) More...
 

Description

Events generated by the Network - IPv6 Core functions.

Function Documentation

__STATIC_INLINE void EvrNetIP6_DestinationAddressNull ( void  )

Event on IP6 destination address not provided (Error)

__STATIC_INLINE void EvrNetIP6_FrameTooShort ( uint32_t  length)

Event on IPv6 received frame too short (Error)

Parameters
lengthframe length in bytes
__STATIC_INLINE void EvrNetIP6_HeaderInfo ( const void *  ip6_header)

Event on IPv6 frame header info (Detail)

Parameters
ip6_headerpointer to IPv6 frame header of 40 bytes
  • VerClass (1 byte)
  • ClassFlow (1 byte)
  • Flow (2 bytes)
  • Len (2 bytes)
  • NextHdr (1 byte)
  • HopLim (1 byte)
  • SrcAddr (16 bytes)
  • DstAddr (16 bytes)
__STATIC_INLINE void EvrNetIP6_InitCore ( void  )

Event on IPv6 core initialize (Op)

__STATIC_INLINE void EvrNetIP6_InterfaceNotSupported ( uint32_t  interface)

Event on IPv6 network interface not supported (Error)

Parameters
interfacenetwork interface
__STATIC_INLINE void EvrNetIP6_InvalidIpVersion ( uint8_t  ip_version)

Event on IPv6 invalid protocol version (Error)

Parameters
ip_versionnot IPv6 protocol version value
  • 0..5
  • 7..15
__STATIC_INLINE void EvrNetIP6_ProtocolUnknown ( uint8_t  ip6_protocol)

Event on IP6 unknown protocol type in sending frame (Error)

Parameters
ip6_protocolunknown IPv6 protocol type value
__STATIC_INLINE void EvrNetIP6_ReceiveFrame ( uint32_t  length)

Event on IPv6 receive frame (Op)

Parameters
lengthframe length in bytes
__STATIC_INLINE void EvrNetIP6_SendFrame ( uint8_t  ip6_protocol,
uint32_t  length 
)

Event on IP6 send frame (Op)

Parameters
ip6_protocolIPv6 protocol type
  • 6: TCP
  • 17: UDP
  • 58: ICMP6
lengthframe length
__STATIC_INLINE void EvrNetIP6_SourceAddressNull ( void  )

Event on IP6 source address not provided (Error)

__STATIC_INLINE void EvrNetIP6_WrongDestinationAddress ( const uint8_t *  ip6_address)

Event on IPv6 wrong destination address (Op)

Parameters
ip6_addresspointer to IPv6 destination address
__STATIC_INLINE void EvrNetIP6_WrongMulticastProtocol ( uint8_t  ip6_protocol)

Event on IPv6 wrong multicast protocol type (Error)

Parameters
ip6_protocolwrong protocol type value
Note
Only UDP multicast frames are allowed!