drivers/netdev: add filter list to netdev strcut
This commit is contained in:
parent
fdadfe279c
commit
caf97d5c2c
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user