Lines Matching refs:eth_addr
107 struct eth_addr addr;
112 struct eth_addr ethaddr;
135 bridgeif_fdb_add(struct netif *bridgeif, const struct eth_addr *addr, bridgeif_portmask_t ports) in bridgeif_fdb_add()
151 memcpy(&br->fdbs[i].addr, addr, sizeof(struct eth_addr)); in bridgeif_fdb_add()
168 bridgeif_fdb_remove(struct netif *bridgeif, const struct eth_addr *addr) in bridgeif_fdb_remove()
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()
196 bridgeif_find_dst_ports(bridgeif_private_t *br, struct eth_addr *dst_addr) in bridgeif_find_dst_ports()
204 if (!memcmp(&br->fdbs[i].addr, dst_addr, sizeof(struct eth_addr))) { in bridgeif_find_dst_ports()
226 bridgeif_is_local_mac(bridgeif_private_t *br, struct eth_addr *addr) in bridgeif_is_local_mac()
230 if (!memcmp(br->netif->hwaddr, addr, sizeof(struct eth_addr))) { in bridgeif_is_local_mac()
237 if (!memcmp(portif->hwaddr, addr, sizeof(struct eth_addr))) { in bridgeif_is_local_mac()
302 struct eth_addr *dst = (struct eth_addr *)(p->payload); in bridgeif_output()
330 struct eth_addr *src, *dst; in bridgeif_input()
346 dst = (struct eth_addr *)p->payload; in bridgeif_input()
347 src = (struct eth_addr *)(((u8_t *)p->payload) + sizeof(struct eth_addr)); in bridgeif_input()