Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:tptr

127     const u_char *tptr;
133 tptr = pptr;
135 if (!TTEST2(*tptr, VTP_HEADER_LEN))
138 type = *(tptr+1);
140 *tptr,
142 *(tptr+1),
152 (tptr+4),
153 tok2str(vtp_header_values,"Unknown",*(tptr+1)),
154 *(tptr+2));
156 tptr += VTP_HEADER_LEN;
183 EXTRACT_32BITS(tptr),
184 ipaddr_string(tptr+4));
185 tptr += 8;
187 EXTRACT_32BITS(tptr),
188 EXTRACT_32BITS(tptr + 4),
189 EXTRACT_32BITS(tptr + 8));
190 tptr += VTP_UPDATE_TIMESTAMP_LEN;
192 EXTRACT_32BITS(tptr),
193 EXTRACT_32BITS(tptr + 4),
194 EXTRACT_32BITS(tptr + 8),
195 EXTRACT_32BITS(tptr + 12));
196 tptr += VTP_MD5_DIGEST_LEN;
221 printf(", Config Rev %x", EXTRACT_32BITS(tptr));
238 tptr += 4;
239 while (tptr < (pptr+length)) {
241 len = *tptr;
245 if (!TTEST2(*tptr, len))
248 vtp_vlan = (struct vtp_vlan_*)tptr;
255 (tptr + VTP_VLAN_INFO_OFFSET));
261 tptr += VTP_VLAN_INFO_OFFSET + 4*((vtp_vlan->name_len + 3)/4);
271 type = *tptr;
272 tlv_len = *(tptr+1);
285 if (!TTEST2(*tptr, tlv_len*2 +2))
288 tlv_value = EXTRACT_16BITS(tptr+2);
330 print_unknown_data(tptr, "\n\t\t ", 2 + tlv_len*2);
334 tptr += 2 + tlv_len*2;
355 printf("\n\tStart value: %u", EXTRACT_32BITS(tptr));