Lines Matching refs:init_data
415 bridgeif_initdata_t *init_data; in bridgeif_init() local
432 init_data = (bridgeif_initdata_t *)netif->state; in bridgeif_init()
433 LWIP_ASSERT("init_data != NULL", (init_data != NULL)); in bridgeif_init()
435 init_data->max_ports <= BRIDGEIF_MAX_PORTS); in bridgeif_init()
437 …lloc_len_sizet = sizeof(bridgeif_private_t) + (init_data->max_ports * sizeof(bridgeif_port_t) + (i… in bridgeif_init()
446 memcpy(&br->ethaddr, &init_data->ethaddr, sizeof(br->ethaddr)); in bridgeif_init()
449 br->max_ports = init_data->max_ports; in bridgeif_init()
452 br->max_fdbs_entries = init_data->max_fdb_static_entries; in bridgeif_init()
453 …br->fdbs = (bridgeif_fdb_static_entry_t *)(((u8_t *)(br + 1)) + (init_data->max_ports * sizeof(bri… in bridgeif_init()
455 br->max_fdbd_entries = init_data->max_fdb_dynamic_entries; in bridgeif_init()
456 br->fdbd = bridgeif_fdb_init(init_data->max_fdb_dynamic_entries); in bridgeif_init()