52#ifndef CONFIG_L2FILTER_ADDR_MAXLEN
53#define CONFIG_L2FILTER_ADDR_MAXLEN (8U)
59#ifndef CONFIG_L2FILTER_LISTSIZE
60#define CONFIG_L2FILTER_LISTSIZE (8U)
#define CONFIG_L2FILTER_ADDR_MAXLEN
Maximal length of addresses that can be stored in the filter list.
int l2filter_rm(l2filter_t *list, const void *addr, size_t addr_len)
Remove an entry from the given filter list.
bool l2filter_pass(const l2filter_t *list, const void *addr, size_t addr_len)
Check if the given address passes the set filters.
int l2filter_add(l2filter_t *list, const void *addr, size_t addr_len)
Add an entry to a devices filter list.
size_t addr_len
address length in byte