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