Lines Matching refs:ND_PRINT

51     ND_PRINT((ndo, "babel"));  in babel_print()
56 ND_PRINT((ndo, " malformed header")); in babel_print()
59 ND_PRINT((ndo, " %d", cp[1])); in babel_print()
67 ND_PRINT((ndo, " unknown version")); in babel_print()
74 ND_PRINT((ndo, " %s", tstr)); in babel_print()
283 ND_PRINT((ndo, " sub-pad1")); in subtlvs_print()
294 ND_PRINT((ndo, " sub-padn")); in subtlvs_print()
298 ND_PRINT((ndo, " sub-diversity")); in subtlvs_print()
300 ND_PRINT((ndo, " empty")); in subtlvs_print()
305 ND_PRINT((ndo, "%s%s", sep, tok2str(diversity_str, "%u", *cp++))); in subtlvs_print()
309 ND_PRINT((ndo, " (bogus)")); in subtlvs_print()
312 ND_PRINT((ndo, " sub-timestamp")); in subtlvs_print()
317 ND_PRINT((ndo, " %s", format_timestamp(t1))); in subtlvs_print()
322 ND_PRINT((ndo, " %s", format_timestamp(t1))); in subtlvs_print()
324 ND_PRINT((ndo, "|%s", format_timestamp(t2))); in subtlvs_print()
326 ND_PRINT((ndo, " (bogus)")); in subtlvs_print()
330 ND_PRINT((ndo, " sub-unknown-0x%02x", subtype)); in subtlvs_print()
337 ND_PRINT((ndo, " (corrupt)")); in subtlvs_print()
357 ND_PRINT((ndo, " (%u)", bodylen)); in babel_print_v2()
369 ND_PRINT((ndo, ndo->ndo_vflag ? "\n\tPad 1" : " pad1")); in babel_print_v2()
384 ND_PRINT((ndo, " padN")); in babel_print_v2()
386 ND_PRINT((ndo, "\n\tPad %d", len + 2)); in babel_print_v2()
393 ND_PRINT((ndo, " ack-req")); in babel_print_v2()
395 ND_PRINT((ndo, "\n\tAcknowledgment Request ")); in babel_print_v2()
399 ND_PRINT((ndo, "%04x %s", nonce, format_interval(interval))); in babel_print_v2()
407 ND_PRINT((ndo, " ack")); in babel_print_v2()
409 ND_PRINT((ndo, "\n\tAcknowledgment ")); in babel_print_v2()
412 ND_PRINT((ndo, "%04x", nonce)); in babel_print_v2()
420 ND_PRINT((ndo, " hello")); in babel_print_v2()
422 ND_PRINT((ndo, "\n\tHello ")); in babel_print_v2()
426 ND_PRINT((ndo, "seqno %u interval %s", seqno, format_interval(interval))); in babel_print_v2()
437 ND_PRINT((ndo, " ihu")); in babel_print_v2()
441 ND_PRINT((ndo, "\n\tIHU ")); in babel_print_v2()
446 if(rc < 0) { ND_PRINT((ndo, "%s", tstr)); break; } in babel_print_v2()
447 ND_PRINT((ndo, "%s txcost %u interval %s", in babel_print_v2()
459 ND_PRINT((ndo, " router-id")); in babel_print_v2()
461 ND_PRINT((ndo, "\n\tRouter Id")); in babel_print_v2()
463 ND_PRINT((ndo, " %s", format_id(message + 4))); in babel_print_v2()
470 ND_PRINT((ndo, " nh")); in babel_print_v2()
474 ND_PRINT((ndo, "\n\tNext Hop")); in babel_print_v2()
478 ND_PRINT((ndo, " %s", format_address(ndo, nh))); in babel_print_v2()
485 ND_PRINT((ndo, " update")); in babel_print_v2()
487 ND_PRINT((ndo, "/truncated")); in babel_print_v2()
489 ND_PRINT((ndo, "%s%s%s", in babel_print_v2()
498 ND_PRINT((ndo, "\n\tUpdate")); in babel_print_v2()
509 ND_PRINT((ndo, "%s%s%s %s metric %u seqno %u interval %s", in babel_print_v2()
530 ND_PRINT((ndo, " request")); in babel_print_v2()
534 ND_PRINT((ndo, "\n\tRequest ")); in babel_print_v2()
540 ND_PRINT((ndo, "for %s", in babel_print_v2()
548 ND_PRINT((ndo, " mh-request")); in babel_print_v2()
553 ND_PRINT((ndo, "\n\tMH-Request ")); in babel_print_v2()
560 ND_PRINT((ndo, "(%u hops) for %s seqno %u id %s", in babel_print_v2()
568 ND_PRINT((ndo, " tspc")); in babel_print_v2()
570 ND_PRINT((ndo, "\n\tTS/PC ")); in babel_print_v2()
572 ND_PRINT((ndo, "timestamp %u packetcounter %u", EXTRACT_32BITS (message + 4), in babel_print_v2()
578 ND_PRINT((ndo, " hmac")); in babel_print_v2()
581 ND_PRINT((ndo, "\n\tHMAC ")); in babel_print_v2()
583 ND_PRINT((ndo, "key-id %u digest-%u ", EXTRACT_16BITS(message + 2), len - 2)); in babel_print_v2()
585 ND_PRINT((ndo, "%02X", message[4 + j])); in babel_print_v2()
591 ND_PRINT((ndo, " unknown")); in babel_print_v2()
593 ND_PRINT((ndo, "\n\tUnknown message type %d", type)); in babel_print_v2()
600 ND_PRINT((ndo, " %s", tstr)); in babel_print_v2()
604 ND_PRINT((ndo, " (corrupt)")); in babel_print_v2()