Lines Matching defs:ip
8 * @ip_addr: ip address for device
18 u32 ip[4] = {};
21 ip[0] = *ip_addr;
23 memcpy(ip, ip_addr, sizeof(ip));
27 if (!memcmp(rf->arp_table[arp_index].ip_addr, ip, sizeof(ip)))
45 memcpy(rf->arp_table[arp_index].ip_addr, ip,
76 * @ip: IP address
80 int irdma_add_arp(struct irdma_pci_f *rf, u32 *ip, bool ipv4, const u8 *mac)
84 arpidx = irdma_arp_table(rf, &ip[0], ipv4, NULL, IRDMA_ARP_RESOLVE);
89 irdma_manage_arp_cache(rf, rf->arp_table[arpidx].mac_addr, ip,
93 irdma_manage_arp_cache(rf, mac, ip, ipv4, IRDMA_ARP_ADD);
95 return irdma_arp_table(rf, ip, ipv4, NULL, IRDMA_ARP_RESOLVE);
413 * irdma_add_ip - add ip addresses