openthread_sys

Function otBorderRoutingDhcp6PdSetRequestCallback

Source
pub unsafe extern "C" fn otBorderRoutingDhcp6PdSetRequestCallback(
    aInstance: *mut otInstance,
    aCallback: otBorderRoutingRequestDhcp6PdCallback,
    aContext: *mut c_void,
)
Expand description

Sets the callback whenever the DHCPv6 PD state changes on the Thread interface.

Subsequent calls to this function replace the previously set callback.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback A pointer to a function that is called whenever the DHCPv6 PD state changes. @param[in] aContext A pointer to arbitrary context information.