dhcpv6_client_fsm.c
@ IPV6_ADDR_STATE_TENTATIVE
An address whose uniqueness on a link is being verified.
Definition: ipv6.h:174
IPv6 (Internet Protocol Version 6)
void dhcpv6ClientStateInitConfirm(Dhcpv6ClientContext *context)
INIT-CONFIRM state.
Definition: dhcpv6_client_fsm.c:269
Definitions common to DHCPv6 client, server and relay agent.
Ipv6AddrState ipv6GetAddrState(NetInterface *interface, const Ipv6Addr *addr)
Get the state of the specified IPv6 address.
Definition: ipv6_misc.c:56
void dhcpv6ClientStateDecline(Dhcpv6ClientContext *context)
DECLINE state.
Definition: dhcpv6_client_fsm.c:762
void dhcpv6ClientCheckTimeout(Dhcpv6ClientContext *context)
Manage DHCPv6 configuration timeout.
Definition: dhcpv6_client_misc.c:1501
void dhcpv6ClientFlushAddrList(Dhcpv6ClientContext *context)
Flush the list of IPv6 addresses from the IA.
Definition: dhcpv6_client_misc.c:1346
Helper functions for DHCPv6 client.
void dhcpv6ClientStateInit(Dhcpv6ClientContext *context)
INIT state.
Definition: dhcpv6_client_fsm.c:59
void dhcpv6ClientDumpConfig(Dhcpv6ClientContext *context)
Dump DHCPv6 configuration for debugging purpose.
Definition: dhcpv6_client_misc.c:1641
uint32_t netGenerateRandRange(uint32_t min, uint32_t max)
Generate a random value in the specified range.
Definition: net_misc.c:948
DHCPv6 client (Dynamic Host Configuration Protocol for IPv6)
void dhcpv6ClientStateRenew(Dhcpv6ClientContext *context)
RENEW state.
Definition: dhcpv6_client_fsm.c:506
Helper functions for IPv6.
void dhcpv6ClientStateDad(Dhcpv6ClientContext *context)
DAD state.
Definition: dhcpv6_client_fsm.c:405
void dhcpv6ClientStateRequest(Dhcpv6ClientContext *context)
REQUEST state.
Definition: dhcpv6_client_fsm.c:191
void dhcpv6ClientStateRebind(Dhcpv6ClientContext *context)
REBIND state.
Definition: dhcpv6_client_fsm.c:600
error_t dhcpv6ClientSendMessage(Dhcpv6ClientContext *context, Dhcpv6MessageType type)
Send Solicit message.
Definition: dhcpv6_client_misc.c:253
void dhcpv6ClientStateConfirm(Dhcpv6ClientContext *context)
CONFIRM state.
Definition: dhcpv6_client_fsm.c:316
DHCPv6 client finite state machine.
Ipv6AddrState ipv6GetLinkLocalAddrState(NetInterface *interface)
Get the state of the link-local address.
Definition: ipv6.c:327
void dhcpv6ClientStateSolicit(Dhcpv6ClientContext *context)
SOLICIT state.
Definition: dhcpv6_client_fsm.c:106
void dhcpv6ClientStateRelease(Dhcpv6ClientContext *context)
RELEASE state.
Definition: dhcpv6_client_fsm.c:692
void dhcpv6ClientStateBound(Dhcpv6ClientContext *context)
BOUND state.
Definition: dhcpv6_client_fsm.c:459
@ IPV6_ADDR_STATE_PREFERRED
An address assigned to an interface whose use is unrestricted.
Definition: ipv6.h:175
TCP/IP stack core.
void dhcpv6ClientChangeState(Dhcpv6ClientContext *context, Dhcpv6State newState, systime_t delay)
Update DHCPv6 FSM state.
Definition: dhcpv6_client_misc.c:1575
Debugging facilities.
Data logging functions for debugging purpose (DHCPv6)