• Home
  • Raw
  • Download

Lines Matching refs:ND_PRINT

101 		ND_PRINT((ndo, "%s", tstr));  in cdp_print()
108 ND_PRINT((ndo, "CDPv%u, ttl: %us", *(tptr + CDP_HEADER_VERSION_OFFSET), in cdp_print()
111ND_PRINT((ndo, ", checksum: 0x%04x (unverified), length %u", EXTRACT_16BITS(tptr+CDP_HEADER_CHECKS… in cdp_print()
120 ND_PRINT((ndo, "\n\t%s (0x%02x), TLV length: %u byte%s (too short)", in cdp_print()
126 ND_PRINT((ndo, ", %s TLV length %u too short", in cdp_print()
139 ND_PRINT((ndo, "\n\t%s (0x%02x), value length: %u byte%s: ", in cdp_print()
149 ND_PRINT((ndo, ", Device-ID ")); in cdp_print()
150 ND_PRINT((ndo, "'")); in cdp_print()
152 ND_PRINT((ndo, "'")); in cdp_print()
159 ND_PRINT((ndo, "'")); in cdp_print()
161 ND_PRINT((ndo, "'")); in cdp_print()
166 ND_PRINT((ndo, "(0x%08x): %s", in cdp_print()
171 ND_PRINT((ndo, "\n\t ")); in cdp_print()
176 ND_PRINT((ndo, "\n\t ")); in cdp_print()
182 ND_PRINT((ndo, "'")); in cdp_print()
184 ND_PRINT((ndo, "'")); in cdp_print()
193 ND_PRINT((ndo, "'")); in cdp_print()
195 ND_PRINT((ndo, "'")); in cdp_print()
200 ND_PRINT((ndo, "%d", EXTRACT_16BITS(tptr))); in cdp_print()
205 ND_PRINT((ndo, "%s", *(tptr) ? "full": "half")); in cdp_print()
214 ND_PRINT((ndo, "app %d, vlan %d", *(tptr), EXTRACT_16BITS(tptr + 1))); in cdp_print()
217 ND_PRINT((ndo, "%1.2fW", cdp_get_number(tptr, len) / 1000.0)); in cdp_print()
222 ND_PRINT((ndo, "%u bytes", EXTRACT_32BITS(tptr))); in cdp_print()
227 ND_PRINT((ndo, "0x%02x", *(tptr))); in cdp_print()
232 ND_PRINT((ndo, "0x%02x", *(tptr))); in cdp_print()
235 ND_PRINT((ndo, "'")); in cdp_print()
237 ND_PRINT((ndo, "'")); in cdp_print()
246 ND_PRINT((ndo, "0x%02x", *(tptr))); in cdp_print()
248 ND_PRINT((ndo, "/")); in cdp_print()
260 ND_PRINT((ndo, ", length %u", caplen)); in cdp_print()
264 ND_PRINT((ndo, "%s", tstr)); in cdp_print()
318 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()
344 ND_PRINT((ndo, "pt=0x%02x, pl=%d, pb=", *(p - 2), pl)); in cdp_print_addr()
346 ND_PRINT((ndo, " %02x", *p++)); in cdp_print_addr()
351 ND_PRINT((ndo, ", al=%d, a=", al)); in cdp_print_addr()
357 ND_PRINT((ndo, " %02x", *p++)); in cdp_print_addr()
361 ND_PRINT((ndo, " ")); in cdp_print_addr()
378 ND_PRINT((ndo, " IPv4 Prefixes (%d):", l / 5)); in cdp_print_prefixes()
381 ND_PRINT((ndo, " %u.%u.%u.%u/%u", p[0], p[1], p[2], p[3], p[4])); in cdp_print_prefixes()