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

Events generated by the Network - Dynamic Host Configuration Client for IPv6 functions. More...

Functions

__STATIC_INLINE void EvrNetDHCP6_InitClient (uint8_t option_flags)
 Event on DHCP6 client initialize (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_GetSocketFailed (void)
 Event on DHCP6 failed to allocate UDP socket (Error) More...
 
__STATIC_INLINE void EvrNetDHCP6_StartClient (uint32_t mode)
 Event on DHCP6 start client (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_StopClient (void)
 Event on DHCP6 stop client (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_ClientState (uint32_t state)
 Event on DHCP6 indication of client state (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_NextState (uint32_t state)
 Event on DHCP6 transition to next state (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_NextStateDelay (uint32_t state, uint32_t delay)
 Event on DHCP6 transition to next state with random delay(Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_ChangeStateLinkDown (uint32_t state)
 Event on DHCP6 change state on link-down (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_NoAddressAvailable (uint32_t state)
 Event on DHCP6 no address available status received (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_StateRetransmit (uint32_t state)
 Event on DHCP6 retransmit request in current state (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_StateTimeout (uint32_t state)
 Event on DHCP6 timeout in current state (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_ChangeStateOnTimeout (uint32_t current, uint32_t next)
 Event on DHCP6 state timeout and transit to next state (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_T1Expired (uint32_t state)
 Event on DHCP6 timer T1 expired (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_T2Expired (uint32_t state)
 Event on DHCP6 timer T2 expired (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_SendDhcpMessage (uint8_t msg_type)
 Event on DHCP6 send message (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_ReceiveFrame (uint8_t msg_type, uint32_t length)
 Event on DHCP6 receive frame (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_FrameTooShort (uint32_t length)
 Event on DHCP6 received frame is too short (Error) More...
 
__STATIC_INLINE void EvrNetDHCP6_WrongTransactionId (uint32_t xid)
 Event on DHCP6 wrong Transaction Id (XID) received (Error) More...
 
__STATIC_INLINE void EvrNetDHCP6_UnknownMessageType (uint8_t msg_type)
 Event on DHCP6 unknown message type received (Error) More...
 
__STATIC_INLINE void EvrNetDHCP6_InvalidMessageType (uint8_t msg_type)
 Event on DHCP6 invalid message type received (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_WrongClientId (void)
 Event on DHCP6 wrong client identifier received (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_ServerNotChosen (void)
 Event on DHCP6 server not chosen in DISCOVER, REBIND state (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_StatusCode (uint16_t status)
 Event on DHCP6 option status code received (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_WrongServerId (void)
 Event on DHCP6 wrong server identifier received (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_ShowDnsServers (const uint8_t *dns_list)
 Event on DHCP6 display DNS server addresses (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_MissingServerId (void)
 Event on DHCP6 missing server identifier option (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_WrongIaid (uint32_t iaid)
 Event on DHCP6 wrong Identity Association Identifier (IAID) received (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_ShowIanaOffer (const void *iana_offer)
 Event on DHCP6 display IANA offer (Op) More...
 
__STATIC_INLINE void EvrNetDHCP6_OfferTimerCheckFailed (void)
 Event on DHCP6 offer address timer check failed (Error) More...
 

Description

Events generated by the Network - Dynamic Host Configuration Client for IPv6 functions.

Function Documentation

__STATIC_INLINE void EvrNetDHCP6_ChangeStateLinkDown ( uint32_t  state)

Event on DHCP6 change state on link-down (Op)

Parameters
statenext state
__STATIC_INLINE void EvrNetDHCP6_ChangeStateOnTimeout ( uint32_t  current,
uint32_t  next 
)

Event on DHCP6 state timeout and transit to next state (Op)

Parameters
currentcurrent state
nextnext state
__STATIC_INLINE void EvrNetDHCP6_ClientState ( uint32_t  state)

Event on DHCP6 indication of client state (Op)

Parameters
statecurrent state
__STATIC_INLINE void EvrNetDHCP6_FrameTooShort ( uint32_t  length)

Event on DHCP6 received frame is too short (Error)

Parameters
lengthframe length in bytes
__STATIC_INLINE void EvrNetDHCP6_GetSocketFailed ( void  )

Event on DHCP6 failed to allocate UDP socket (Error)

__STATIC_INLINE void EvrNetDHCP6_InitClient ( uint8_t  option_flags)

Event on DHCP6 client initialize (Op)

Parameters
option_flagsDHCPv6 client option flags
  • 0x01: Opt.67 Vendor Class
__STATIC_INLINE void EvrNetDHCP6_InvalidMessageType ( uint8_t  msg_type)

Event on DHCP6 invalid message type received (Op)

Parameters
msg_typemessage type
Note
Silently discard other message types.
__STATIC_INLINE void EvrNetDHCP6_MissingServerId ( void  )

Event on DHCP6 missing server identifier option (Op)

Note
Silently discard the message.
__STATIC_INLINE void EvrNetDHCP6_NextState ( uint32_t  state)

Event on DHCP6 transition to next state (Op)

Parameters
statenext state
__STATIC_INLINE void EvrNetDHCP6_NextStateDelay ( uint32_t  state,
uint32_t  delay 
)

Event on DHCP6 transition to next state with random delay(Op)

Parameters
statenext state
delaystart delay (in 100ms ticks)
__STATIC_INLINE void EvrNetDHCP6_NoAddressAvailable ( uint32_t  state)

Event on DHCP6 no address available status received (Op)

Parameters
statecurrent state
__STATIC_INLINE void EvrNetDHCP6_OfferTimerCheckFailed ( void  )

Event on DHCP6 offer address timer check failed (Error)

__STATIC_INLINE void EvrNetDHCP6_ReceiveFrame ( uint8_t  msg_type,
uint32_t  length 
)

Event on DHCP6 receive frame (Op)

Parameters
msg_typemessage type
lengthmessage length
__STATIC_INLINE void EvrNetDHCP6_SendDhcpMessage ( uint8_t  msg_type)

Event on DHCP6 send message (Op)

Parameters
msg_typemessage type
__STATIC_INLINE void EvrNetDHCP6_ServerNotChosen ( void  )

Event on DHCP6 server not chosen in DISCOVER, REBIND state (Op)

Note
Silently discard the message.
__STATIC_INLINE void EvrNetDHCP6_ShowDnsServers ( const uint8_t *  dns_list)

Event on DHCP6 display DNS server addresses (Op)

Parameters
dns_listpointer to DNS server address list
Note
Displays primary and secondary DNS server address.
__STATIC_INLINE void EvrNetDHCP6_ShowIanaOffer ( const void *  iana_offer)

Event on DHCP6 display IANA offer (Op)

Parameters
iana_offerpointer to IANA structure
Note
IANA: Identity Association for non-temporary Address
__STATIC_INLINE void EvrNetDHCP6_StartClient ( uint32_t  mode)

Event on DHCP6 start client (Op)

Parameters
modeclient mode
  • 0: Stateless mode
  • 1: Stateful mode
__STATIC_INLINE void EvrNetDHCP6_StateRetransmit ( uint32_t  state)

Event on DHCP6 retransmit request in current state (Op)

Parameters
statecurrent state
__STATIC_INLINE void EvrNetDHCP6_StateTimeout ( uint32_t  state)

Event on DHCP6 timeout in current state (Op)

Parameters
statecurrent state
__STATIC_INLINE void EvrNetDHCP6_StatusCode ( uint16_t  status)

Event on DHCP6 option status code received (Op)

Parameters
statusstatus code
__STATIC_INLINE void EvrNetDHCP6_StopClient ( void  )

Event on DHCP6 stop client (Op)

__STATIC_INLINE void EvrNetDHCP6_T1Expired ( uint32_t  state)

Event on DHCP6 timer T1 expired (Op)

Parameters
statecurrent state
__STATIC_INLINE void EvrNetDHCP6_T2Expired ( uint32_t  state)

Event on DHCP6 timer T2 expired (Op)

Parameters
statecurrent state
__STATIC_INLINE void EvrNetDHCP6_UnknownMessageType ( uint8_t  msg_type)

Event on DHCP6 unknown message type received (Error)

Parameters
msg_typemessage type
__STATIC_INLINE void EvrNetDHCP6_WrongClientId ( void  )

Event on DHCP6 wrong client identifier received (Op)

Note
Silently discard the message.
__STATIC_INLINE void EvrNetDHCP6_WrongIaid ( uint32_t  iaid)

Event on DHCP6 wrong Identity Association Identifier (IAID) received (Op)

Parameters
iaidwrong IAID value
__STATIC_INLINE void EvrNetDHCP6_WrongServerId ( void  )

Event on DHCP6 wrong server identifier received (Op)

Note
Silently discard the message.
__STATIC_INLINE void EvrNetDHCP6_WrongTransactionId ( uint32_t  xid)

Event on DHCP6 wrong Transaction Id (XID) received (Error)

Parameters
xidwrong Transaction Id value (3-bytes)