Searched refs:ether (Results 1 - 4 of 4) 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.c482 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 Dslirp_state.h44 uint8_t ether[6]; member in struct:arp_cache_entry

Completed in 231 milliseconds