Lines Matching refs:ND_PRINT

100 		ND_PRINT((ndo, "%s", tstr));  in cdp_print()
107 ND_PRINT((ndo, "CDPv%u, ttl: %us", *(tptr + CDP_HEADER_VERSION_OFFSET), in cdp_print()
110ND_PRINT((ndo, ", checksum: 0x%04x (unverified), length %u", EXTRACT_16BITS(tptr+CDP_HEADER_CHECKS… in cdp_print()
119 ND_PRINT((ndo, "\n\t%s (0x%02x), TLV length: %u byte%s (too short)", in cdp_print()
125 ND_PRINT((ndo, ", %s TLV length %u too short", in cdp_print()
138 ND_PRINT((ndo, "\n\t%s (0x%02x), value length: %u byte%s: ", in cdp_print()
148 ND_PRINT((ndo, ", Device-ID ")); in cdp_print()
149 ND_PRINT((ndo, "'")); in cdp_print()
151 ND_PRINT((ndo, "'")); in cdp_print()
158 ND_PRINT((ndo, "'")); in cdp_print()
160 ND_PRINT((ndo, "'")); in cdp_print()
165 ND_PRINT((ndo, "(0x%08x): %s", in cdp_print()
170 ND_PRINT((ndo, "\n\t ")); in cdp_print()
173 ND_PRINT((ndo, "%c", j)); in cdp_print()
175 ND_PRINT((ndo, "\t ")); in cdp_print()
179 ND_PRINT((ndo, "'")); in cdp_print()
181 ND_PRINT((ndo, "'")); in cdp_print()
190 ND_PRINT((ndo, "'")); in cdp_print()
192 ND_PRINT((ndo, "'")); in cdp_print()
197 ND_PRINT((ndo, "%d", EXTRACT_16BITS(tptr))); in cdp_print()
202 ND_PRINT((ndo, "%s", *(tptr) ? "full": "half")); in cdp_print()
211 ND_PRINT((ndo, "app %d, vlan %d", *(tptr), EXTRACT_16BITS(tptr + 1))); in cdp_print()
214 ND_PRINT((ndo, "%1.2fW", cdp_get_number(tptr, len) / 1000.0)); in cdp_print()
219 ND_PRINT((ndo, "%u bytes", EXTRACT_32BITS(tptr))); in cdp_print()
224 ND_PRINT((ndo, "0x%02x", *(tptr))); in cdp_print()
229 ND_PRINT((ndo, "0x%02x", *(tptr))); in cdp_print()
232 ND_PRINT((ndo, "'")); in cdp_print()
234 ND_PRINT((ndo, "'")); in cdp_print()
243 ND_PRINT((ndo, "0x%02x", *(tptr))); in cdp_print()
245 ND_PRINT((ndo, "/")); in cdp_print()
257 ND_PRINT((ndo, ", length %u", caplen)); in cdp_print()
261 ND_PRINT((ndo, "%s", tstr)); in cdp_print()
317 ND_PRINT((ndo, "IPv4 (%u) %s", num, ipaddr_string(ndo, p))); in cdp_print_addr()
334 ND_PRINT((ndo, "IPv6 (%u) %s", num, ip6addr_string(ndo, p))); in cdp_print_addr()
345 ND_PRINT((ndo, "pt=0x%02x, pl=%d, pb=", *(p - 2), pl)); in cdp_print_addr()
347 ND_PRINT((ndo, " %02x", *p++)); in cdp_print_addr()
352 ND_PRINT((ndo, ", al=%d, a=", al)); in cdp_print_addr()
358 ND_PRINT((ndo, " %02x", *p++)); in cdp_print_addr()
362 ND_PRINT((ndo, " ")); in cdp_print_addr()
379 ND_PRINT((ndo, " IPv4 Prefixes (%d):", l / 5)); in cdp_print_prefixes()
382 ND_PRINT((ndo, " %u.%u.%u.%u/%u", p[0], p[1], p[2], p[3], p[4])); in cdp_print_prefixes()