Searched refs:ah (Results 1 – 1 of 1) sorted by relevance
118 struct arphdr *ah = (struct arphdr *) buf; in send_pack() local121 ah->ar_hrd = htons(ARPHRD_ETHER); in send_pack()122 ah->ar_pro = htons(ETH_P_IP); in send_pack()123 ah->ar_hln = ME->sll_halen; in send_pack()124 ah->ar_pln = 4; in send_pack()125 ah->ar_op = option_mask32 & ADVERT ? htons(ARPOP_REPLY) : htons(ARPOP_REQUEST); in send_pack()127 p = (unsigned char *) (ah + 1); in send_pack()128 p = mempcpy(p, &ME->sll_addr, ah->ar_hln); in send_pack()132 p = mempcpy(p, &ME->sll_addr, ah->ar_hln); in send_pack()134 p = mempcpy(p, &HE->sll_addr, ah->ar_hln); in send_pack()[all …]