Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
bridgeif.h File Reference
lwIP netif implementing an IEEE 802.1D MAC Bridge More...
Go to the source code of this file.
Data Structures | |
struct | bridgeif_initdata_s |
Initialisation data for bridgeif_init. More... | |
Typedefs | |
typedef struct bridgeif_initdata_s | bridgeif_initdata_t |
Initialisation data for bridgeif_init. | |
Functions | |
err_t | bridgeif_init (struct netif *netif) |
Initialization function passed to netif_add(). | |
err_t | bridgeif_add_port (struct netif *bridgeif, struct netif *portif) |
Add a port to the bridge. | |
err_t | bridgeif_fdb_add (struct netif *bridgeif, const struct eth_addr *addr, bridgeif_portmask_t ports) |
Add a static entry to the forwarding database. | |
err_t | bridgeif_fdb_remove (struct netif *bridgeif, const struct eth_addr *addr) |
Remove a static entry from the forwarding database. | |
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. | |
void * | bridgeif_fdb_init (u16_t max_fdb_entries) |
Init our simple fdb list. |
Detailed Description
lwIP netif implementing an IEEE 802.1D MAC Bridge
Definition in file bridgeif.h.
Generated on Tue Jul 12 2022 13:55:06 by
