Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

lwip_bridgeif_fdb.c File Reference

lwip_bridgeif_fdb.c File Reference

lwIP netif implementing an FDB for IEEE 802.1D MAC Bridge More...

Go to the source code of this file.

Functions

void bridgeif_fdb_update_src (void *fdb_ptr, struct eth_addr *src_addr, u8_t port_idx)
 A real simple and slow implementation of an auto-learning forwarding database that remembers known src mac addresses to know which port to send frames destined for that mac address.
bridgeif_portmask_t bridgeif_fdb_get_dst_ports (void *fdb_ptr, struct eth_addr *dst_addr)
 Walk our list of auto-learnt fdb entries and return a port to forward or BR_FLOOD if unknown.
static void bridgeif_fdb_age_one_second (void *fdb_ptr)
 Aging implementation of our simple fdb.
static void bridgeif_age_tmr (void *arg)
 Timer callback for fdb aging, called once per second.
void * bridgeif_fdb_init (u16_t max_fdb_entries)
 Init our simple fdb list.

Detailed Description

lwIP netif implementing an FDB for IEEE 802.1D MAC Bridge

Definition in file lwip_bridgeif_fdb.c.


Function Documentation

static void bridgeif_age_tmr ( void *  arg ) [static]

Timer callback for fdb aging, called once per second.

Definition at line 180 of file lwip_bridgeif_fdb.c.