/third_party/lwip/src/netif/ |
D | bridgeif.c | 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() [all …]
|
D | bridgeif_fdb.c | 58 struct eth_addr addr; 76 bridgeif_fdb_update_src(void *fdb_ptr, struct eth_addr *src_addr, u8_t port_idx) in bridgeif_fdb_update_src() 85 if (!memcmp(&e->addr, src_addr, sizeof(struct eth_addr))) { in bridgeif_fdb_update_src() 108 memcpy(&e->addr, src_addr, sizeof(struct eth_addr)); in bridgeif_fdb_update_src() 128 bridgeif_fdb_get_dst_ports(void *fdb_ptr, struct eth_addr *dst_addr) in bridgeif_fdb_get_dst_ports() 137 if (!memcmp(&e->addr, dst_addr, sizeof(struct eth_addr))) { in bridgeif_fdb_get_dst_ports()
|
D | ethernet.c | 63 const struct eth_addr ethbroadcast = {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}}; 64 const struct eth_addr ethzero = {{0, 0, 0, 0, 0, 0}}; 271 const struct eth_addr * src, const struct eth_addr * dst,
|
/third_party/lwip/src/core/ipv4/ |
D | etharp.c | 100 struct eth_addr ethaddr; 133 …arp_request_dst(struct netif *netif, const ip4_addr_t *ipaddr, const struct eth_addr *hw_dst_addr); 135 const struct eth_addr *ethsrc_addr, const struct eth_addr *ethdst_addr, 136 const struct eth_addr *hwsrc_addr, const ip4_addr_t *ipsrc_addr, 137 const struct eth_addr *hwdst_addr, const ip4_addr_t *ipdst_addr, 422 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8… 486 ethernet_output(netif, p, (struct eth_addr *)(netif->hwaddr), ethaddr, ETHTYPE_IP); 503 etharp_add_static_entry(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr) 584 struct eth_addr **eth_ret, const ip4_addr_t **ip_ret) 612 etharp_get_entry(size_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret) [all …]
|
D | autoip.c | 465 struct eth_addr netifaddr; in autoip_arp_reply()
|
/third_party/lwip/src/include/netif/ |
D | bridgeif.h | 72 struct eth_addr ethaddr; 96 err_t bridgeif_fdb_add(struct netif *bridgeif, const struct eth_addr *addr, bridgeif_portmask_t por… 97 err_t bridgeif_fdb_remove(struct netif *bridgeif, const struct eth_addr *addr); 100 void bridgeif_fdb_update_src(void *fdb_ptr, struct eth_addr *src_addr, u8_t port_idx… 101 bridgeif_portmask_t bridgeif_fdb_get_dst_ports(void *fdb_ptr, struct eth_addr *dst_addr);
|
D | ethernet.h | 67 …_output(struct netif* netif, struct pbuf* p, const struct eth_addr* src, const struct eth_addr* ds… 69 extern const struct eth_addr ethbroadcast, ethzero;
|
/third_party/lwip/src/core/ipv6/ |
D | ethip6.c | 81 struct eth_addr dest; in ethip6_output() 101 return ethernet_output(netif, q, (const struct eth_addr*)(netif->hwaddr), &dest, ETHTYPE_IPV6); in ethip6_output() 120 return ethernet_output(netif, q, (const struct eth_addr*)(netif->hwaddr), &dest, ETHTYPE_IPV6); in ethip6_output()
|
/third_party/lwip/src/include/lwip/ |
D | etharp.h | 79 struct eth_addr **eth_ret, const ip4_addr_t **ip_ret); 80 int etharp_get_entry(size_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret… 92 err_t etharp_add_static_entry(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr);
|
D | netifapi.h | 60 err_t netifapi_arp_add(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, enum netifapi_arp_entry …
|
/third_party/lwip/src/include/lwip/prot/ |
D | ethernet.h | 60 struct eth_addr { struct 80 PACK_STRUCT_FLD_S(struct eth_addr dest); 81 PACK_STRUCT_FLD_S(struct eth_addr src);
|
D | etharp.h | 92 PACK_STRUCT_FLD_S(struct eth_addr shwaddr); 94 PACK_STRUCT_FLD_S(struct eth_addr dhwaddr);
|
/third_party/lwip/test/unit/etharp/ |
D | test_etharp.c | 18 struct eth_addr test_ethaddr = {{1,1,1,1,1,1}}; 19 struct eth_addr test_ethaddr2 = {{1,1,1,1,1,2}}; 20 struct eth_addr test_ethaddr3 = {{1,1,1,1,1,3}}; 21 struct eth_addr test_ethaddr4 = {{1,1,1,1,1,4}}; 144 struct eth_addr *unused_ethaddr; in START_TEST()
|
/third_party/lwip/src/include/netif/ppp/ |
D | pppoe.h | 148 struct eth_addr sc_dest; /* hardware address of concentrator */
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_mib2_ip.c | 489 struct eth_addr *ethaddr; in ip_NetToMediaTable_get_cell_value_core() 535 struct eth_addr *ethaddr; in ip_NetToMediaTable_get_cell_value() 563 struct eth_addr *ethaddr; in ip_NetToMediaTable_get_next_cell_instance_and_value()
|
/third_party/lwip/src/api/ |
D | netifapi.c | 163 netifapi_arp_add(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, enum netifapi_arp_entry type) in netifapi_arp_add()
|
/third_party/lwip/ |
D | CHANGELOG | 3087 used for ethernet and struct eth_addr already had a defined length of 6). 4341 * struct eth_addr changed from u16_t[3] array to u8_t[6].
|