Lines Matching defs:arphdr
236 addr += ETH_HLEN + sizeof(struct arphdr);
1003 struct arphdr *arphdr;
1023 arphdr = (struct arphdr *)(skb->data + hdr_size + ETH_HLEN);
1026 if (arphdr->ar_hrd != htons(ARPHRD_ETHER))
1029 if (arphdr->ar_pro != htons(ETH_P_IP))
1032 if (arphdr->ar_hln != ETH_ALEN)
1035 if (arphdr->ar_pln != 4)
1054 if (arphdr->ar_op != htons(ARPOP_REQUEST)) {
1061 type = ntohs(arphdr->ar_op);