Events generated by the Network - IPv6 Core functions. More...
Functions | |
__STATIC_INLINE void | EvrNetIP6_InitCore (uint16_t if_id) |
Event on IP6 core initialize (Op) | |
__STATIC_INLINE void | EvrNetIP6_ReceiveFrame (uint16_t if_id, uint32_t length) |
Event on IP6 receive frame (Op) | |
__STATIC_INLINE void | EvrNetIP6_FrameTooShort (uint16_t if_id, uint32_t length, uint32_t min_length) |
Event on IP6 receive frame too short (Error) | |
__STATIC_INLINE void | EvrNetIP6_InvalidIpVersion (uint16_t if_id, uint8_t ip_version) |
Event on IP6 invalid protocol version (Error) | |
__STATIC_INLINE void | EvrNetIP6_ShowFrameHeader (const void *ip6_header) |
Event on IP6 display frame header (Detail) | |
__STATIC_INLINE void | EvrNetIP6_WrongDestinationAddress (uint16_t if_id, const uint8_t *ip6_addr) |
Event on IP6 wrong destination address (Op) | |
__STATIC_INLINE void | EvrNetIP6_InterfaceNotSupported (uint16_t if_id) |
Event on IP6 network interface not supported (Error) | |
__STATIC_INLINE void | EvrNetIP6_WrongMulticastProtocol (uint16_t if_id, uint8_t ip6_protocol) |
Event on IP6 wrong multicast protocol type (Error) | |
__STATIC_INLINE void | EvrNetIP6_FragmentationDisabled (uint16_t if_id) |
Event on IP6 receive fragmented frame (Error) | |
__STATIC_INLINE void | EvrNetIP6_SendFrame (uint16_t if_id, uint8_t ip6_protocol, uint32_t length) |
Event on IP6 send frame (Op) | |
__STATIC_INLINE void | EvrNetIP6_ProtocolUnknown (uint16_t if_id, uint8_t ip6_protocol) |
Event on IP6 unknown protocol type in sending frame (Error) | |
__STATIC_INLINE void | EvrNetIP6_SourceAddressNull (uint16_t if_id) |
Event on IP6 source address not provided (Error) | |
__STATIC_INLINE void | EvrNetIP6_DestinationAddressNull (uint16_t if_id) |
Event on IP6 destination address not provided (Error) | |
__STATIC_INLINE void | EvrNetIP6_SetDefaultInterface (uint16_t if_id) |
Event on IP6 set default interface for internet access (Op) | |
__STATIC_INLINE void | EvrNetIP6_UninitCore (void) |
Event on IP6 core de-initialize (Op) | |
Events generated by the Network - IPv6 Core functions.
The Network IPv6 Core functions generate events that report events in the network core of Internet Protocol version 6 and help in troubleshooting.
__STATIC_INLINE void EvrNetIP6_DestinationAddressNull | ( | uint16_t | if_id | ) |
Event on IP6 destination address not provided (Error)
if_id | network interface identifier |
The event DestinationAddressNull is created when the internal send_frame function wants to send the IPv6 frame and finds out, that the destination address is not specified. The IPv6 header can not be created and therefore the frame is not sent.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_FragmentationDisabled | ( | uint16_t | if_id | ) |
Event on IP6 receive fragmented frame (Error)
if_id | network interface identifier |
The event FragmentationDisabled is created when the network library receives the IPv6 frame fragment, but the IPv6 fragmentation is disabled in the network configuration. The IPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_FrameTooShort | ( | uint16_t | if_id, |
uint32_t | length, | ||
uint32_t | min_length | ||
) |
Event on IP6 receive frame 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 IPv6 frame that is too short. The received length reported by the interface driver is shorter than the length encoded in the IPv6 frame header. The physical length of the frame must be at least equal to the length encoded in IPv6 frame header. Since this is not true, the frame is discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_InitCore | ( | uint16_t | if_id | ) |
Event on IP6 core initialize (Op)
if_id | network interface identifier |
The event InitCore is created when the IPv6 core is initialized, that is, when the function netInitialize is executed. It also informs you of the default network interface assigned to access the Internet.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_InterfaceNotSupported | ( | uint16_t | if_id | ) |
Event on IP6 network interface not supported (Error)
if_id | network interface identifier |
The event InterfaceNotSupported is created when the network library receives an IPv6 frame on the network interface that does not support the IPv6. The IPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_InvalidIpVersion | ( | uint16_t | if_id, |
uint8_t | ip_version | ||
) |
Event on IP6 invalid protocol version (Error)
if_id | network interface identifier |
ip_version | IPv6 protocol version value |
The event InvalidIpVersion is created when the network library receives an IPv6 frame that has an unrecognized IP version encoded in the IPv6 header. The IP version should be 6, all other values are invalid. The frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_ProtocolUnknown | ( | uint16_t | if_id, |
uint8_t | ip6_protocol | ||
) |
Event on IP6 unknown protocol type in sending frame (Error)
if_id | network interface identifier |
ip6_protocol | unknown IPv6 protocol type value |
The event ProtocolUnknown is created when the network library wants to send the IPv6 frame, but the provided IPv6 protocol type is not supported. The frame is therefore not sent.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_ReceiveFrame | ( | uint16_t | if_id, |
uint32_t | length | ||
) |
Event on IP6 receive frame (Op)
if_id | network interface identifier |
length | frame length in bytes |
The event ReceiveFrame is created when the network library receives the IPv6 frame. The frame can come from any interface.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_SendFrame | ( | uint16_t | if_id, |
uint8_t | ip6_protocol, | ||
uint32_t | length | ||
) |
Event on IP6 send frame (Op)
if_id | network interface identifier |
ip6_protocol | IPv6 protocol type
|
length | frame length |
The event SendFrame is created when the internal send_frame function wants to send the IPv6 frame. The IPv6 header is constructed and the frame is sent to the transfer interface.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_SetDefaultInterface | ( | uint16_t | if_id | ) |
Event on IP6 set default interface for internet access (Op)
if_id | network interface identifier |
The event SetDefaultInterface is created when the system wants to change the network interface used to access the internet. This usually happens when the netIF_SetDefault function is executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_ShowFrameHeader | ( | const void * | ip6_header | ) |
Event on IP6 display frame header (Detail)
ip6_header | pointer to IPv6 frame header of 40 bytes
|
The event ShowFrameHeader is created when the network library wants to display detailed information about the IPv6 header.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_SourceAddressNull | ( | uint16_t | if_id | ) |
Event on IP6 source address not provided (Error)
if_id | network interface identifier |
The event SourceAddressNull is created when the internal send_frame function wants to send the IPv6 frame and finds out, that the local address is not specified. The IPv6 header can not be created and therefore the frame is not sent.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_UninitCore | ( | void | ) |
Event on IP6 core de-initialize (Op)
The event UninitCore is created when the function netUninitialize is executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_WrongDestinationAddress | ( | uint16_t | if_id, |
const uint8_t * | ip6_addr | ||
) |
Event on IP6 wrong destination address (Op)
if_id | network interface identifier |
ip6_addr | pointer to IPv6 destination address |
The event WrongDestinationAddress is created when the network library receives an IPv6 frame that has an invalid destination address. The IPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetIP6_WrongMulticastProtocol | ( | uint16_t | if_id, |
uint8_t | ip6_protocol | ||
) |
Event on IP6 wrong multicast protocol type (Error)
if_id | network interface identifier |
ip6_protocol | received protocol type |
The event WrongMulticastProtocol is created when the network library receives an IPv6 multicast frame that has an invalid protocol type. The IPv6 frame is therefore discarded.
Value in the Event Recorder shows: