Lines Matching defs:tptr
122 const u_char *tptr;
129 tptr = pptr;
131 ND_TCHECK_LEN(tptr, VTP_HEADER_LEN);
133 type = GET_U_1(tptr + 1);
135 GET_U_1(tptr),
147 mgmtd_len = GET_U_1(tptr + 3);
152 nd_printjnp(ndo, tptr + 4, mgmtd_len);
155 GET_U_1(tptr + 2));
157 tptr += VTP_HEADER_LEN;
184 GET_BE_U_4(tptr),
185 GET_IPADDR_STRING(tptr+4));
186 tptr += 8;
188 GET_BE_U_4(tptr),
189 GET_BE_U_4(tptr + 4),
190 GET_BE_U_4(tptr + 8));
191 tptr += VTP_UPDATE_TIMESTAMP_LEN;
193 GET_BE_U_4(tptr),
194 GET_BE_U_4(tptr + 4),
195 GET_BE_U_4(tptr + 8),
196 GET_BE_U_4(tptr + 12));
197 tptr += VTP_MD5_DIGEST_LEN;
222 ND_PRINT(", Config Rev %x", GET_BE_U_4(tptr));
239 tptr += 4;
240 while ((unsigned)(tptr - pptr) < length) {
242 len = GET_U_1(tptr);
246 ND_TCHECK_LEN(tptr, len);
248 vtp_vlan = (const struct vtp_vlan_*)tptr;
258 tptr += VTP_VLAN_INFO_FIXED_PART_LEN;
262 nd_printjnp(ndo, tptr, name_len);
268 tptr += 4*((name_len + 3)/4);
283 type = GET_U_1(tptr);
284 tlv_len = GET_U_1(tptr + 1);
294 ND_TCHECK_LEN(tptr, tlv_len * 2 + 2);
304 tlv_value = GET_BE_U_2(tptr + 2);
346 print_unknown_data(ndo, tptr, "\n\t\t ", 2 + tlv_len*2);
351 tptr += 2 + tlv_len*2;
372 ND_PRINT("\n\tStart value: %u", GET_BE_U_4(tptr));