Lines Matching defs:tptr
124 const u_char *tptr;
131 tptr = pptr;
133 ND_TCHECK_LEN(tptr, VTP_HEADER_LEN);
135 type = GET_U_1(tptr + 1);
137 GET_U_1(tptr),
149 mgmtd_len = GET_U_1(tptr + 3);
154 nd_printjnp(ndo, tptr + 4, mgmtd_len);
157 GET_U_1(tptr + 2));
159 tptr += VTP_HEADER_LEN;
186 GET_BE_U_4(tptr),
187 GET_IPADDR_STRING(tptr+4));
188 tptr += 8;
190 GET_BE_U_4(tptr),
191 GET_BE_U_4(tptr + 4),
192 GET_BE_U_4(tptr + 8));
193 tptr += VTP_UPDATE_TIMESTAMP_LEN;
195 GET_BE_U_4(tptr),
196 GET_BE_U_4(tptr + 4),
197 GET_BE_U_4(tptr + 8),
198 GET_BE_U_4(tptr + 12));
199 tptr += VTP_MD5_DIGEST_LEN;
224 ND_PRINT(", Config Rev %x", GET_BE_U_4(tptr));
241 tptr += 4;
242 while ((unsigned)(tptr - pptr) < length) {
244 len = GET_U_1(tptr);
248 ND_TCHECK_LEN(tptr, len);
250 vtp_vlan = (const struct vtp_vlan_*)tptr;
260 tptr += VTP_VLAN_INFO_FIXED_PART_LEN;
264 nd_printjnp(ndo, tptr, name_len);
270 tptr += 4*((name_len + 3)/4);
285 type = GET_U_1(tptr);
286 tlv_len = GET_U_1(tptr + 1);
296 ND_TCHECK_LEN(tptr, tlv_len * 2 + 2);
306 tlv_value = GET_BE_U_2(tptr + 2);
348 print_unknown_data(ndo, tptr, "\n\t\t ", 2 + tlv_len*2);
353 tptr += 2 + tlv_len*2;
374 ND_PRINT("\n\tStart value: %u", GET_BE_U_4(tptr));