Lines Matching refs:pmonitor

91 extern struct monitor *pmonitor;
128 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
196 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_MODULI, &m); in mm_choose_dh()
199 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_MODULI, &m); in mm_choose_dh()
223 struct kex *kex = *pmonitor->m_pkex; in mm_key_sign()
232 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SIGN, &m); in mm_key_sign()
235 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SIGN, &m); in mm_key_sign()
255 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PWNAM, &m); in mm_getpwnamallow()
258 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PWNAM, &m); in mm_getpwnamallow()
314 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTH2_READ_BANNER, &m); in mm_auth2_read_banner()
317 mm_request_receive_expect(pmonitor->m_recvfd, in mm_auth2_read_banner()
343 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTHSERV, &m); in mm_inform_authserv()
359 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTHPASSWORD, &m); in mm_auth_password()
362 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_AUTHPASSWORD, &m); in mm_auth_password()
422 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_KEYALLOWED, &m); in mm_key_allowed()
425 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_KEYALLOWED, &m); in mm_key_allowed()
465 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_KEYVERIFY, &m); in mm_key_verify()
468 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_KEYVERIFY, &m); in mm_key_verify()
502 if ((tmp1 = dup(pmonitor->m_recvfd)) == -1 || in mm_pty_allocate()
503 (tmp2 = dup(pmonitor->m_recvfd)) == -1) { in mm_pty_allocate()
515 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PTY, &m); in mm_pty_allocate()
518 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PTY, &m); in mm_pty_allocate()
536 if ((*ptyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1 || in mm_pty_allocate()
537 (*ttyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1) in mm_pty_allocate()
553 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PTYCLEANUP, &m); in mm_session_pty_cleanup2()
576 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_START, &m); in mm_start_pam()
593 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_ACCOUNT, &m); in mm_do_pam_account()
595 mm_request_receive_expect(pmonitor->m_recvfd, in mm_do_pam_account()
617 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_INIT_CTX, &m); in mm_sshpam_init_ctx()
619 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_INIT_CTX, &m); in mm_sshpam_init_ctx()
640 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_QUERY, &m); in mm_sshpam_query()
642 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_QUERY, &m); in mm_sshpam_query()
673 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_RESPOND, &m); in mm_sshpam_respond()
675 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_RESPOND, &m); in mm_sshpam_respond()
689 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_FREE_CTX, &m); in mm_sshpam_free_ctx()
691 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_FREE_CTX, &m); in mm_sshpam_free_ctx()
704 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_TERM, &m); in mm_terminate()
717 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SESSKEY, &m); in mm_ssh1_session_key()
719 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SESSKEY, &m); in mm_ssh1_session_key()
753 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_BSDAUTHQUERY, &m); in mm_bsdauth_query()
755 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_BSDAUTHQUERY, in mm_bsdauth_query()
788 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_BSDAUTHRESPOND, &m); in mm_bsdauth_respond()
790 mm_request_receive_expect(pmonitor->m_recvfd, in mm_bsdauth_respond()
811 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SKEYQUERY, &m); in mm_skey_query()
813 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SKEYQUERY, in mm_skey_query()
848 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SKEYRESPOND, &m); in mm_skey_respond()
850 mm_request_receive_expect(pmonitor->m_recvfd, in mm_skey_respond()
872 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SESSID, &m); in mm_ssh1_session_id()
891 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_RSAKEYALLOWED, &m); in mm_auth_rsa_key_allowed()
892 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_RSAKEYALLOWED, &m); in mm_auth_rsa_key_allowed()
935 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_RSACHALLENGE, &m); in mm_auth_rsa_generate_challenge()
936 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_RSACHALLENGE, &m); in mm_auth_rsa_generate_challenge()
964 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_RSARESPONSE, &m); in mm_auth_rsa_verify_response()
965 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_RSARESPONSE, &m); in mm_auth_rsa_verify_response()
985 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUDIT_EVENT, &m); in mm_audit_event()
999 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUDIT_COMMAND, &m); in mm_audit_run_command()
1017 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_GSSSETUP, &m); in mm_ssh_gssapi_server_ctx()
1018 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_GSSSETUP, &m); in mm_ssh_gssapi_server_ctx()
1037 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_GSSSTEP, &m); in mm_ssh_gssapi_accept_ctx()
1038 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_GSSSTEP, &m); in mm_ssh_gssapi_accept_ctx()
1061 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_GSSCHECKMIC, &m); in mm_ssh_gssapi_checkmic()
1062 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_GSSCHECKMIC, in mm_ssh_gssapi_checkmic()
1078 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_GSSUSEROK, &m); in mm_ssh_gssapi_userok()
1079 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_GSSUSEROK, in mm_ssh_gssapi_userok()