Lines Matching refs:arp_ea
99 struct ibd_arp arp_ea;
144 out->arp_ea.arp_hrd = htons(ARPHRD_IB);
145 out->arp_ea.arp_pro = htons(ETHERTYPE_IP);
146 out->arp_ea.arp_hln = IPOIB_ADDRL;
147 out->arp_ea.arp_pln = sizeof (struct in_addr);
148 bcopy(mac_state.mac_addr_buf, (caddr_t)&out->arp_ea.arp_sha,
152 bcopy((caddr_t)&tmp_ia, (caddr_t)out->arp_ea.arp_spa,
161 * we know that out->arp_ea.arp_op == ARPOP_REQUEST.
163 bcopy((caddr_t)out->arp_ea.arp_tpa,
181 if (in->arp_ea.arp_pro != ntohs(ETHERTYPE_IP))
185 * we know that out->arp_ea.arp_op == ARPOP_REQUEST.
190 if (in->arp_ea.arp_op != ntohs(ARPOP_REPLY))
192 if (bcmp((caddr_t)in->arp_ea.arp_spa,
193 (caddr_t)out->arp_ea.arp_tpa,
197 bcopy((caddr_t)in->arp_ea.arp_spa,
202 ibd_print(&in->arp_ea.arp_sha));
205 bcopy((caddr_t)&in->arp_ea.arp_sha,
206 (caddr_t)&out->arp_ea.arp_sha, IPOIB_ADDRL);
237 out.arp_ea.arp_op = htons(ARPOP_REQUEST);
238 bcopy((caddr_t)&ibdbroadcastaddr, (caddr_t)&out.arp_ea.arp_tha,
240 bcopy((caddr_t)ip, (caddr_t)out.arp_ea.arp_tpa,
246 bcopy((caddr_t)&out.arp_ea.arp_sha, (caddr_t)ep, IPOIB_ADDRL);