Mistake on this page?
Report an issue in GitHub or email us
Data Fields
bridgeif_initdata_s Struct Reference

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) More...
 
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). More...
 
u16_t max_fdb_dynamic_entries
 Maximum number of dynamic/learning entries in the bridge's forwarding database. More...
 
u16_t max_fdb_static_entries
 Maximum number of static forwarding entries. More...
 

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.

u16_t 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.

Definition at line 78 of file bridgeif.h.

u16_t max_fdb_static_entries

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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.