Lines Matching refs:ether
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, ac->ether, ETH_ALEN) == 0)
1989 memcpy(ac->ether, mac, ETH_ALEN);
2000 static inline void slirp_arp_cache_add(PNATState pData, uint32_t ip, const uint8_t *ether)
2003 Assert(( memcmp(ether, broadcast_ethaddr, ETH_ALEN)
2004 && memcmp(ether, zerro_ethaddr, ETH_ALEN)));
2012 memcpy(ac->ether, ether, ETH_ALEN);
2080 pHlp->pfnPrintf(pHlp, " %RTnaipv4 %RTmac\n", ac->ip, &ac->ether);