Lines Matching refs:ND_PRINT
270 ND_PRINT((ndo, "%c", *dat++)); in print_string()
279 ND_PRINT((ndo, "%02x", *dat++)); in print_octets()
286 ND_PRINT((ndo, "%u", EXTRACT_16BITS(dat))); in print_16bits_val()
292 ND_PRINT((ndo, "%lu", (u_long)EXTRACT_32BITS(dat))); in print_32bits_val()
303 ND_PRINT((ndo, "%s", tok2str(l2tp_msgtype2str, "MSGTYPE-#%u", in l2tp_msgtype_print()
312 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr))); ptr++; /* Result Code */ in l2tp_result_code_print()
314 ND_PRINT((ndo, "/%u", EXTRACT_16BITS(ptr))); ptr++; in l2tp_result_code_print()
317 ND_PRINT((ndo, " ")); in l2tp_result_code_print()
325 ND_PRINT((ndo, "%u.%u", (EXTRACT_16BITS(dat) >> 8), in l2tp_proto_ver_print()
335 ND_PRINT((ndo, "A")); in l2tp_framing_cap_print()
338 ND_PRINT((ndo, "S")); in l2tp_framing_cap_print()
348 ND_PRINT((ndo, "A")); in l2tp_bearer_cap_print()
351 ND_PRINT((ndo, "D")); in l2tp_bearer_cap_print()
359 ND_PRINT((ndo, ", %02x", dat[2])); in l2tp_q931_cc_print()
361 ND_PRINT((ndo, " ")); in l2tp_q931_cc_print()
372 ND_PRINT((ndo, "A")); in l2tp_bearer_type_print()
375 ND_PRINT((ndo, "D")); in l2tp_bearer_type_print()
385 ND_PRINT((ndo, "A")); in l2tp_framing_type_print()
388 ND_PRINT((ndo, "S")); in l2tp_framing_type_print()
395 ND_PRINT((ndo, "obsolete")); in l2tp_packet_proc_delay_print()
403 ND_PRINT((ndo, "%s", tok2str(l2tp_authentype2str, in l2tp_proxy_auth_type_print()
412 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr) & L2TP_PROXY_AUTH_ID_MASK)); in l2tp_proxy_auth_id_print()
425 ND_PRINT((ndo, "CRCErr=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
429 ND_PRINT((ndo, "FrameErr=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
433 ND_PRINT((ndo, "HardOver=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
437 ND_PRINT((ndo, "BufOver=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
441 ND_PRINT((ndo, "Timeout=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
445 ND_PRINT((ndo, "AlignErr=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
458 ND_PRINT((ndo, "send=%08x ", (val_h<<16) + val_l)); in l2tp_accm_print()
462 ND_PRINT((ndo, "recv=%08x ", (val_h<<16) + val_l)); in l2tp_accm_print()
470 ND_PRINT((ndo, "%04x, ", EXTRACT_16BITS(ptr))); ptr++; /* Disconnect Code */ in l2tp_ppp_discon_cc_print()
471 ND_PRINT((ndo, "%04x ", EXTRACT_16BITS(ptr))); ptr++; /* Control Protocol Number */ in l2tp_ppp_discon_cc_print()
472 ND_PRINT((ndo, "%s", tok2str(l2tp_cc_direction2str, in l2tp_ppp_discon_cc_print()
476 ND_PRINT((ndo, " ")); in l2tp_ppp_discon_cc_print()
493 ND_PRINT((ndo, " ")); in l2tp_avp_print()
513 ND_PRINT((ndo, "*")); in l2tp_avp_print()
517 ND_PRINT((ndo, "?")); in l2tp_avp_print()
523 ND_PRINT((ndo, "VENDOR%04x:", EXTRACT_16BITS(ptr))); ptr++; in l2tp_avp_print()
524 ND_PRINT((ndo, "ATTR%04x", EXTRACT_16BITS(ptr))); ptr++; in l2tp_avp_print()
525 ND_PRINT((ndo, "(")); in l2tp_avp_print()
527 ND_PRINT((ndo, ")")); in l2tp_avp_print()
532 ND_PRINT((ndo, "%s", tok2str(l2tp_avp2str, "AVP-#%u", attr_type))); in l2tp_avp_print()
533 ND_PRINT((ndo, "(")); in l2tp_avp_print()
535 ND_PRINT((ndo, "???")); in l2tp_avp_print()
624 ND_PRINT((ndo, ")")); in l2tp_avp_print()
631 ND_PRINT((ndo, "|...")); in l2tp_avp_print()
648 ND_PRINT((ndo, " l2tp:")); in l2tp_print()
650 ND_PRINT((ndo, " l2f:")); in l2tp_print()
653 ND_PRINT((ndo, " Unknown Version, neither L2F(1) nor L2TP(2)")); in l2tp_print()
657 ND_PRINT((ndo, "[")); in l2tp_print()
660 ND_PRINT((ndo, "T")); in l2tp_print()
664 ND_PRINT((ndo, "L")); in l2tp_print()
668 ND_PRINT((ndo, "S")); in l2tp_print()
672 ND_PRINT((ndo, "O")); in l2tp_print()
675 ND_PRINT((ndo, "P")); in l2tp_print()
676 ND_PRINT((ndo, "]")); in l2tp_print()
691 ND_PRINT((ndo, "(%u/", EXTRACT_16BITS(ptr))); in l2tp_print()
695 ND_PRINT((ndo, "%u)", EXTRACT_16BITS(ptr))); in l2tp_print()
701 ND_PRINT((ndo, "Ns=%u,", EXTRACT_16BITS(ptr))); in l2tp_print()
705 ND_PRINT((ndo, "Nr=%u", EXTRACT_16BITS(ptr))); in l2tp_print()
719 ND_PRINT((ndo, " Length %u larger than packet", l2tp_len)); in l2tp_print()
725 ND_PRINT((ndo, " Length %u smaller than header length", length)); in l2tp_print()
730 ND_PRINT((ndo, " No length")); in l2tp_print()
734 ND_PRINT((ndo, " ZLB")); in l2tp_print()
739 ND_PRINT((ndo, " {")); in l2tp_print()
741 ND_PRINT((ndo, "}")); in l2tp_print()
747 ND_PRINT((ndo, "%s", tstr)); in l2tp_print()