Link layer address filter interface definition. More...
Link layer address filter interface definition.
Definition in file l2filter.h.
Go to the source code of this file.
Data Structures | |
struct | l2filter_t |
Filter list entries. More... | |
Macros | |
#define | CONFIG_L2FILTER_ADDR_MAXLEN (8U) |
Maximal length of addresses that can be stored in the filter list. | |
#define | CONFIG_L2FILTER_LISTSIZE (8U) |
Number of slots in each filter list (filter entries per device) | |
Functions | |
int | l2filter_add (l2filter_t *list, const void *addr, size_t addr_len) |
Add an entry to a devices filter list. More... | |
int | l2filter_rm (l2filter_t *list, const void *addr, size_t addr_len) |
Remove an entry from the given filter list. More... | |
bool | l2filter_pass (const l2filter_t *list, const void *addr, size_t addr_len) |
Check if the given address passes the set filters. More... | |