Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:tptr

89     const u_char *tptr;
94 tptr = pptr;
96 if (!TTEST2(*tptr, UDLD_HEADER_LEN))
99 code = UDLD_EXTRACT_OPCODE(*tptr);
102 UDLD_EXTRACT_VERSION(*tptr),
105 bittok2str(udld_flags_values, "none", *(tptr+1)),
106 *(tptr+1),
116 printf("\n\tChecksum 0x%04x (unverified)", EXTRACT_16BITS(tptr+2));
118 tptr += UDLD_HEADER_LEN;
120 while (tptr < (pptr+length)) {
122 if (!TTEST2(*tptr, 4))
125 type = EXTRACT_16BITS(tptr);
126 len = EXTRACT_16BITS(tptr+2);
128 tptr += 4;
144 printf(", %s", tptr);
149 printf(", %us", (*tptr));
153 printf(", %u", EXTRACT_32BITS(tptr));
159 tptr += len;