Lines Matching refs:tptr

125     const u_char *tptr;  in vtp_print()  local
131 tptr = pptr; in vtp_print()
133 ND_TCHECK2(*tptr, VTP_HEADER_LEN); in vtp_print()
135 type = *(tptr+1); in vtp_print()
137 *tptr, in vtp_print()
139 *(tptr+1), in vtp_print()
149 (tptr+4), in vtp_print()
150 tok2str(vtp_header_values,"Unknown",*(tptr+1)), in vtp_print()
151 *(tptr+2))); in vtp_print()
153 tptr += VTP_HEADER_LEN; in vtp_print()
180 EXTRACT_32BITS(tptr), in vtp_print()
181 ipaddr_string(ndo, tptr+4))); in vtp_print()
182 tptr += 8; in vtp_print()
184 EXTRACT_32BITS(tptr), in vtp_print()
185 EXTRACT_32BITS(tptr + 4), in vtp_print()
186 EXTRACT_32BITS(tptr + 8))); in vtp_print()
187 tptr += VTP_UPDATE_TIMESTAMP_LEN; in vtp_print()
189 EXTRACT_32BITS(tptr), in vtp_print()
190 EXTRACT_32BITS(tptr + 4), in vtp_print()
191 EXTRACT_32BITS(tptr + 8), in vtp_print()
192 EXTRACT_32BITS(tptr + 12))); in vtp_print()
193 tptr += VTP_MD5_DIGEST_LEN; in vtp_print()
218 ND_PRINT((ndo, ", Config Rev %x", EXTRACT_32BITS(tptr))); in vtp_print()
235 tptr += 4; in vtp_print()
236 while (tptr < (pptr+length)) { in vtp_print()
238 len = *tptr; in vtp_print()
242 ND_TCHECK2(*tptr, len); in vtp_print()
244 vtp_vlan = (struct vtp_vlan_*)tptr; in vtp_print()
251 (tptr + VTP_VLAN_INFO_OFFSET))); in vtp_print()
257 tptr += VTP_VLAN_INFO_OFFSET + 4*((vtp_vlan->name_len + 3)/4); in vtp_print()
267 type = *tptr; in vtp_print()
268 tlv_len = *(tptr+1); in vtp_print()
281 ND_TCHECK2(*tptr, tlv_len * 2 +2); in vtp_print()
283 tlv_value = EXTRACT_16BITS(tptr+2); in vtp_print()
325 print_unknown_data(ndo, tptr, "\n\t\t ", 2 + tlv_len*2); in vtp_print()
329 tptr += 2 + tlv_len*2; in vtp_print()
350 ND_PRINT((ndo, "\n\tStart value: %u", EXTRACT_32BITS(tptr))); in vtp_print()