nRF5 SDK for Thread and Zigbee v1.0.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

This module includes functions for DHCPv6 Client and Server. More...

Data Structures

struct  otDhcpAddress
 

Typedefs

typedef struct otDhcpAddress otDhcpAddress
 

Functions

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

Detailed Description

This module includes functions for DHCPv6 Client and Server.

Typedef Documentation

typedef struct otDhcpAddress otDhcpAddress

This structure represents a DHCPv6 address.

Function Documentation

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.

Parameters
[in]aInstanceA pointer to an OpenThread instance.
[in,out]aAddressesA pointer to an array of automatically created IPv6 addresses.
[in]aNumAddressesThe number of slots in aAddresses array.
[in]aContextA pointer to data passed to aIidCreate function.
void otDhcp6ServerUpdate ( otInstance aInstance)

Updates DHCP Agents and DHCP Alocs.

Parameters
[in]aInstanceA pointer to an OpenThread instance.