openthread_sys

Function otLinkFilterAddAddress

Source
pub unsafe extern "C" fn otLinkFilterAddAddress(
    aInstance: *mut otInstance,
    aExtAddress: *const otExtAddress,
) -> otError
Expand description

Adds an Extended Address to MAC filter.

Is available when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aExtAddress A pointer to the Extended Address (MUST NOT be NULL).

@retval OT_ERROR_NONE Successfully added @p aExtAddress to MAC filter. @retval OT_ERROR_NO_BUFS No available entry exists.