DHCPv6

This module includes functions for DHCPv6 Client and Server.

Summary

Typedefs

otDhcpAddress typedef
struct otDhcpAddress
This structure represents a DHCPv6 address.

Functions

otDhcp6ClientUpdate(otInstance *aInstance, otDhcpAddress *aAddresses, uint32_t aNumAddresses, void *aContext)
void
Update all automatically created IPv6 addresses for prefixes from current Network Data with DHCP procedure.
otDhcp6ServerUpdate(otInstance *aInstance)
void
Updates DHCP Agents and DHCP Alocs.

Structs

otDhcpAddress

This structure represents a DHCPv6 address.

Typedefs

otDhcpAddress

struct otDhcpAddress otDhcpAddress

This structure represents a DHCPv6 address.

Functions

otDhcp6ClientUpdate

void otDhcp6ClientUpdate(
  otInstance *aInstance,
  otDhcpAddress *aAddresses,
  uint32_t aNumAddresses,
  void *aContext
)

Update all automatically created IPv6 addresses for prefixes from current Network Data with DHCP procedure.

Details
Parameters
[in] aInstance
A pointer to an OpenThread instance.
[in,out] aAddresses
A pointer to an array of automatically created IPv6 addresses.
[in] aNumAddresses
The number of slots in aAddresses array.
[in] aContext
A pointer to data passed to aIidCreate function.

otDhcp6ServerUpdate

void otDhcp6ServerUpdate(
  otInstance *aInstance
)

Updates DHCP Agents and DHCP Alocs.

Details
Parameters
[in] aInstance
A pointer to an OpenThread instance.