openthread_sys

Type Alias otBorderRoutingRequestDhcp6PdCallback

Source
pub type otBorderRoutingRequestDhcp6PdCallback = Option<unsafe extern "C" fn(aState: otBorderRoutingDhcp6PdState, aContext: *mut c_void)>;
Expand description

When the state of a DHCPv6 Prefix Delegation (PD) on the Thread interface changes, this callback notifies processes in the OS of this changed state.

@param[in] aState The state of DHCPv6 Prefix Delegation State. @param[in] aContext A pointer to arbitrary context information.

Aliased Type§

enum otBorderRoutingRequestDhcp6PdCallback {
    None,
    Some(unsafe extern "C" fn(_: u32, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u32, _: *mut c_void))

Some value of type T.