ConOpSys V2970  P004.07
ANVILEX control operating system
Public Attributes | List of all members
bridgeif_initdata_s Struct Reference

#include <bridgeif.h>

Collaboration diagram for bridgeif_initdata_s:
Collaboration graph

Public Attributes

struct eth_addr ethaddr
 
u8_t max_ports
 
u16_t max_fdb_dynamic_entries
 
u16_t max_fdb_static_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.

Member Data Documentation

◆ ethaddr

struct eth_addr bridgeif_initdata_s::ethaddr

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

◆ max_fdb_dynamic_entries

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.

◆ max_fdb_static_entries

u16_t bridgeif_initdata_s::max_fdb_static_entries

Maximum number of static forwarding entries. Influences memory consumption!

◆ max_ports

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


The documentation for this struct was generated from the following file: