Searched defs:ether (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/
H A Dip_output.c72 static int rt_lookup_in_cache(PNATState pData, uint32_t dst, uint8_t *ether) argument
75 LogFlowFunc(("ENTER: dst:%RTnaipv4, ether:%RTmac\n", dst, ether));
78 memcpy(ether, broadcast_ethaddr, ETH_ALEN);
83 rc = slirp_arp_lookup_ether_by_ip(pData, dst, ether);
90 rc = bootp_cache_lookup_ether_by_ip(pData, dst, ether);
97 * no chance to send this packet, sorry, we will request ether address via ARP
H A Dbootp.c217 m->m_data += if_maxlinkhdr; /*reserve ether header */
852 int bootp_cache_lookup_ip_by_ether(PNATState pData,const uint8_t* ether, uint32_t *pip) argument
856 if (!ether || !pip)
862 && memcmp(bootp_clients[i].macaddr, ether, ETH_ALEN) == 0)
873 int bootp_cache_lookup_ether_by_ip(PNATState pData, uint32_t ip, uint8_t *ether) argument
881 if (ether != NULL)
882 memcpy(ether, bootp_clients[i].macaddr, ETH_ALEN);
H A Dslirp_state.h44 uint8_t ether[6]; member in struct:arp_cache_entry

Completed in 121 milliseconds