• Home
  • Raw
  • Download

Lines Matching refs:tptr

123     const u_char *tptr;  in vtp_print()  local
129 tptr = pptr; in vtp_print()
131 ND_TCHECK2(*tptr, VTP_HEADER_LEN); in vtp_print()
133 type = *(tptr+1); in vtp_print()
135 *tptr, in vtp_print()
147 mgmtd_len = *(tptr + 3); in vtp_print()
152 fn_printzp(ndo, tptr + 4, mgmtd_len, NULL); in vtp_print()
155 *(tptr+2))); in vtp_print()
157 tptr += VTP_HEADER_LEN; in vtp_print()
183 ND_TCHECK2(*tptr, 8); in vtp_print()
185 EXTRACT_32BITS(tptr), in vtp_print()
186 ipaddr_string(ndo, tptr+4))); in vtp_print()
187 tptr += 8; in vtp_print()
188 ND_TCHECK2(*tptr, VTP_UPDATE_TIMESTAMP_LEN); in vtp_print()
190 EXTRACT_32BITS(tptr), in vtp_print()
191 EXTRACT_32BITS(tptr + 4), in vtp_print()
192 EXTRACT_32BITS(tptr + 8))); in vtp_print()
193 tptr += VTP_UPDATE_TIMESTAMP_LEN; in vtp_print()
194 ND_TCHECK2(*tptr, VTP_MD5_DIGEST_LEN); in vtp_print()
196 EXTRACT_32BITS(tptr), in vtp_print()
197 EXTRACT_32BITS(tptr + 4), in vtp_print()
198 EXTRACT_32BITS(tptr + 8), in vtp_print()
199 EXTRACT_32BITS(tptr + 12))); in vtp_print()
200 tptr += VTP_MD5_DIGEST_LEN; in vtp_print()
225 ND_TCHECK_32BITS(tptr); in vtp_print()
226 ND_PRINT((ndo, ", Config Rev %x", EXTRACT_32BITS(tptr))); in vtp_print()
243 tptr += 4; in vtp_print()
244 while (tptr < (pptr+length)) { in vtp_print()
246 ND_TCHECK_8BITS(tptr); in vtp_print()
247 len = *tptr; in vtp_print()
251 ND_TCHECK2(*tptr, len); in vtp_print()
253 vtp_vlan = (const struct vtp_vlan_*)tptr; in vtp_print()
264 tptr += VTP_VLAN_INFO_FIXED_PART_LEN; in vtp_print()
267 ND_TCHECK2(*tptr, vtp_vlan->name_len); in vtp_print()
268 fn_printzp(ndo, tptr, vtp_vlan->name_len, NULL); in vtp_print()
274 tptr += 4*((vtp_vlan->name_len + 3)/4); in vtp_print()
289 ND_TCHECK2(*tptr, 2); in vtp_print()
290 type = *tptr; in vtp_print()
291 tlv_len = *(tptr+1); in vtp_print()
301 ND_TCHECK2(*tptr, tlv_len * 2 +2); in vtp_print()
311 tlv_value = EXTRACT_16BITS(tptr+2); in vtp_print()
353 print_unknown_data(ndo, tptr, "\n\t\t ", 2 + tlv_len*2); in vtp_print()
358 tptr += 2 + tlv_len*2; in vtp_print()
379 ND_TCHECK2(*tptr, 4); in vtp_print()
380 ND_PRINT((ndo, "\n\tStart value: %u", EXTRACT_32BITS(tptr))); in vtp_print()