otPlatInfraIfDhcp6PdClientSetListeningEnabled

Function otPlatInfraIfDhcp6PdClientSetListeningEnabled 

Source
pub unsafe extern "C" fn otPlatInfraIfDhcp6PdClientSetListeningEnabled(
    aInstance: *mut otInstance,
    aEnable: bool,
    aInfraIfIndex: u32,
)
Expand description

Enables or disables listening for DHCPv6 Prefix Delegation (PD) messages on client.

This function is only used when OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_CLIENT_ENABLE is enabled.

When enabled, the platform must open a UDP socket on the specified infrastructure interface, binding to the DHCPv6 client port 546 to receive messages from DHCPv6 servers.

@param[in] aInstance The OpenThread instance. @param[in] aEnable A boolean to enable (true) or disable (false) listening. @param[in] aInfraIfIndex The index of the infrastructure interface to operate on.