725: /* fill it now for ar_tpa computation */
726: ah->ar_hrd = htons(ARPHRD_IEEE1394);
727: break;
731: }
732: ah->ar_pro = htons(ETHERTYPE_IP);
733: ah->ar_hln = ifp->if_addrlen; /* hardware address length */
734: ah->ar_pln = sizeof(struct in_addr); /* protocol address length */
735: ah->ar_op = htons(ARPOP_REQUEST);
736: memcpy(ar_sha(ah), enaddr, ah->ar_hln);
956: /* XXX check ar_hrd more strictly? */
957: ah->ar_hrd = htons(ARPHRD_IEEE1394);
958: }
1143: (riflen & 1) == 0) {
1144: rif->tr_rcf ^= htons(TOKEN_RCF_DIRECTION);
1145: rif->tr_rcf &= htons(~TOKEN_RCF_BROADCAST_MASK);
1146: memcpy(TOKEN_RIF(la), rif, riflen);
1199: memcpy(ar_spa(ah), &itaddr, ah->ar_pln);
1200: ah->ar_op = htons(ARPOP_REPLY);
1201: ah->ar_pro = htons(ETHERTYPE_IP); /* let's be sure! */
1202: switch (ifp->if_type) {
1456: memset(ah, 0, m->m_len);
1457: ah->ar_pro = htons(ETHERTYPE_IP);
1458: ah->ar_hln = ifp->if_addrlen; /* hardware address length */
1459: ah->ar_pln = sizeof(struct in_addr); /* protocol address length */
1460: ah->ar_op = htons(ARPOP_REVREQUEST);
1461: