drivers/netdev: add filter list to netdev strcut

This commit is contained in:
Hauke Petersen 2017-05-16 16:25:59 +02:00
parent fdadfe279c
commit caf97d5c2c

View File

@ -54,6 +54,7 @@ extern "C" {
#include <sys/uio.h> #include <sys/uio.h>
#include "net/netstats.h" #include "net/netstats.h"
#include "net/l2filter.h"
#include "net/netopt.h" #include "net/netopt.h"
enum { enum {
@ -120,6 +121,9 @@ struct netdev {
#ifdef MODULE_NETSTATS_L2 #ifdef MODULE_NETSTATS_L2
netstats_t stats; /**< transceiver's statistics */ netstats_t stats; /**< transceiver's statistics */
#endif #endif
#ifdef MODULE_L2FILTER
l2filter_t filter[L2FILTER_LISTSIZE]; /**< link layer address filters */
#endif
}; };
/** /**