Home
last modified time | relevance | path

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

/third_party/lwip/src/netif/
Dbridgeif.c107 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 …]
Dbridgeif_fdb.c58 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()
Dethernet.c63 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/
Detharp.c100 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 …]
Dautoip.c465 struct eth_addr netifaddr; in autoip_arp_reply()
/third_party/lwip/src/include/netif/
Dbridgeif.h72 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);
Dethernet.h67 …_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/
Dethip6.c81 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/
Detharp.h79 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);
Dnetifapi.h60 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/
Dethernet.h60 struct eth_addr { struct
80 PACK_STRUCT_FLD_S(struct eth_addr dest);
81 PACK_STRUCT_FLD_S(struct eth_addr src);
Detharp.h92 PACK_STRUCT_FLD_S(struct eth_addr shwaddr);
94 PACK_STRUCT_FLD_S(struct eth_addr dhwaddr);
/third_party/lwip/test/unit/etharp/
Dtest_etharp.c18 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/
Dpppoe.h148 struct eth_addr sc_dest; /* hardware address of concentrator */
/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_ip.c489 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/
Dnetifapi.c163 netifapi_arp_add(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, enum netifapi_arp_entry type) in netifapi_arp_add()
/third_party/lwip/
DCHANGELOG3087 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].