Lines Matching refs:ip
46 uint32_t ip; member
74 GetHWaddr(uint32_t ip) in GetHWaddr() argument
79 if (ip == g_config.mos->netdev_table->ent[i]->ip_addr) { in GetHWaddr()
103 if (g_config.mos->arp_table->ent[i]->ip == dip) { in GetDestinationHWaddr()
164 RegisterARPEntry(uint32_t ip, const unsigned char *haddr) in RegisterARPEntry() argument
171 g_config.mos->arp_table->ent[idx]->ip = ip; in RegisterARPEntry()
174 g_config.mos->arp_table->ent[idx]->masked_ip = ip; in RegisterARPEntry()
185 RequestARP(mtcp_manager_t mtcp, uint32_t ip, int nif, uint32_t cur_ts) in RequestARP() argument
194 if (ent->ip == ip) { in RequestARP()
205 ent->ip = ip; in RequestARP()
214 ARPOutput(mtcp, nif, arp_op_request, ip, haddr, taddr); in RequestARP()
250 if (ent->ip == arph->ar_sip) { in ProcessARPReply()
339 uint8_t *da = (uint8_t *)&g_config.mos->arp_table->ent[i]->ip; in PrintARPTable()