Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

bridgeif_initdata_s Struct Reference

bridgeif_initdata_s Struct Reference
[IEEE 802.1D bridge]

Initialisation data for bridgeif_init. More...

#include <bridgeif.h>

Data Fields

struct eth_addr ethaddr
 MAC address of the bridge (cannot use the netif's addresses)
u8_t 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).
u16_t max_fdb_dynamic_entries
 Maximum number of dynamic/learning entries in the bridge's forwarding database.
u16_t max_fdb_static_entries
 Maximum number of static forwarding entries.

Detailed Description

Initialisation data for bridgeif_init.

An instance of this type must be passed as parameter 'state' to netif_add when the bridge is added.

Definition at line 70 of file bridgeif.h.


Field Documentation

struct eth_addr ethaddr

MAC address of the bridge (cannot use the netif's addresses)

Definition at line 72 of file bridgeif.h.

Maximum number of dynamic/learning entries in the bridge's forwarding database.

In the default implementation, this controls memory consumption only.

Definition at line 78 of file bridgeif.h.

Maximum number of static forwarding entries.

Influences memory consumption!

Definition at line 80 of file bridgeif.h.

u8_t 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).

Definition at line 75 of file bridgeif.h.