Lines Matching refs:ptr
591 struct pptp_msg_sccrq *ptr = (struct pptp_msg_sccrq *)dat; in pptp_sccrq_print() local
593 TCHECK(ptr->proto_ver); in pptp_sccrq_print()
594 pptp_proto_ver_print(&ptr->proto_ver); in pptp_sccrq_print()
595 TCHECK(ptr->reserved1); in pptp_sccrq_print()
596 TCHECK(ptr->framing_cap); in pptp_sccrq_print()
597 pptp_framing_cap_print(&ptr->framing_cap); in pptp_sccrq_print()
598 TCHECK(ptr->bearer_cap); in pptp_sccrq_print()
599 pptp_bearer_cap_print(&ptr->bearer_cap); in pptp_sccrq_print()
600 TCHECK(ptr->max_channel); in pptp_sccrq_print()
601 pptp_max_channel_print(&ptr->max_channel); in pptp_sccrq_print()
602 TCHECK(ptr->firm_rev); in pptp_sccrq_print()
603 pptp_firm_rev_print(&ptr->firm_rev); in pptp_sccrq_print()
604 TCHECK(ptr->hostname); in pptp_sccrq_print()
605 pptp_hostname_print(&ptr->hostname[0]); in pptp_sccrq_print()
606 TCHECK(ptr->vendor); in pptp_sccrq_print()
607 pptp_vendor_print(&ptr->vendor[0]); in pptp_sccrq_print()
618 struct pptp_msg_sccrp *ptr = (struct pptp_msg_sccrp *)dat; in pptp_sccrp_print() local
620 TCHECK(ptr->proto_ver); in pptp_sccrp_print()
621 pptp_proto_ver_print(&ptr->proto_ver); in pptp_sccrp_print()
622 TCHECK(ptr->result_code); in pptp_sccrp_print()
623 pptp_result_code_print(&ptr->result_code, PPTP_CTRL_MSG_TYPE_SCCRP); in pptp_sccrp_print()
624 TCHECK(ptr->err_code); in pptp_sccrp_print()
625 pptp_err_code_print(&ptr->err_code); in pptp_sccrp_print()
626 TCHECK(ptr->framing_cap); in pptp_sccrp_print()
627 pptp_framing_cap_print(&ptr->framing_cap); in pptp_sccrp_print()
628 TCHECK(ptr->bearer_cap); in pptp_sccrp_print()
629 pptp_bearer_cap_print(&ptr->bearer_cap); in pptp_sccrp_print()
630 TCHECK(ptr->max_channel); in pptp_sccrp_print()
631 pptp_max_channel_print(&ptr->max_channel); in pptp_sccrp_print()
632 TCHECK(ptr->firm_rev); in pptp_sccrp_print()
633 pptp_firm_rev_print(&ptr->firm_rev); in pptp_sccrp_print()
634 TCHECK(ptr->hostname); in pptp_sccrp_print()
635 pptp_hostname_print(&ptr->hostname[0]); in pptp_sccrp_print()
636 TCHECK(ptr->vendor); in pptp_sccrp_print()
637 pptp_vendor_print(&ptr->vendor[0]); in pptp_sccrp_print()
648 struct pptp_msg_stopccrq *ptr = (struct pptp_msg_stopccrq *)dat; in pptp_stopccrq_print() local
650 TCHECK(ptr->reason); in pptp_stopccrq_print()
651 printf(" REASON(%u", ptr->reason); in pptp_stopccrq_print()
653 switch (ptr->reason) { in pptp_stopccrq_print()
669 TCHECK(ptr->reserved1); in pptp_stopccrq_print()
670 TCHECK(ptr->reserved2); in pptp_stopccrq_print()
681 struct pptp_msg_stopccrp *ptr = (struct pptp_msg_stopccrp *)dat; in pptp_stopccrp_print() local
683 TCHECK(ptr->result_code); in pptp_stopccrp_print()
684 pptp_result_code_print(&ptr->result_code, PPTP_CTRL_MSG_TYPE_StopCCRP); in pptp_stopccrp_print()
685 TCHECK(ptr->err_code); in pptp_stopccrp_print()
686 pptp_err_code_print(&ptr->err_code); in pptp_stopccrp_print()
687 TCHECK(ptr->reserved1); in pptp_stopccrp_print()
698 struct pptp_msg_echorq *ptr = (struct pptp_msg_echorq *)dat; in pptp_echorq_print() local
700 TCHECK(ptr->id); in pptp_echorq_print()
701 pptp_id_print(&ptr->id); in pptp_echorq_print()
712 struct pptp_msg_echorp *ptr = (struct pptp_msg_echorp *)dat; in pptp_echorp_print() local
714 TCHECK(ptr->id); in pptp_echorp_print()
715 pptp_id_print(&ptr->id); in pptp_echorp_print()
716 TCHECK(ptr->result_code); in pptp_echorp_print()
717 pptp_result_code_print(&ptr->result_code, PPTP_CTRL_MSG_TYPE_ECHORP); in pptp_echorp_print()
718 TCHECK(ptr->err_code); in pptp_echorp_print()
719 pptp_err_code_print(&ptr->err_code); in pptp_echorp_print()
720 TCHECK(ptr->reserved1); in pptp_echorp_print()
731 struct pptp_msg_ocrq *ptr = (struct pptp_msg_ocrq *)dat; in pptp_ocrq_print() local
733 TCHECK(ptr->call_id); in pptp_ocrq_print()
734 pptp_call_id_print(&ptr->call_id); in pptp_ocrq_print()
735 TCHECK(ptr->call_ser); in pptp_ocrq_print()
736 pptp_call_ser_print(&ptr->call_ser); in pptp_ocrq_print()
737 TCHECK(ptr->min_bps); in pptp_ocrq_print()
738 printf(" MIN_BPS(%u)", EXTRACT_32BITS(&ptr->min_bps)); in pptp_ocrq_print()
739 TCHECK(ptr->max_bps); in pptp_ocrq_print()
740 printf(" MAX_BPS(%u)", EXTRACT_32BITS(&ptr->max_bps)); in pptp_ocrq_print()
741 TCHECK(ptr->bearer_type); in pptp_ocrq_print()
742 pptp_bearer_type_print(&ptr->bearer_type); in pptp_ocrq_print()
743 TCHECK(ptr->framing_type); in pptp_ocrq_print()
744 pptp_framing_type_print(&ptr->framing_type); in pptp_ocrq_print()
745 TCHECK(ptr->recv_winsiz); in pptp_ocrq_print()
746 pptp_recv_winsiz_print(&ptr->recv_winsiz); in pptp_ocrq_print()
747 TCHECK(ptr->pkt_proc_delay); in pptp_ocrq_print()
748 pptp_pkt_proc_delay_print(&ptr->pkt_proc_delay); in pptp_ocrq_print()
749 TCHECK(ptr->phone_no_len); in pptp_ocrq_print()
750 printf(" PHONE_NO_LEN(%u)", EXTRACT_16BITS(&ptr->phone_no_len)); in pptp_ocrq_print()
751 TCHECK(ptr->reserved1); in pptp_ocrq_print()
752 TCHECK(ptr->phone_no); in pptp_ocrq_print()
753 printf(" PHONE_NO(%.64s)", ptr->phone_no); in pptp_ocrq_print()
754 TCHECK(ptr->subaddr); in pptp_ocrq_print()
755 pptp_subaddr_print(&ptr->subaddr[0]); in pptp_ocrq_print()
766 struct pptp_msg_ocrp *ptr = (struct pptp_msg_ocrp *)dat; in pptp_ocrp_print() local
768 TCHECK(ptr->call_id); in pptp_ocrp_print()
769 pptp_call_id_print(&ptr->call_id); in pptp_ocrp_print()
770 TCHECK(ptr->peer_call_id); in pptp_ocrp_print()
771 pptp_peer_call_id_print(&ptr->peer_call_id); in pptp_ocrp_print()
772 TCHECK(ptr->result_code); in pptp_ocrp_print()
773 pptp_result_code_print(&ptr->result_code, PPTP_CTRL_MSG_TYPE_OCRP); in pptp_ocrp_print()
774 TCHECK(ptr->err_code); in pptp_ocrp_print()
775 pptp_err_code_print(&ptr->err_code); in pptp_ocrp_print()
776 TCHECK(ptr->cause_code); in pptp_ocrp_print()
777 pptp_cause_code_print(&ptr->cause_code); in pptp_ocrp_print()
778 TCHECK(ptr->conn_speed); in pptp_ocrp_print()
779 pptp_conn_speed_print(&ptr->conn_speed); in pptp_ocrp_print()
780 TCHECK(ptr->recv_winsiz); in pptp_ocrp_print()
781 pptp_recv_winsiz_print(&ptr->recv_winsiz); in pptp_ocrp_print()
782 TCHECK(ptr->pkt_proc_delay); in pptp_ocrp_print()
783 pptp_pkt_proc_delay_print(&ptr->pkt_proc_delay); in pptp_ocrp_print()
784 TCHECK(ptr->phy_chan_id); in pptp_ocrp_print()
785 pptp_phy_chan_id_print(&ptr->phy_chan_id); in pptp_ocrp_print()
796 struct pptp_msg_icrq *ptr = (struct pptp_msg_icrq *)dat; in pptp_icrq_print() local
798 TCHECK(ptr->call_id); in pptp_icrq_print()
799 pptp_call_id_print(&ptr->call_id); in pptp_icrq_print()
800 TCHECK(ptr->call_ser); in pptp_icrq_print()
801 pptp_call_ser_print(&ptr->call_ser); in pptp_icrq_print()
802 TCHECK(ptr->bearer_type); in pptp_icrq_print()
803 pptp_bearer_type_print(&ptr->bearer_type); in pptp_icrq_print()
804 TCHECK(ptr->phy_chan_id); in pptp_icrq_print()
805 pptp_phy_chan_id_print(&ptr->phy_chan_id); in pptp_icrq_print()
806 TCHECK(ptr->dialed_no_len); in pptp_icrq_print()
807 printf(" DIALED_NO_LEN(%u)", EXTRACT_16BITS(&ptr->dialed_no_len)); in pptp_icrq_print()
808 TCHECK(ptr->dialing_no_len); in pptp_icrq_print()
809 printf(" DIALING_NO_LEN(%u)", EXTRACT_16BITS(&ptr->dialing_no_len)); in pptp_icrq_print()
810 TCHECK(ptr->dialed_no); in pptp_icrq_print()
811 printf(" DIALED_NO(%.64s)", ptr->dialed_no); in pptp_icrq_print()
812 TCHECK(ptr->dialing_no); in pptp_icrq_print()
813 printf(" DIALING_NO(%.64s)", ptr->dialing_no); in pptp_icrq_print()
814 TCHECK(ptr->subaddr); in pptp_icrq_print()
815 pptp_subaddr_print(&ptr->subaddr[0]); in pptp_icrq_print()
826 struct pptp_msg_icrp *ptr = (struct pptp_msg_icrp *)dat; in pptp_icrp_print() local
828 TCHECK(ptr->call_id); in pptp_icrp_print()
829 pptp_call_id_print(&ptr->call_id); in pptp_icrp_print()
830 TCHECK(ptr->peer_call_id); in pptp_icrp_print()
831 pptp_peer_call_id_print(&ptr->peer_call_id); in pptp_icrp_print()
832 TCHECK(ptr->result_code); in pptp_icrp_print()
833 pptp_result_code_print(&ptr->result_code, PPTP_CTRL_MSG_TYPE_ICRP); in pptp_icrp_print()
834 TCHECK(ptr->err_code); in pptp_icrp_print()
835 pptp_err_code_print(&ptr->err_code); in pptp_icrp_print()
836 TCHECK(ptr->recv_winsiz); in pptp_icrp_print()
837 pptp_recv_winsiz_print(&ptr->recv_winsiz); in pptp_icrp_print()
838 TCHECK(ptr->pkt_proc_delay); in pptp_icrp_print()
839 pptp_pkt_proc_delay_print(&ptr->pkt_proc_delay); in pptp_icrp_print()
840 TCHECK(ptr->reserved1); in pptp_icrp_print()
851 struct pptp_msg_iccn *ptr = (struct pptp_msg_iccn *)dat; in pptp_iccn_print() local
853 TCHECK(ptr->peer_call_id); in pptp_iccn_print()
854 pptp_peer_call_id_print(&ptr->peer_call_id); in pptp_iccn_print()
855 TCHECK(ptr->reserved1); in pptp_iccn_print()
856 TCHECK(ptr->conn_speed); in pptp_iccn_print()
857 pptp_conn_speed_print(&ptr->conn_speed); in pptp_iccn_print()
858 TCHECK(ptr->recv_winsiz); in pptp_iccn_print()
859 pptp_recv_winsiz_print(&ptr->recv_winsiz); in pptp_iccn_print()
860 TCHECK(ptr->pkt_proc_delay); in pptp_iccn_print()
861 pptp_pkt_proc_delay_print(&ptr->pkt_proc_delay); in pptp_iccn_print()
862 TCHECK(ptr->framing_type); in pptp_iccn_print()
863 pptp_framing_type_print(&ptr->framing_type); in pptp_iccn_print()
874 struct pptp_msg_ccrq *ptr = (struct pptp_msg_ccrq *)dat; in pptp_ccrq_print() local
876 TCHECK(ptr->call_id); in pptp_ccrq_print()
877 pptp_call_id_print(&ptr->call_id); in pptp_ccrq_print()
878 TCHECK(ptr->reserved1); in pptp_ccrq_print()
889 struct pptp_msg_cdn *ptr = (struct pptp_msg_cdn *)dat; in pptp_cdn_print() local
891 TCHECK(ptr->call_id); in pptp_cdn_print()
892 pptp_call_id_print(&ptr->call_id); in pptp_cdn_print()
893 TCHECK(ptr->result_code); in pptp_cdn_print()
894 pptp_result_code_print(&ptr->result_code, PPTP_CTRL_MSG_TYPE_CDN); in pptp_cdn_print()
895 TCHECK(ptr->err_code); in pptp_cdn_print()
896 pptp_err_code_print(&ptr->err_code); in pptp_cdn_print()
897 TCHECK(ptr->cause_code); in pptp_cdn_print()
898 pptp_cause_code_print(&ptr->cause_code); in pptp_cdn_print()
899 TCHECK(ptr->reserved1); in pptp_cdn_print()
900 TCHECK(ptr->call_stats); in pptp_cdn_print()
901 printf(" CALL_STATS(%.128s)", ptr->call_stats); in pptp_cdn_print()
912 struct pptp_msg_wen *ptr = (struct pptp_msg_wen *)dat; in pptp_wen_print() local
914 TCHECK(ptr->peer_call_id); in pptp_wen_print()
915 pptp_peer_call_id_print(&ptr->peer_call_id); in pptp_wen_print()
916 TCHECK(ptr->reserved1); in pptp_wen_print()
917 TCHECK(ptr->crc_err); in pptp_wen_print()
918 printf(" CRC_ERR(%u)", EXTRACT_32BITS(&ptr->crc_err)); in pptp_wen_print()
919 TCHECK(ptr->framing_err); in pptp_wen_print()
920 printf(" FRAMING_ERR(%u)", EXTRACT_32BITS(&ptr->framing_err)); in pptp_wen_print()
921 TCHECK(ptr->hardware_overrun); in pptp_wen_print()
922 printf(" HARDWARE_OVERRUN(%u)", EXTRACT_32BITS(&ptr->hardware_overrun)); in pptp_wen_print()
923 TCHECK(ptr->buffer_overrun); in pptp_wen_print()
924 printf(" BUFFER_OVERRUN(%u)", EXTRACT_32BITS(&ptr->buffer_overrun)); in pptp_wen_print()
925 TCHECK(ptr->timeout_err); in pptp_wen_print()
926 printf(" TIMEOUT_ERR(%u)", EXTRACT_32BITS(&ptr->timeout_err)); in pptp_wen_print()
927 TCHECK(ptr->align_err); in pptp_wen_print()
928 printf(" ALIGN_ERR(%u)", EXTRACT_32BITS(&ptr->align_err)); in pptp_wen_print()
939 struct pptp_msg_sli *ptr = (struct pptp_msg_sli *)dat; in pptp_sli_print() local
941 TCHECK(ptr->peer_call_id); in pptp_sli_print()
942 pptp_peer_call_id_print(&ptr->peer_call_id); in pptp_sli_print()
943 TCHECK(ptr->reserved1); in pptp_sli_print()
944 TCHECK(ptr->send_accm); in pptp_sli_print()
945 printf(" SEND_ACCM(0x%08x)", EXTRACT_32BITS(&ptr->send_accm)); in pptp_sli_print()
946 TCHECK(ptr->recv_accm); in pptp_sli_print()
947 printf(" RECV_ACCM(0x%08x)", EXTRACT_32BITS(&ptr->recv_accm)); in pptp_sli_print()