Lines Matching refs:printf
281 printf(" BEARER_CAP("); in pptp_bearer_cap_print()
283 printf("D"); in pptp_bearer_cap_print()
286 printf("A"); in pptp_bearer_cap_print()
288 printf(")"); in pptp_bearer_cap_print()
294 printf(" BEARER_TYPE("); in pptp_bearer_type_print()
297 printf("A"); /* Analog */ in pptp_bearer_type_print()
300 printf("D"); /* Digital */ in pptp_bearer_type_print()
303 printf("Any"); in pptp_bearer_type_print()
306 printf("?"); in pptp_bearer_type_print()
309 printf(")"); in pptp_bearer_type_print()
315 printf(" CALL_ID(%u)", EXTRACT_16BITS(call_id)); in pptp_call_id_print()
321 printf(" CALL_SER_NUM(%u)", EXTRACT_16BITS(call_ser)); in pptp_call_ser_print()
327 printf(" CAUSE_CODE(%u)", EXTRACT_16BITS(cause_code)); in pptp_cause_code_print()
333 printf(" CONN_SPEED(%u)", EXTRACT_32BITS(conn_speed)); in pptp_conn_speed_print()
339 printf(" ERR_CODE(%u", *err_code); in pptp_err_code_print()
343 printf(":None"); in pptp_err_code_print()
346 printf(":Not-Connected"); in pptp_err_code_print()
349 printf(":Bad-Format"); in pptp_err_code_print()
352 printf(":Bad-Valude"); in pptp_err_code_print()
355 printf(":No-Resource"); in pptp_err_code_print()
358 printf(":Bad-Call-ID"); in pptp_err_code_print()
361 printf(":PAC-Error"); in pptp_err_code_print()
364 printf(":?"); in pptp_err_code_print()
368 printf(")"); in pptp_err_code_print()
374 printf(" FIRM_REV(%u)", EXTRACT_16BITS(firm_rev)); in pptp_firm_rev_print()
380 printf(" FRAME_CAP("); in pptp_framing_cap_print()
382 printf("A"); /* Async */ in pptp_framing_cap_print()
385 printf("S"); /* Sync */ in pptp_framing_cap_print()
387 printf(")"); in pptp_framing_cap_print()
393 printf(" FRAME_TYPE("); in pptp_framing_type_print()
396 printf("A"); /* Async */ in pptp_framing_type_print()
399 printf("S"); /* Sync */ in pptp_framing_type_print()
402 printf("E"); /* Either */ in pptp_framing_type_print()
405 printf("?"); in pptp_framing_type_print()
408 printf(")"); in pptp_framing_type_print()
414 printf(" HOSTNAME(%.64s)", hostname); in pptp_hostname_print()
420 printf(" ID(%u)", EXTRACT_32BITS(id)); in pptp_id_print()
426 printf(" MAX_CHAN(%u)", EXTRACT_16BITS(max_channel)); in pptp_max_channel_print()
432 printf(" PEER_CALL_ID(%u)", EXTRACT_16BITS(peer_call_id)); in pptp_peer_call_id_print()
438 printf(" PHY_CHAN_ID(%u)", EXTRACT_32BITS(phy_chan_id)); in pptp_phy_chan_id_print()
444 printf(" PROC_DELAY(%u)", EXTRACT_16BITS(pkt_proc_delay)); in pptp_pkt_proc_delay_print()
450 printf(" PROTO_VER(%u.%u)", /* Version.Revision */ in pptp_proto_ver_print()
458 printf(" RECV_WIN(%u)", EXTRACT_16BITS(recv_winsiz)); in pptp_recv_winsiz_print()
464 printf(" RESULT_CODE(%u", *result_code); in pptp_result_code_print()
470 printf(":Successful channel establishment"); in pptp_result_code_print()
473 printf(":General error"); in pptp_result_code_print()
476 printf(":Command channel already exists"); in pptp_result_code_print()
479 printf(":Requester is not authorized to establish a command channel"); in pptp_result_code_print()
482 printf(":The protocol version of the requester is not supported"); in pptp_result_code_print()
485 printf(":?"); in pptp_result_code_print()
493 printf(":OK"); in pptp_result_code_print()
496 printf(":General Error"); in pptp_result_code_print()
499 printf(":?"); in pptp_result_code_print()
506 printf(":Connected"); in pptp_result_code_print()
509 printf(":General Error"); in pptp_result_code_print()
512 printf(":No Carrier"); in pptp_result_code_print()
515 printf(":Busy"); in pptp_result_code_print()
518 printf(":No Dial Tone"); in pptp_result_code_print()
521 printf(":Time-out"); in pptp_result_code_print()
524 printf(":Do Not Accept"); in pptp_result_code_print()
527 printf(":?"); in pptp_result_code_print()
534 printf(":Connect"); in pptp_result_code_print()
537 printf(":General Error"); in pptp_result_code_print()
540 printf(":Do Not Accept"); in pptp_result_code_print()
543 printf(":?"); in pptp_result_code_print()
550 printf(":Lost Carrier"); in pptp_result_code_print()
553 printf(":General Error"); in pptp_result_code_print()
556 printf(":Admin Shutdown"); in pptp_result_code_print()
559 printf(":Request"); in pptp_result_code_print()
561 printf(":?"); in pptp_result_code_print()
570 printf(")"); in pptp_result_code_print()
576 printf(" SUB_ADDR(%.64s)", subaddr); in pptp_subaddr_print()
582 printf(" VENDOR(%.64s)", vendor); in pptp_vendor_print()
612 printf("%s", tstr); in pptp_sccrq_print()
642 printf("%s", tstr); in pptp_sccrp_print()
651 printf(" REASON(%u", ptr->reason); in pptp_stopccrq_print()
655 printf(":None"); in pptp_stopccrq_print()
658 printf(":Stop-Protocol"); in pptp_stopccrq_print()
661 printf(":Stop-Local-Shutdown"); in pptp_stopccrq_print()
664 printf(":?"); in pptp_stopccrq_print()
668 printf(")"); in pptp_stopccrq_print()
675 printf("%s", tstr); in pptp_stopccrq_print()
692 printf("%s", tstr); in pptp_stopccrp_print()
706 printf("%s", tstr); in pptp_echorq_print()
725 printf("%s", tstr); in pptp_echorp_print()
738 printf(" MIN_BPS(%u)", EXTRACT_32BITS(&ptr->min_bps)); in pptp_ocrq_print()
740 printf(" MAX_BPS(%u)", EXTRACT_32BITS(&ptr->max_bps)); in pptp_ocrq_print()
750 printf(" PHONE_NO_LEN(%u)", EXTRACT_16BITS(&ptr->phone_no_len)); in pptp_ocrq_print()
753 printf(" PHONE_NO(%.64s)", ptr->phone_no); in pptp_ocrq_print()
760 printf("%s", tstr); in pptp_ocrq_print()
790 printf("%s", tstr); in pptp_ocrp_print()
807 printf(" DIALED_NO_LEN(%u)", EXTRACT_16BITS(&ptr->dialed_no_len)); in pptp_icrq_print()
809 printf(" DIALING_NO_LEN(%u)", EXTRACT_16BITS(&ptr->dialing_no_len)); in pptp_icrq_print()
811 printf(" DIALED_NO(%.64s)", ptr->dialed_no); in pptp_icrq_print()
813 printf(" DIALING_NO(%.64s)", ptr->dialing_no); in pptp_icrq_print()
820 printf("%s", tstr); in pptp_icrq_print()
845 printf("%s", tstr); in pptp_icrp_print()
868 printf("%s", tstr); in pptp_iccn_print()
883 printf("%s", tstr); in pptp_ccrq_print()
901 printf(" CALL_STATS(%.128s)", ptr->call_stats); in pptp_cdn_print()
906 printf("%s", tstr); in pptp_cdn_print()
918 printf(" CRC_ERR(%u)", EXTRACT_32BITS(&ptr->crc_err)); in pptp_wen_print()
920 printf(" FRAMING_ERR(%u)", EXTRACT_32BITS(&ptr->framing_err)); in pptp_wen_print()
922 printf(" HARDWARE_OVERRUN(%u)", EXTRACT_32BITS(&ptr->hardware_overrun)); in pptp_wen_print()
924 printf(" BUFFER_OVERRUN(%u)", EXTRACT_32BITS(&ptr->buffer_overrun)); in pptp_wen_print()
926 printf(" TIMEOUT_ERR(%u)", EXTRACT_32BITS(&ptr->timeout_err)); in pptp_wen_print()
928 printf(" ALIGN_ERR(%u)", EXTRACT_32BITS(&ptr->align_err)); in pptp_wen_print()
933 printf("%s", tstr); in pptp_wen_print()
945 printf(" SEND_ACCM(0x%08x)", EXTRACT_32BITS(&ptr->send_accm)); in pptp_sli_print()
947 printf(" RECV_ACCM(0x%08x)", EXTRACT_32BITS(&ptr->recv_accm)); in pptp_sli_print()
952 printf("%s", tstr); in pptp_sli_print()
962 printf(": pptp"); in pptp_print()
968 printf(" Length=%u", EXTRACT_16BITS(&hdr->length)); in pptp_print()
974 printf(" CTRL-MSG"); in pptp_print()
977 printf(" MGMT-MSG"); in pptp_print()
980 printf(" UNKNOWN-MSG-TYPE"); in pptp_print()
988 printf(" UNEXPECTED Magic-Cookie!!(%08x)", mc); in pptp_print()
991 printf(" Magic-Cookie=%08x", mc); in pptp_print()
996 printf(" CTRL_MSGTYPE=%s", in pptp_print()
999 printf(" UNKNOWN_CTRL_MSGTYPE(%u)", ctrl_msg_type); in pptp_print()
1059 printf("%s", tstr); in pptp_print()