Lines Matching refs:ND_PRINT

69 	ND_PRINT("'");  in cdp_print_string()
71 ND_PRINT("'"); in cdp_print_string()
91 ND_PRINT("%1.2fW", val / 1000.0); in cdp_print_power()
100 ND_PRINT("(0x%08x): %s", val, in cdp_print_capability()
111 ND_PRINT("\n\t "); in cdp_print_version()
116 ND_PRINT("\n\t "); in cdp_print_version()
126 ND_PRINT("%u", GET_BE_U_2(cp)); in cdp_print_uint16()
133 ND_PRINT("%s", GET_U_1(cp) ? "full": "half"); in cdp_print_duplex()
153 ND_PRINT("unknown 0x%04x", GET_BE_U_2(cp)); in cdp_print_ata186()
155 ND_PRINT("app %u, vlan %u", GET_U_1(cp), GET_BE_U_2(cp + 1)); in cdp_print_ata186()
162 ND_PRINT("%u bytes", GET_BE_U_4(cp)); in cdp_print_mtu()
169 ND_PRINT("0x%02x", GET_U_1(cp)); in cdp_print_uint8x()
176 ND_PRINT("0x%02x", GET_U_1(cp)); in cdp_print_phys_loc()
178 ND_PRINT("/"); in cdp_print_phys_loc()
241 ND_PRINT(" (packet length %u < %u)", length, CDP_HEADER_LEN); in cdp_print()
244 ND_PRINT("CDPv%u, ttl: %us", in cdp_print()
249 ND_PRINT(", checksum: 0x%04x (unverified), length %u", in cdp_print()
261 ND_PRINT(" (remaining packet length %u < %u)", in cdp_print()
271 ND_PRINT("\n\t%s (0x%02x), TLV length: %u byte%s (too short)", in cdp_print()
274 ND_PRINT(", %s TLV length %u too short", in cdp_print()
279 ND_PRINT(" (TLV length %u > %u)", len, length); in cdp_print()
288 ND_PRINT(", Device-ID "); in cdp_print()
290 ND_PRINT("\n\t%s (0x%02x), value length: %u byte%s: ", in cdp_print()
296 ND_PRINT(" (malformed TLV)"); in cdp_print()
318 ND_PRINT(", length %u", orig_length); in cdp_print()
347 ND_PRINT(" (not enough space for num)"); in cdp_print_addr()
358 ND_PRINT(" (not enough space for PT+PL)"); in cdp_print_addr()
367 ND_PRINT(" (not enough space for P+AL)"); in cdp_print_addr()
384 ND_PRINT(" (not enough space for A)"); in cdp_print_addr()
387 ND_PRINT("IPv4 (%u) %s", num, GET_IPADDR_STRING(p)); in cdp_print_addr()
402 ND_PRINT(" (not enough space for A)"); in cdp_print_addr()
405 ND_PRINT("IPv6 (%u) %s", num, GET_IP6ADDR_STRING(p)); in cdp_print_addr()
412 ND_PRINT("pt=0x%02x, pl=%u, pb=", pt, pl); in cdp_print_addr()
414 ND_PRINT(" %02x", GET_U_1(p)); in cdp_print_addr()
419 ND_PRINT(", al=%u, a=", al); in cdp_print_addr()
424 ND_PRINT(" (not enough space for A)"); in cdp_print_addr()
428 ND_PRINT(" %02x", GET_U_1(p)); in cdp_print_addr()
436 ND_PRINT(" "); in cdp_print_addr()
439 ND_PRINT(" (%u bytes of stray data)", l); in cdp_print_addr()
451 ND_PRINT(" [length %u is not a multiple of 5]", l); in cdp_print_prefixes()
455 ND_PRINT(" IPv4 Prefixes (%u):", l / 5); in cdp_print_prefixes()
458 ND_PRINT(" %u.%u.%u.%u/%u", in cdp_print_prefixes()