Lines Matching refs:caplength
61 u_int caplength; in ascii_print() local
64 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in ascii_print()
65 if (length > caplength) in ascii_print()
66 length = caplength; in ascii_print()
97 u_int caplength; in hex_and_ascii_print_with_offset() local
104 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in hex_and_ascii_print_with_offset()
105 if (length > caplength) in hex_and_ascii_print_with_offset()
106 length = caplength; in hex_and_ascii_print_with_offset()
159 u_int caplength; in hex_print_with_offset() local
163 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in hex_print_with_offset()
164 if (length > caplength) in hex_print_with_offset()
165 length = caplength; in hex_print_with_offset()