Lines Matching defs:arphdr
237 addr += ETH_HLEN + sizeof(struct arphdr);
1062 struct arphdr *arphdr;
1082 arphdr = (struct arphdr *)(skb->data + hdr_size + ETH_HLEN);
1085 if (arphdr->ar_hrd != htons(ARPHRD_ETHER))
1088 if (arphdr->ar_pro != htons(ETH_P_IP))
1091 if (arphdr->ar_hln != ETH_ALEN)
1094 if (arphdr->ar_pln != 4)
1113 if (arphdr->ar_op != htons(ARPOP_REQUEST)) {
1120 type = ntohs(arphdr->ar_op);