Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:tptr

85     const u_char *tptr;
90 tptr = pptr;
92 ND_TCHECK2(*tptr, UDLD_HEADER_LEN);
94 code = UDLD_EXTRACT_OPCODE(*tptr);
97 UDLD_EXTRACT_VERSION(*tptr),
100 bittok2str(udld_flags_values, "none", *(tptr+1)),
101 *(tptr+1),
111 ND_PRINT((ndo, "\n\tChecksum 0x%04x (unverified)", EXTRACT_16BITS(tptr+2)));
113 tptr += UDLD_HEADER_LEN;
115 while (tptr < (pptr+length)) {
117 ND_TCHECK2(*tptr, 4);
119 type = EXTRACT_16BITS(tptr);
120 len = EXTRACT_16BITS(tptr+2);
122 tptr += 4;
138 ND_PRINT((ndo, ", %s", tptr));
143 ND_PRINT((ndo, ", %us", (*tptr)));
147 ND_PRINT((ndo, ", %u", EXTRACT_32BITS(tptr)));
153 tptr += len;