Lines Matching +full:byte +full:- +full:len
26 #include "netdissect-stdinc.h"
33 /* From wireshark packet-zep.c:
46 * |2 bytes |1 byte | 1 byte | 2 bytes | 1 byte |1 byte |7 bytes |1 byte|
49 * |Prmbl|Ver |Type |ChnlID|DevID|C/L Mode|LQI|NTP TS|Seq#|Res |Len|
54 * |2 bytes |1 byte |1 byte| 4 bytes |
55 *------------------------------------------------------------
79 * print the time in human-readable format. in zep_print_ts()
82 time_t seconds = i - JAN_1970; in zep_print_ts()
86 nd_format_time(time_buf, sizeof (time_buf), "%Y-%m-%d %H:%M:%S", in zep_print_ts()
97 const u_char *bp, u_int len) in zep_print() argument
102 ndo->ndo_protocol = "zep"; in zep_print()
121 ND_ICHECK_U(len, <, 16); in zep_print()
129 ND_PRINT("inner len = %u", inner_len); in zep_print()
132 len -= 16; in zep_print()
137 ND_ICHECK_U(len, <, 8); in zep_print()
142 len -= 8; in zep_print()
145 ND_ICHECK_U(len, <, 32); in zep_print()
157 ND_PRINT(", seq# = %u, inner len = %u", in zep_print()
160 len -= 32; in zep_print()
168 ND_TCHECK_LEN(bp, len); in zep_print()
169 bp += len; in zep_print()
170 len = 0; in zep_print()
174 if (!ndo->ndo_suppress_default_print) in zep_print()
175 ND_DEFAULTPRINT(bp, len); in zep_print()