[−][src]Function openthread_sys::otLinkFilterSetAddressMode
pub unsafe extern "C" fn otLinkFilterSetAddressMode(
aInstance: *mut otInstance,
aMode: otMacFilterAddressMode
) -> otError
This function sets the address mode of MAC filter.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aMode The address mode to set.
@retval OT_ERROR_NONE Successfully set the address mode. @retval OT_ERROR_INVALID_ARGS @p aMode is not valid.
@sa otLinkFilterGetAddressMode @sa otLinkFilterAddAddress @sa otLinkFilterRemoveAddress @sa otLinkFilterClearAddresses @sa otLinkFilterGetNextAddress @sa otLinkFilterAddRssIn @sa otLinkFilterRemoveRssIn @sa otLinkFilterClearRssIn @sa otLinkFilterGetNextRssIn