Searched refs:arp_ea (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/stand/lib/inet/ |
H A D | ethernet.c | 63 struct ether_arp arp_ea; member 106 out->arp_ea.arp_hrd = htons(ARPHRD_ETHER); in ether_comarp() 107 out->arp_ea.arp_pro = htons(ETHERTYPE_IP); in ether_comarp() 108 out->arp_ea.arp_hln = sizeof (ether_addr_t); in ether_comarp() 109 out->arp_ea.arp_pln = sizeof (struct in_addr); in ether_comarp() 110 bcopy(mac_state.mac_addr_buf, (caddr_t)&out->arp_ea.arp_sha, in ether_comarp() 114 bcopy((caddr_t)&tmp_ia, (caddr_t)out->arp_ea.arp_spa, in ether_comarp() 121 if (out->arp_ea.arp_op == ARPOP_REQUEST) { in ether_comarp() 122 bcopy((caddr_t)out->arp_ea.arp_tpa, in ether_comarp() 129 ether_print(out->arp_ea.arp_tha)); in ether_comarp() [all …]
|
H A D | ibd.c | 99 struct ibd_arp arp_ea; member 144 out->arp_ea.arp_hrd = htons(ARPHRD_IB); in ibd_comarp() 145 out->arp_ea.arp_pro = htons(ETHERTYPE_IP); in ibd_comarp() 146 out->arp_ea.arp_hln = IPOIB_ADDRL; in ibd_comarp() 147 out->arp_ea.arp_pln = sizeof (struct in_addr); in ibd_comarp() 148 bcopy(mac_state.mac_addr_buf, (caddr_t)&out->arp_ea.arp_sha, in ibd_comarp() 152 bcopy((caddr_t)&tmp_ia, (caddr_t)out->arp_ea.arp_spa, in ibd_comarp() 163 bcopy((caddr_t)out->arp_ea.arp_tpa, in ibd_comarp() 181 if (in->arp_ea.arp_pro != ntohs(ETHERTYPE_IP)) in ibd_comarp() 190 if (in->arp_ea.arp_op != ntohs(ARPOP_REPLY)) in ibd_comarp() [all …]
|