TuyaOS
成员变量
bridgeif_initdata_s结构体 参考

#include <bridgeif.h>

bridgeif_initdata_s 的协作图:
Collaboration graph
[图例]

成员变量

struct eth_addr ethaddr
 
u16_t max_fdb_dynamic_entries
 
u16_t max_fdb_static_entries
 
u8_t max_ports
 

详细描述

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

结构体成员变量说明

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


该结构体的文档由以下文件生成: