Events generated by the Network - Dynamic Host Configuration Client for IPv6 functions. More...
Functions | |
__STATIC_INLINE void | EvrNetDHCP6_InitClient (uint16_t if_id, uint8_t vclass) |
Event on DHCP6 client initialize (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_GetSocketFailed (void) |
Event on DHCP6 failed to allocate UDP socket (Error) | |
__STATIC_INLINE void | EvrNetDHCP6_StartClient (uint16_t if_id, uint32_t mode) |
Event on DHCP6 client start (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_StopClient (uint16_t if_id) |
Event on DHCP6 client stop (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_ClientState (uint16_t if_id, uint8_t state) |
Event on DHCP6 indication of client state (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_NextState (uint16_t if_id, uint8_t state) |
Event on DHCP6 transition to next state (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_NextStateDelay (uint16_t if_id, uint8_t state, uint16_t delay) |
Event on DHCP6 transition to next state with random delay (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_ChangeStateLinkDown (uint16_t if_id, uint8_t state) |
Event on DHCP6 change state on link-down (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_NoAddressAvailable (uint16_t if_id, uint8_t state) |
Event on DHCP6 receive status no address available (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_StateRetransmit (uint16_t if_id, uint8_t state) |
Event on DHCP6 retransmit request in current state (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_StateTimeout (uint16_t if_id, uint8_t state) |
Event on DHCP6 timeout in current state (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_ChangeStateOnTimeout (uint16_t if_id, uint8_t current, uint8_t next) |
Event on DHCP6 state timeout and transit to next state (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_T1Expired (uint16_t if_id, uint8_t state) |
Event on DHCP6 timer T1 expired (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_T2Expired (uint16_t if_id, uint8_t state) |
Event on DHCP6 timer T2 expired (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_SendDhcpMessage (uint16_t if_id, uint8_t msg_type, uint32_t xid) |
Event on DHCP6 send message (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_ReceiveFrame (uint16_t if_id, uint32_t length) |
Event on DHCP6 receive frame (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_FrameTooShort (uint16_t if_id, uint32_t length, uint32_t min_length) |
Event on DHCP6 receive frame too short (Error) | |
__STATIC_INLINE void | EvrNetDHCP6_WrongTransactionId (uint16_t if_id, uint32_t xid, uint32_t xid_valid) |
Event on DHCP6 receive wrong transaction identifier (Error) | |
__STATIC_INLINE void | EvrNetDHCP6_MessageTypeUnknown (uint16_t if_id, uint8_t msg_type) |
Event on DHCP6 receive unknown message type (Error) | |
__STATIC_INLINE void | EvrNetDHCP6_ViewMessage (uint16_t if_id, uint8_t msg_type, uint32_t xid) |
Event on DHCP6 display message information (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_InvalidMessageType (uint16_t if_id, uint8_t msg_type, uint8_t msg_valid) |
Event on DHCP6 receive invalid message type (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_WrongClientId (uint16_t if_id, uint8_t msg_type) |
Event on DHCP6 receive wrong client identifier (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_ServerNotChosen (uint16_t if_id, uint8_t msg_type) |
Event on DHCP6 server not chosen in DISCOVER, REBIND state (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_StatusCode (uint16_t if_id, uint16_t status) |
Event on DHCP6 receive option status code (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_WrongServerId (uint16_t if_id, uint8_t msg_type) |
Event on DHCP6 receive wrong server identifier (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_ViewDnsServers (uint16_t if_id, const uint8_t *dns_list) |
Event on DHCP6 display DNS server addresses (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_MissingServerId (uint16_t if_id, uint8_t msg_type) |
Event on DHCP6 missing server identifier option (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_ViewIanaOffer (const void *iana_offer) |
Event on DHCP6 display IANA offer (Op) | |
__STATIC_INLINE void | EvrNetDHCP6_OfferTimerCheckFailed (uint16_t if_id) |
Event on DHCP6 offer address timer check failed (Error) | |
__STATIC_INLINE void | EvrNetDHCP6_UninitClient (uint16_t if_id) |
Event on DHCP6 client de-initialize (Op) | |
Events generated by the Network - Dynamic Host Configuration Client for IPv6 functions.
The Network DHCPv6 Client functions generate events that report events in the Dynamic Host Configuration Protocol version 6 client and help in troubleshooting.
__STATIC_INLINE void EvrNetDHCP6_ChangeStateLinkDown | ( | uint16_t | if_id, |
uint8_t | state | ||
) |
Event on DHCP6 change state on link-down (Op)
if_id | network interface identifier |
state | next state |
The event ChangeStateLinkDown is created when the network library displays the next state in which the DHCPv6 client will transit because the link-down is detected.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_ChangeStateOnTimeout | ( | uint16_t | if_id, |
uint8_t | current, | ||
uint8_t | next | ||
) |
Event on DHCP6 state timeout and transit to next state (Op)
if_id | network interface identifier |
current | current state |
next | next state |
The event ChangeStateOnTimeout is created when the timeout expired and the DHCPv6 client needs to change the state.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_ClientState | ( | uint16_t | if_id, |
uint8_t | state | ||
) |
Event on DHCP6 indication of client state (Op)
if_id | network interface identifier |
state | current state |
The event ClientState is created when the network library displays the current state of the DHCPv6 client.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_FrameTooShort | ( | uint16_t | if_id, |
uint32_t | length, | ||
uint32_t | min_length | ||
) |
Event on DHCP6 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 DHCPv6 response frame that is too short. The frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_GetSocketFailed | ( | void | ) |
Event on DHCP6 failed to allocate UDP socket (Error)
The event GetSocketFailed is created when the DHCPv6 client service is initialized, that is, when the function netInitialize is executed, and the service could not assign the UDP socket. To resolve this error, you must increase the number of available UDP sockets in the UDP socket configuration.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_InitClient | ( | uint16_t | if_id, |
uint8_t | vclass | ||
) |
Event on DHCP6 client initialize (Op)
if_id | network interface identifier |
vclass | Vendor Class option enabled |
The event InitClient is created when the DHCPv6 client service is initialized, that is, when the function netInitialize is executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_InvalidMessageType | ( | uint16_t | if_id, |
uint8_t | msg_type, | ||
uint8_t | msg_valid | ||
) |
Event on DHCP6 receive invalid message type (Op)
if_id | network interface identifier |
msg_type | received message type |
msg_valid | valid message type |
The event InvalidMessageType is created when the network library receives the DHCPv6 frame, but the type of message is not valid in current state. The DHCPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_MessageTypeUnknown | ( | uint16_t | if_id, |
uint8_t | msg_type | ||
) |
Event on DHCP6 receive unknown message type (Error)
if_id | network interface identifier |
msg_type | message type |
The event MessageTypeUnknown is created when the network library receives the DHCPv6 frame, but the type of message is not supported. The DHCPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_MissingServerId | ( | uint16_t | if_id, |
uint8_t | msg_type | ||
) |
Event on DHCP6 missing server identifier option (Op)
if_id | network interface identifier |
msg_type | received message type |
The event MissingServerId is created when the network library receives the DHCPv6 response frame, but the server identifier option is missing. The frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_NextState | ( | uint16_t | if_id, |
uint8_t | state | ||
) |
Event on DHCP6 transition to next state (Op)
if_id | network interface identifier |
state | next state |
The event NextState is created when the network library displays the next state in which the DHCPv6 client will transit.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_NextStateDelay | ( | uint16_t | if_id, |
uint8_t | state, | ||
uint16_t | delay | ||
) |
Event on DHCP6 transition to next state with random delay (Op)
if_id | network interface identifier |
state | next state |
delay | start delay (in 100ms ticks) |
The event NextStateDelay is created when the network library displays the next state in which the DHCPv6 client will transit after the expiration of the delay.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_NoAddressAvailable | ( | uint16_t | if_id, |
uint8_t | state | ||
) |
Event on DHCP6 receive status no address available (Op)
if_id | network interface identifier |
state | current state |
The event NoAddressAvailable is created when the network library can not assign the IPv6 address, because the DHCPv6 server responded with a "No Address Available" status message.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_OfferTimerCheckFailed | ( | uint16_t | if_id | ) |
Event on DHCP6 offer address timer check failed (Error)
if_id | network interface identifier |
The event OfferTimerCheckFailed is created when the network library receives the DHCPv6 offer message, but finds inconsistency in specified timeouts. The DHCPv6 frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_ReceiveFrame | ( | uint16_t | if_id, |
uint32_t | length | ||
) |
Event on DHCP6 receive frame (Op)
if_id | network interface identifier |
length | message length |
The event ReceiveFrame is created when the network library receives the DHCPv6 frame.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_SendDhcpMessage | ( | uint16_t | if_id, |
uint8_t | msg_type, | ||
uint32_t | xid | ||
) |
Event on DHCP6 send message (Op)
if_id | network interface identifier |
msg_type | message type |
xid | transaction identifier |
The event SendDhcpMessage is created when a network library sends a DHCPv6 message.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_ServerNotChosen | ( | uint16_t | if_id, |
uint8_t | msg_type | ||
) |
Event on DHCP6 server not chosen in DISCOVER, REBIND state (Op)
if_id | network interface identifier |
msg_type | received message type |
The event ServerNotChosen is created when the network library receives the DHCPv6 response frame in DISCOVER or REBIND state, but the DHCPv6 server is not selected. This happens if the server preference is lower than the preference of the already selected server, or the server identifier option is missing in the response.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_StartClient | ( | uint16_t | if_id, |
uint32_t | mode | ||
) |
Event on DHCP6 client start (Op)
if_id | network interface identifier |
mode | client mode
|
The event StartClient is created when the DHCPv6 client service is started. This happens when the functions netInitialize or netDHCP6_Enable are executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_StateRetransmit | ( | uint16_t | if_id, |
uint8_t | state | ||
) |
Event on DHCP6 retransmit request in current state (Op)
if_id | network interface identifier |
state | current state |
The event StateRetransmit is created when the network library wants to resend the DHCPv6 message. This happens if the DHCPv6 server does not respond to client request.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_StateTimeout | ( | uint16_t | if_id, |
uint8_t | state | ||
) |
Event on DHCP6 timeout in current state (Op)
if_id | network interface identifier |
state | current state |
The event StateTimeout is created when the discover timeout has expired and at least one DHCPv6 server responds to the discover messages.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_StatusCode | ( | uint16_t | if_id, |
uint16_t | status | ||
) |
Event on DHCP6 receive option status code (Op)
if_id | network interface identifier |
status | status code |
The event StatusCode is created when the network library finds the status code in a DHCPv6 frame and wants to display its value.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_StopClient | ( | uint16_t | if_id | ) |
Event on DHCP6 client stop (Op)
if_id | network interface identifier |
The event StopClient is created when the DHCPv6 client service is stopped, that is when the function netDHCP6_Disable is executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_T1Expired | ( | uint16_t | if_id, |
uint8_t | state | ||
) |
Event on DHCP6 timer T1 expired (Op)
if_id | network interface identifier |
state | current state |
The event T1Expired is created when the lease time of the assigned IPv6 address has expired and the lease must be renewed. The network library starts renewing the assigned IPv6 address.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_T2Expired | ( | uint16_t | if_id, |
uint8_t | state | ||
) |
Event on DHCP6 timer T2 expired (Op)
if_id | network interface identifier |
state | current state |
The event T2Expired is created when the lease time of the assigned IPv6 address has expired and the address renewal has failed. This is because the DHCPv6 server that assigned the IPv6 address is not accessible. The network library starts discovering DHCPv6 servers again.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_UninitClient | ( | uint16_t | if_id | ) |
Event on DHCP6 client de-initialize (Op)
if_id | network interface identifier |
The event UninitClient is created when the function netUninitialize is executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_ViewDnsServers | ( | uint16_t | if_id, |
const uint8_t * | dns_list | ||
) |
Event on DHCP6 display DNS server addresses (Op)
if_id | network interface identifier |
dns_list | pointer to DNS server address list |
The event ViewwDnsServers is created when the network library wants to display the IPv6 addresses of the primary and secondary DNS server.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_ViewIanaOffer | ( | const void * | iana_offer | ) |
Event on DHCP6 display IANA offer (Op)
iana_offer | pointer to IANA structure of 32 bytes
|
The event ViewIanaOffer is created when the network library wants to display detailed information about the IANA offer that was received. It contains the offered IPv6 address and the time limits of this address.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_ViewMessage | ( | uint16_t | if_id, |
uint8_t | msg_type, | ||
uint32_t | xid | ||
) |
Event on DHCP6 display message information (Op)
if_id | network interface identifier |
msg_type | message type |
xid | transaction identifier |
The event ViewMessage is created when the network library receives the DHCPv6 message.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_WrongClientId | ( | uint16_t | if_id, |
uint8_t | msg_type | ||
) |
Event on DHCP6 receive wrong client identifier (Op)
if_id | network interface identifier |
msg_type | received message type |
The event WrongClientId is created when the network library receives the DHCPv6 response frame, but the received client identifier is not identical to the client identifier sent in the DHCPv6 request. The frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_WrongServerId | ( | uint16_t | if_id, |
uint8_t | msg_type | ||
) |
Event on DHCP6 receive wrong server identifier (Op)
if_id | network interface identifier |
msg_type | received message type |
The event WrongServerId is created when the network library receives the DHCPv6 response frame, but the received server identifier is not identical to the server identifier sent in the DHCPv6 request. The frame is therefore discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetDHCP6_WrongTransactionId | ( | uint16_t | if_id, |
uint32_t | xid, | ||
uint32_t | xid_valid | ||
) |
Event on DHCP6 receive wrong transaction identifier (Error)
if_id | network interface identifier |
xid | received transaction identifier |
xid_valid | valid transaction identifier |
The event WrongTransactionId is created when the network library receives the DHCPv6 response frame, but the received transaction identifier (XID) is not identical to the transaction identifier of our DHCPv6 request. The frame is therefore discarded.
Value in the Event Recorder shows: