Lines Matching refs:mon
1905 monitor_openfds(struct monitor *mon, int do_logfds) in monitor_openfds() argument
1913 mon->m_recvfd = pair[0]; in monitor_openfds()
1914 mon->m_sendfd = pair[1]; in monitor_openfds()
1921 mon->m_log_recvfd = pair[0]; in monitor_openfds()
1922 mon->m_log_sendfd = pair[1]; in monitor_openfds()
1924 mon->m_log_recvfd = mon->m_log_sendfd = -1; in monitor_openfds()
1933 struct monitor *mon; in monitor_init() local
1935 mon = xcalloc(1, sizeof(*mon)); in monitor_init()
1937 monitor_openfds(mon, 1); in monitor_init()
1941 mon->m_zback = mm_create(NULL, MM_MEMSIZE); in monitor_init()
1942 mon->m_zlib = mm_create(mon->m_zback, 20 * MM_MEMSIZE); in monitor_init()
1945 ssh_packet_set_compress_hooks(ssh, mon->m_zlib, in monitor_init()
1950 return mon; in monitor_init()
1954 monitor_reinit(struct monitor *mon) in monitor_reinit() argument
1956 monitor_openfds(mon, 0); in monitor_reinit()