Home | History | Annotate | Download | only in netinet

Lines Matching defs:ar

682 	struct arphdr *ar;
696 if (__predict_false(m->m_len < sizeof(*ar))) {
697 if ((m = m_pullup(m, sizeof(*ar))) == NULL)
700 ar = mtod(m, struct arphdr *);
701 KASSERT(ACCESSIBLE_POINTER(ar, struct arphdr));
713 if (ntohs(ar->ar_hrd) == ARPHRD_IEEE1394)
725 arplen = sizeof(*ar) + 2 * ar->ar_hln + 2 * ar->ar_pln;
729 ar = mtod(m, struct arphdr *);
730 KASSERT(ACCESSIBLE_POINTER(ar, struct arphdr));
733 switch (ntohs(ar->ar_pro)) {
1815 struct arphdr *ar;
1821 ar = mtod(m, struct arphdr *);
1823 if (ntohs(ar->ar_hrd) == ARPHRD_IEEE1394) {
1827 arplen = sizeof(struct arphdr) + 2 * (ar->ar_hln + ar->ar_pln);
1830 ar = mtod(m, struct arphdr *);
1832 switch (ntohs(ar->ar_pro)) {