Lines Matching refs:tptr

127     const u_char *tptr;  in vtp_print()  local
133 tptr = pptr; in vtp_print()
135 if (!TTEST2(*tptr, VTP_HEADER_LEN)) in vtp_print()
138 type = *(tptr+1); in vtp_print()
140 *tptr, in vtp_print()
142 *(tptr+1), in vtp_print()
152 (tptr+4), in vtp_print()
153 tok2str(vtp_header_values,"Unknown",*(tptr+1)), in vtp_print()
154 *(tptr+2)); in vtp_print()
156 tptr += VTP_HEADER_LEN; in vtp_print()
183 EXTRACT_32BITS(tptr), in vtp_print()
184 ipaddr_string(tptr+4)); in vtp_print()
185 tptr += 8; in vtp_print()
187 EXTRACT_32BITS(tptr), in vtp_print()
188 EXTRACT_32BITS(tptr + 4), in vtp_print()
189 EXTRACT_32BITS(tptr + 8)); in vtp_print()
190 tptr += VTP_UPDATE_TIMESTAMP_LEN; in vtp_print()
192 EXTRACT_32BITS(tptr), in vtp_print()
193 EXTRACT_32BITS(tptr + 4), in vtp_print()
194 EXTRACT_32BITS(tptr + 8), in vtp_print()
195 EXTRACT_32BITS(tptr + 12)); in vtp_print()
196 tptr += VTP_MD5_DIGEST_LEN; in vtp_print()
221 printf(", Config Rev %x", EXTRACT_32BITS(tptr)); in vtp_print()
238 tptr += 4; in vtp_print()
239 while (tptr < (pptr+length)) { in vtp_print()
241 len = *tptr; in vtp_print()
245 if (!TTEST2(*tptr, len)) in vtp_print()
248 vtp_vlan = (struct vtp_vlan_*)tptr; in vtp_print()
255 (tptr + VTP_VLAN_INFO_OFFSET)); in vtp_print()
261 tptr += VTP_VLAN_INFO_OFFSET + 4*((vtp_vlan->name_len + 3)/4); in vtp_print()
271 type = *tptr; in vtp_print()
272 tlv_len = *(tptr+1); in vtp_print()
285 if (!TTEST2(*tptr, tlv_len*2 +2)) in vtp_print()
288 tlv_value = EXTRACT_16BITS(tptr+2); in vtp_print()
330 print_unknown_data(tptr, "\n\t\t ", 2 + tlv_len*2); in vtp_print()
334 tptr += 2 + tlv_len*2; in vtp_print()
355 printf("\n\tStart value: %u", EXTRACT_32BITS(tptr)); in vtp_print()