Lines Matching refs:ND_PRINT
271 ND_PRINT((ndo, "%c", *dat++)); in print_string()
280 ND_PRINT((ndo, "%02x", *dat++)); in print_octets()
287 ND_PRINT((ndo, "%u", EXTRACT_16BITS(dat))); in print_16bits_val()
293 ND_PRINT((ndo, "%lu", (u_long)EXTRACT_32BITS(dat))); in print_32bits_val()
305 ND_PRINT((ndo, "AVP too short")); in l2tp_msgtype_print()
308 ND_PRINT((ndo, "%s", tok2str(l2tp_msgtype2str, "MSGTYPE-#%u", in l2tp_msgtype_print()
319 ND_PRINT((ndo, "AVP too short")); in l2tp_result_code_print()
322 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr))); in l2tp_result_code_print()
330 ND_PRINT((ndo, " AVP too short")); in l2tp_result_code_print()
333 ND_PRINT((ndo, "/%u", EXTRACT_16BITS(ptr))); in l2tp_result_code_print()
340 ND_PRINT((ndo, " ")); in l2tp_result_code_print()
348 ND_PRINT((ndo, "AVP too short")); in l2tp_proto_ver_print()
351 ND_PRINT((ndo, "%u.%u", (EXTRACT_16BITS(dat) >> 8), in l2tp_proto_ver_print()
361 ND_PRINT((ndo, "AVP too short")); in l2tp_framing_cap_print()
365 ND_PRINT((ndo, "A")); in l2tp_framing_cap_print()
368 ND_PRINT((ndo, "S")); in l2tp_framing_cap_print()
378 ND_PRINT((ndo, "AVP too short")); in l2tp_bearer_cap_print()
382 ND_PRINT((ndo, "A")); in l2tp_bearer_cap_print()
385 ND_PRINT((ndo, "D")); in l2tp_bearer_cap_print()
393 ND_PRINT((ndo, "AVP too short")); in l2tp_q931_cc_print()
397 ND_PRINT((ndo, ", %02x", dat[2])); in l2tp_q931_cc_print()
401 ND_PRINT((ndo, " ")); in l2tp_q931_cc_print()
412 ND_PRINT((ndo, "AVP too short")); in l2tp_bearer_type_print()
416 ND_PRINT((ndo, "A")); in l2tp_bearer_type_print()
419 ND_PRINT((ndo, "D")); in l2tp_bearer_type_print()
429 ND_PRINT((ndo, "AVP too short")); in l2tp_framing_type_print()
433 ND_PRINT((ndo, "A")); in l2tp_framing_type_print()
436 ND_PRINT((ndo, "S")); in l2tp_framing_type_print()
443 ND_PRINT((ndo, "obsolete")); in l2tp_packet_proc_delay_print()
452 ND_PRINT((ndo, "AVP too short")); in l2tp_proxy_auth_type_print()
455 ND_PRINT((ndo, "%s", tok2str(l2tp_authentype2str, in l2tp_proxy_auth_type_print()
465 ND_PRINT((ndo, "AVP too short")); in l2tp_proxy_auth_id_print()
468 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr) & L2TP_PROXY_AUTH_ID_MASK)); in l2tp_proxy_auth_id_print()
478 ND_PRINT((ndo, "AVP too short")); in l2tp_call_errors_print()
485 ND_PRINT((ndo, "AVP too short")); in l2tp_call_errors_print()
490 ND_PRINT((ndo, "CRCErr=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
493 ND_PRINT((ndo, "AVP too short")); in l2tp_call_errors_print()
498 ND_PRINT((ndo, "FrameErr=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
501 ND_PRINT((ndo, "AVP too short")); in l2tp_call_errors_print()
506 ND_PRINT((ndo, "HardOver=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
509 ND_PRINT((ndo, "AVP too short")); in l2tp_call_errors_print()
514 ND_PRINT((ndo, "BufOver=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
517 ND_PRINT((ndo, "AVP too short")); in l2tp_call_errors_print()
522 ND_PRINT((ndo, "Timeout=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
525 ND_PRINT((ndo, "AVP too short")); in l2tp_call_errors_print()
530 ND_PRINT((ndo, "AlignErr=%u ", (val_h<<16) + val_l)); in l2tp_call_errors_print()
540 ND_PRINT((ndo, "AVP too short")); in l2tp_accm_print()
547 ND_PRINT((ndo, "AVP too short")); in l2tp_accm_print()
552 ND_PRINT((ndo, "send=%08x ", (val_h<<16) + val_l)); in l2tp_accm_print()
555 ND_PRINT((ndo, "AVP too short")); in l2tp_accm_print()
560 ND_PRINT((ndo, "recv=%08x ", (val_h<<16) + val_l)); in l2tp_accm_print()
569 ND_PRINT((ndo, "AVP too short")); in l2tp_ppp_discon_cc_print()
573 ND_PRINT((ndo, "%04x, ", EXTRACT_16BITS(dat))); in l2tp_ppp_discon_cc_print()
577 ND_PRINT((ndo, "%04x ", EXTRACT_16BITS(dat))); in l2tp_ppp_discon_cc_print()
581 ND_PRINT((ndo, "%s", tok2str(l2tp_cc_direction2str, in l2tp_ppp_discon_cc_print()
587 ND_PRINT((ndo, " ")); in l2tp_ppp_discon_cc_print()
604 ND_PRINT((ndo, " ")); in l2tp_avp_print()
629 ND_PRINT((ndo, "*")); in l2tp_avp_print()
633 ND_PRINT((ndo, "?")); in l2tp_avp_print()
639 ND_PRINT((ndo, "VENDOR%04x:", EXTRACT_16BITS(ptr))); ptr++; in l2tp_avp_print()
640 ND_PRINT((ndo, "ATTR%04x", EXTRACT_16BITS(ptr))); ptr++; in l2tp_avp_print()
641 ND_PRINT((ndo, "(")); in l2tp_avp_print()
643 ND_PRINT((ndo, ")")); in l2tp_avp_print()
648 ND_PRINT((ndo, "%s", tok2str(l2tp_avp2str, "AVP-#%u", attr_type))); in l2tp_avp_print()
649 ND_PRINT((ndo, "(")); in l2tp_avp_print()
651 ND_PRINT((ndo, "???")); in l2tp_avp_print()
671 ND_PRINT((ndo, "AVP too short")); in l2tp_avp_print()
681 ND_PRINT((ndo, "AVP too short")); in l2tp_avp_print()
709 ND_PRINT((ndo, "AVP too short")); in l2tp_avp_print()
721 ND_PRINT((ndo, "AVP too short")); in l2tp_avp_print()
756 ND_PRINT((ndo, ")")); in l2tp_avp_print()
763 ND_PRINT((ndo, "|...")); in l2tp_avp_print()
780 ND_PRINT((ndo, " l2tp:")); in l2tp_print()
782 ND_PRINT((ndo, " l2f:")); in l2tp_print()
785 ND_PRINT((ndo, " Unknown Version, neither L2F(1) nor L2TP(2)")); in l2tp_print()
789 ND_PRINT((ndo, "[")); in l2tp_print()
792 ND_PRINT((ndo, "T")); in l2tp_print()
796 ND_PRINT((ndo, "L")); in l2tp_print()
800 ND_PRINT((ndo, "S")); in l2tp_print()
804 ND_PRINT((ndo, "O")); in l2tp_print()
807 ND_PRINT((ndo, "P")); in l2tp_print()
808 ND_PRINT((ndo, "]")); in l2tp_print()
823 ND_PRINT((ndo, "(%u/", EXTRACT_16BITS(ptr))); in l2tp_print()
827 ND_PRINT((ndo, "%u)", EXTRACT_16BITS(ptr))); in l2tp_print()
833 ND_PRINT((ndo, "Ns=%u,", EXTRACT_16BITS(ptr))); in l2tp_print()
837 ND_PRINT((ndo, "Nr=%u", EXTRACT_16BITS(ptr))); in l2tp_print()
851 ND_PRINT((ndo, " Length %u larger than packet", l2tp_len)); in l2tp_print()
857 ND_PRINT((ndo, " Length %u smaller than header length", length)); in l2tp_print()
862 ND_PRINT((ndo, " No length")); in l2tp_print()
866 ND_PRINT((ndo, " ZLB")); in l2tp_print()
871 ND_PRINT((ndo, " {")); in l2tp_print()
873 ND_PRINT((ndo, "}")); in l2tp_print()
879 ND_PRINT((ndo, "%s", tstr)); in l2tp_print()