Searched refs:ether (Results 1 - 4 of 4) sorted by relevance
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | ip_output.c | 72 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 D | bootp.c | 217 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 D | slirp.c | 482 activate_port_forwarding(pData, ac->ether); 1351 LogRel(("NAT: Gratuitous ARP [IP:%RTnaipv4, ether:%RTmac]\n", 1496 * Still we're using dhcp server leasing to map ether to IP 1835 int slirp_arp_lookup_ether_by_ip(PNATState pData, uint32_t ip, uint8_t *ether) 1839 if (ether == NULL) 1848 && memcmp(ac->ether, broadcast_ethaddr, ETH_ALEN) != 0) 1850 memcpy(ether, ac->ether, ETH_ALEN); 1862 int slirp_arp_lookup_ip_by_ether(PNATState pData, const uint8_t *ether, uint32_t *ip) 1872 if (memcmp(ether, a [all...] |
H A D | slirp_state.h | 44 uint8_t ether[6]; member in struct:arp_cache_entry
|
Completed in 482 milliseconds