Lines Matching refs:hdrlen
1649 ieee_802_11_hdr_print(u_int16_t fc, const u_char *p, u_int hdrlen, in ieee_802_11_hdr_print() argument
1672 (const struct meshcntl_t *)&p[hdrlen - meshdrlen]; in ieee_802_11_hdr_print()
1714 u_int caplen, hdrlen, meshdrlen; in ieee802_11_print() local
1738 hdrlen = extract_header_length(fc); in ieee802_11_print()
1740 hdrlen = roundup2(hdrlen, 4); in ieee802_11_print()
1743 meshdrlen = extract_mesh_header_length(p+hdrlen); in ieee802_11_print()
1744 hdrlen += meshdrlen; in ieee802_11_print()
1749 if (caplen < hdrlen) { in ieee802_11_print()
1751 return hdrlen; in ieee802_11_print()
1754 ieee_802_11_hdr_print(fc, p, hdrlen, meshdrlen, &src, &dst); in ieee802_11_print()
1759 length -= hdrlen; in ieee802_11_print()
1760 caplen -= hdrlen; in ieee802_11_print()
1761 p += hdrlen; in ieee802_11_print()
1766 (const struct mgmt_header_t *)(p - hdrlen), p, length)) { in ieee802_11_print()
1768 return hdrlen; in ieee802_11_print()
1772 if (!ctrl_body_print(fc, p - hdrlen)) { in ieee802_11_print()
1774 return hdrlen; in ieee802_11_print()
1779 return hdrlen; /* no-data frame */ in ieee802_11_print()
1784 return hdrlen; in ieee802_11_print()
1793 ieee_802_11_hdr_print(fc, p - hdrlen, hdrlen, in ieee802_11_print()
1808 return hdrlen; in ieee802_11_print()