Lines Matching refs:frame_offset
171 u_int frame_offset; in zmtp1_print_intermediate_part() local
174 frame_offset = GET_BE_U_2(cp); in zmtp1_print_intermediate_part()
175 ND_PRINT("\n\t frame offset 0x%04x", frame_offset); in zmtp1_print_intermediate_part()
179 if (frame_offset == 0xFFFF) in zmtp1_print_intermediate_part()
180 frame_offset = len - 2; /* always within the declared length */ in zmtp1_print_intermediate_part()
181 else if (2 + frame_offset > len) { in zmtp1_print_intermediate_part()
187 if (frame_offset) { in zmtp1_print_intermediate_part()
188 ND_PRINT("\n\t frame intermediate part, %u bytes", frame_offset); in zmtp1_print_intermediate_part()
189 if (frame_offset > remaining_len) in zmtp1_print_intermediate_part()
192 u_int len_printed = ND_MIN(frame_offset, remaining_len); in zmtp1_print_intermediate_part()
202 return cp + frame_offset; in zmtp1_print_intermediate_part()