|
lwIP
2.2.1
Lightweight IP stack
|
#include <bridgeif.h>
Data Fields | |
| struct eth_addr | ethaddr |
| u8_t | max_ports |
| u16_t | max_fdb_dynamic_entries |
| u16_t | max_fdb_static_entries |
Initialisation data for bridgeif_init. An instance of this type must be passed as parameter 'state' to netif_add when the bridge is added.
| struct eth_addr bridgeif_initdata_s::ethaddr |
MAC address of the bridge (cannot use the netif's addresses)
| u16_t bridgeif_initdata_s::max_fdb_dynamic_entries |
Maximum number of dynamic/learning entries in the bridge's forwarding database. In the default implementation, this controls memory consumption only.
| u16_t bridgeif_initdata_s::max_fdb_static_entries |
Maximum number of static forwarding entries. Influences memory consumption!
| u8_t bridgeif_initdata_s::max_ports |
Maximum number of ports in the bridge (ports are stored in an array, this influences memory allocated for netif->state of the bridge netif).