ReactOS 0.4.16-dev-297-gc569aee
|
#include "netif/bridgeif.h"
#include "lwip/sys.h"
#include "lwip/mem.h"
#include "lwip/timeouts.h"
#include <string.h>
Go to the source code of this file.
Classes | |
struct | bridgeif_dfdb_entry_s |
struct | bridgeif_dfdb_s |
Macros | |
#define | BRIDGEIF_AGE_TIMER_MS 1000 |
#define | BR_FDB_TIMEOUT_SEC (60*5) /* 5 minutes FDB timeout */ |
Typedefs | |
typedef struct bridgeif_dfdb_entry_s | bridgeif_dfdb_entry_t |
typedef struct bridgeif_dfdb_s | bridgeif_dfdb_t |
Functions | |
void | bridgeif_fdb_update_src (void *fdb_ptr, struct eth_addr *src_addr, u8_t port_idx) |
bridgeif_portmask_t | bridgeif_fdb_get_dst_ports (void *fdb_ptr, struct eth_addr *dst_addr) |
static void | bridgeif_fdb_age_one_second (void *fdb_ptr) |
static void | bridgeif_age_tmr (void *arg) |
void * | bridgeif_fdb_init (u16_t max_fdb_entries) |
lwIP netif implementing an FDB for IEEE 802.1D MAC Bridge
Definition in file bridgeif_fdb.c.
Definition at line 52 of file bridgeif_fdb.c.
#define BRIDGEIF_AGE_TIMER_MS 1000 |
Definition at line 50 of file bridgeif_fdb.c.
typedef struct bridgeif_dfdb_s bridgeif_dfdb_t |
Timer callback for fdb aging, called once per second
Definition at line 180 of file bridgeif_fdb.c.
Referenced by bridgeif_age_tmr(), and bridgeif_fdb_init().