Home
last modified time | relevance | path

Searched refs:fdbs (Results 1 – 1 of 1) sorted by relevance

/third_party/lwip/src/netif/
Dbridgeif.c117 bridgeif_fdb_static_entry_t *fdbs; member
146 if (!br->fdbs[i].used) { in bridgeif_fdb_add()
148 if (!br->fdbs[i].used) { in bridgeif_fdb_add()
149 br->fdbs[i].used = 1; in bridgeif_fdb_add()
150 br->fdbs[i].dst_ports = ports; in bridgeif_fdb_add()
151 memcpy(&br->fdbs[i].addr, addr, sizeof(struct eth_addr)); in bridgeif_fdb_add()
179 if (br->fdbs[i].used && !memcmp(&br->fdbs[i].addr, addr, sizeof(struct eth_addr))) { in bridgeif_fdb_remove()
181 if (br->fdbs[i].used && !memcmp(&br->fdbs[i].addr, addr, sizeof(struct eth_addr))) { in bridgeif_fdb_remove()
182 memset(&br->fdbs[i], 0, sizeof(bridgeif_fdb_static_entry_t)); in bridgeif_fdb_remove()
203 if (br->fdbs[i].used) { in bridgeif_find_dst_ports()
[all …]