ConOpSys V2970
P004.07
ANVILEX control operating system
|
#include "netif/bridgeif.h"
#include "lwip/sys.h"
#include "lwip/mem.h"
#include "lwip/timeouts.h"
#include <string.h>
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
#define BR_FDB_TIMEOUT_SEC (60*5) /* 5 minutes FDB timeout */ |
#define BRIDGEIF_AGE_TIMER_MS 1000 |
typedef struct bridgeif_dfdb_entry_s bridgeif_dfdb_entry_t |
typedef struct bridgeif_dfdb_s bridgeif_dfdb_t |
|
static |
Timer callback for fdb aging, called once per second
References BRIDGEIF_AGE_TIMER_MS, bridgeif_fdb_age_one_second(), LWIP_ASSERT, and NULL.
Referenced by bridgeif_fdb_init().