Home | History | Annotate | Download | only in dist

Lines Matching refs:tptr

127     const u_char *tptr;
134 tptr = pptr;
136 ND_TCHECK_LEN(tptr, VTP_HEADER_LEN);
138 type = GET_U_1(tptr + 1);
140 GET_U_1(tptr),
152 mgmtd_len = GET_U_1(tptr + 3);
157 nd_printjnp(ndo, tptr + 4, mgmtd_len);
160 GET_U_1(tptr + 2));
162 tptr += VTP_HEADER_LEN;
189 GET_BE_U_4(tptr),
190 GET_IPADDR_STRING(tptr+4));
191 tptr += 8;
193 GET_BE_U_4(tptr),
194 GET_BE_U_4(tptr + 4),
195 GET_BE_U_4(tptr + 8));
196 tptr += VTP_UPDATE_TIMESTAMP_LEN;
198 GET_BE_U_4(tptr),
199 GET_BE_U_4(tptr + 4),
200 GET_BE_U_4(tptr + 8),
201 GET_BE_U_4(tptr + 12));
202 tptr += VTP_MD5_DIGEST_LEN;
227 ND_PRINT(", Config Rev %x", GET_BE_U_4(tptr));
244 tptr += 4;
245 while ((unsigned)(tptr - pptr) < length) {
247 len = GET_U_1(tptr);
251 ND_TCHECK_LEN(tptr, len);
253 vtp_vlan = (const struct vtp_vlan_*)tptr;
263 tptr += VTP_VLAN_INFO_FIXED_PART_LEN;
267 nd_printjnp(ndo, tptr, name_len);
273 tptr += 4*((name_len + 3)/4);
288 type = GET_U_1(tptr);
289 tlv_len = GET_U_1(tptr + 1);
299 ND_TCHECK_LEN(tptr, tlv_len * 2 + 2);
309 tlv_value = GET_BE_U_2(tptr + 2);
351 print_unknown_data(ndo, tptr, "\n\t\t ", 2 + tlv_len*2);
356 tptr += 2 + tlv_len*2;
377 ND_PRINT("\n\tStart value: %u", GET_BE_U_4(tptr));