Set MAC filter.
int32_t mac_async_set_filter( struct mac_async_descriptor *const descr, uint8_t index, struct mac_async_filter * filter )
Set MAC filter. Ethernet frames matching the filter, will be received.
Type: struct mac_async_descriptor Struct *const
Pointer to the HAL MAC descriptor.
Type: uint8_t
MAC filter index. Start from 0. The maximum value depends on the hardware specifications.
Type: struct mac_async_filter *
Pointer to the filter descriptor.
Type: int32_t
Operation status.
Success.