Lines Matching defs:length
89 cdp_print(const u_char *pptr, u_int length, u_int caplen)
105 printf(", checksum: %u (unverified), length %u", EXTRACT_16BITS(tptr), length);
108 while (tptr < (pptr+length)) {
113 len = EXTRACT_16BITS(tptr+2); /* object length includes the 4 bytes header length */
123 printf("\n\t%s (0x%02x), length: %u byte%s: ",
231 printf(", length %u",caplen);
269 pl = p[1]; /* length of "protocol" field */
275 al = EXTRACT_16BITS(&p[pl]); /* address length */
279 * IPv4: protocol type = NLPID, protocol length = 1
281 * address length = 4
298 * protocol length = 8 (size of LLC+SNAP header),
300 * Ethertype, address length = 16