Browse Source

drivers/netdev: add filter list to netdev strcut

master
Hauke Petersen 6 years ago
parent
commit
caf97d5c2c
  1. 4
      drivers/include/net/netdev.h

4
drivers/include/net/netdev.h

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

Loading…
Cancel
Save