Lines Matching refs:__func__
197 debug3("%s: entering for channel %d", __func__, cid); in mux_master_session_cleanup_cb()
199 fatal("%s: channel_by_id(%i) == NULL", __func__, cid); in mux_master_session_cleanup_cb()
203 __func__, c->self, c->ctl_chan); in mux_master_session_cleanup_cb()
218 debug3("%s: entering for channel %d", __func__, cid); in mux_master_control_cleanup_cb()
220 fatal("%s: channel_by_id(%i) == NULL", __func__, cid); in mux_master_control_cleanup_cb()
224 __func__, c->self, c->remote_id); in mux_master_control_cleanup_cb()
229 debug2("%s: channel %d: not open", __func__, sc->self); in mux_master_control_cleanup_cb()
272 fatal("%s: channel %d: c->mux_ctx == NULL", __func__, c->self); in process_mux_master_hello()
274 error("%s: HELLO received twice", __func__); in process_mux_master_hello()
279 error("%s: malformed message", __func__); in process_mux_master_hello()
287 debug2("%s: channel %d slave version %u", __func__, c->self, ver); in process_mux_master_hello()
339 error("%s: malformed message", __func__); in process_mux_new_session()
365 "term \"%s\", cmd \"%s\", env %u", __func__, c->self, in process_mux_new_session()
378 __func__, i); in process_mux_new_session()
397 debug3("%s: got fds stdin %d, stdout %d, stderr %d", __func__, in process_mux_new_session()
402 debug2("%s: session already open", __func__); in process_mux_new_session()
425 debug2("%s: session refused by user", __func__); in process_mux_new_session()
436 error("%s: tcgetattr: %s", __func__, strerror(errno)); in process_mux_new_session()
468 __func__, nc->self, nc->ctl_chan); in process_mux_new_session()
482 debug2("%s: channel %d: alive check", __func__, c->self); in process_mux_alive_check()
495 debug2("%s: channel %d: terminate request", __func__, c->self); in process_mux_terminate()
501 debug2("%s: termination refused by user", __func__); in process_mux_terminate()
547 fatal("%s: unknown forward type %u", __func__, ftype); in format_forward()
592 error("%s: unknown channel", __func__); in mux_confirm_remote_forward()
603 debug("%s: %s for: listen %d, connect %s:%d", __func__, in mux_confirm_remote_forward()
634 "connect %s:%d", __func__, rfwd->listen_port, in mux_confirm_remote_forward()
645 error("%s: %s", __func__, failmsg); in mux_confirm_remote_forward()
654 fatal("%s: mux_pause %d", __func__, c->mux_pause); in mux_confirm_remote_forward()
678 error("%s: malformed message", __func__); in process_mux_open_fwd()
703 debug2("%s: channel %d: request %s", __func__, c->self, in process_mux_open_fwd()
708 logit("%s: invalid forwarding type %u", __func__, ftype); in process_mux_open_fwd()
719 "are mutually exclusive", __func__); in process_mux_open_fwd()
723 logit("%s: invalid listen port %u", __func__, in process_mux_open_fwd()
729 logit("%s: invalid connect port %u", __func__, in process_mux_open_fwd()
734 logit("%s: missing connect host", __func__); in process_mux_open_fwd()
747 __func__); in process_mux_open_fwd()
761 __func__); in process_mux_open_fwd()
775 debug2("%s: forwarding refused by user", __func__); in process_mux_open_fwd()
846 error("%s: malformed message", __func__); in process_mux_close_fwd()
872 debug2("%s: channel %d: request cancel %s", __func__, c->self, in process_mux_close_fwd()
956 error("%s: malformed message", __func__); in process_mux_stdio_fwd()
962 __func__, c->self, chost, cport); in process_mux_stdio_fwd()
968 __func__, i); in process_mux_stdio_fwd()
982 debug3("%s: got fds stdin %d, stdout %d", __func__, in process_mux_stdio_fwd()
987 debug2("%s: session already open", __func__); in process_mux_stdio_fwd()
1003 debug2("%s: stdio fwd refused by user", __func__); in process_mux_stdio_fwd()
1024 __func__, nc->self, nc->ctl_chan); in process_mux_stdio_fwd()
1046 fatal("%s: cctx == NULL", __func__); in mux_stdio_confirm()
1048 fatal("%s: no channel for id %d", __func__, id); in mux_stdio_confirm()
1050 fatal("%s: channel %d lacks control channel %d", __func__, in mux_stdio_confirm()
1054 debug3("%s: sending failure reply", __func__); in mux_stdio_confirm()
1063 debug3("%s: sending success reply", __func__); in mux_stdio_confirm()
1076 fatal("%s: mux_pause %d", __func__, cc->mux_pause); in mux_stdio_confirm()
1085 debug("%s: channel %d: stop listening", __func__, c->self); in process_mux_stop_listening()
1091 debug2("%s: stop listen refused by user", __func__); in process_mux_stop_listening()
1140 debug3("%s: channel %d: hello sent", __func__, c->self); in mux_master_read_cb()
1150 error("%s: malformed message", __func__); in mux_master_read_cb()
1158 __func__, c->self, type, buffer_len(&in)); in mux_master_read_cb()
1165 "received 0x%08x", __func__, MUX_MSG_HELLO, type); in mux_master_read_cb()
1179 error("%s: unsupported mux message 0x%08x", __func__, type); in mux_master_read_cb()
1202 debug3("%s: channel %d: exit message, exitval %d", __func__, c->self, in mux_exit_message()
1207 __func__, c->self, c->ctl_chan); in mux_exit_message()
1225 debug3("%s: channel %d: TTY alloc failed", __func__, c->self); in mux_tty_alloc_failed()
1229 __func__, c->self, c->ctl_chan); in mux_tty_alloc_failed()
1271 debug3("%s: temporary control path %s", __func__, options.control_path); in muxserver_listen()
1300 fatal("%s: link mux listener %s => %s: %s", __func__, in muxserver_listen()
1320 debug3("%s: mux listener channel %d fd %d", __func__, in muxserver_listen()
1335 fatal("%s: cctx == NULL", __func__); in mux_session_confirm()
1337 fatal("%s: no channel for id %d", __func__, id); in mux_session_confirm()
1339 fatal("%s: channel %d lacks control channel %d", __func__, in mux_session_confirm()
1343 debug3("%s: sending failure reply", __func__); in mux_session_confirm()
1378 debug3("%s: sending success reply", __func__); in mux_session_confirm()
1391 fatal("%s: mux_pause %d", __func__, cc->mux_pause); in mux_session_confirm()
1531 debug3("%s: read header failed: %s", __func__, in mux_client_read_packet()
1540 debug3("%s: read body failed: %s", __func__, strerror(errno)); in mux_client_read_packet()
1563 fatal("%s: write packet: %s", __func__, strerror(errno)); in mux_client_hello_exchange()
1576 __func__, MUX_MSG_HELLO, type); in mux_client_hello_exchange()
1581 debug2("%s: master version %u", __func__, ver); in mux_client_hello_exchange()
1602 debug3("%s: entering", __func__); in mux_client_request_alive()
1609 fatal("%s: write packet: %s", __func__, strerror(errno)); in mux_client_request_alive()
1622 fatal("%s: master returned error: %s", __func__, e); in mux_client_request_alive()
1627 __func__, muxclient_request_id, rid); in mux_client_request_alive()
1631 debug3("%s: done pid = %u", __func__, pid); in mux_client_request_alive()
1645 debug3("%s: entering", __func__); in mux_client_request_terminate()
1652 fatal("%s: write packet: %s", __func__, strerror(errno)); in mux_client_request_terminate()
1664 __func__, strerror(errno)); in mux_client_request_terminate()
1670 __func__, muxclient_request_id, rid); in mux_client_request_terminate()
1679 fatal("%s: termination request failed: %s", __func__, e); in mux_client_request_terminate()
1682 __func__, type); in mux_client_request_terminate()
1721 fatal("%s: write packet: %s", __func__, strerror(errno)); in mux_client_forward()
1734 __func__, muxclient_request_id, rid); in mux_client_forward()
1740 fatal("%s: got MUX_S_REMOTE_PORT for cancel", __func__); in mux_client_forward()
1757 error("%s: forwarding request failed: %s", __func__, e); in mux_client_forward()
1761 __func__, type); in mux_client_forward()
1774 debug3("%s: %s forwardings: %d local, %d remote", __func__, in mux_client_forwards()
1803 debug3("%s: entering", __func__); in mux_client_request_session()
1806 error("%s: master alive request failed", __func__); in mux_client_request_session()
1846 fatal("%s: write packet: %s", __func__, strerror(errno)); in mux_client_request_session()
1852 fatal("%s: send fds failed", __func__); in mux_client_request_session()
1854 debug3("%s: session request sent", __func__); in mux_client_request_session()
1860 __func__, strerror(errno)); in mux_client_request_session()
1868 __func__, muxclient_request_id, rid); in mux_client_request_session()
1872 debug("%s: master session id: %u", __func__, sid); in mux_client_request_session()
1882 error("%s: session request failed: %s", __func__, e); in mux_client_request_session()
1887 __func__, type); in mux_client_request_session()
1918 __func__, sid, esid); in mux_client_request_session()
1927 __func__, sid, esid); in mux_client_request_session()
1929 fatal("%s: exitval sent twice", __func__); in mux_client_request_session()
1935 fatal("%s: master returned error: %s", __func__, e); in mux_client_request_session()
1966 debug3("%s: entering", __func__); in mux_client_request_stdio_fwd()
1969 error("%s: master alive request failed", __func__); in mux_client_request_stdio_fwd()
1992 fatal("%s: write packet: %s", __func__, strerror(errno)); in mux_client_request_stdio_fwd()
1997 fatal("%s: send fds failed", __func__); in mux_client_request_stdio_fwd()
1999 debug3("%s: stdio forward request sent", __func__); in mux_client_request_stdio_fwd()
2006 __func__, strerror(errno)); in mux_client_request_stdio_fwd()
2014 __func__, muxclient_request_id, rid); in mux_client_request_stdio_fwd()
2018 debug("%s: master session id: %u", __func__, sid); in mux_client_request_stdio_fwd()
2031 __func__, type); in mux_client_request_stdio_fwd()
2050 __func__, strerror(errno)); in mux_client_request_stdio_fwd()
2052 fatal("%s: master returned unexpected message %u", __func__, type); in mux_client_request_stdio_fwd()
2062 debug3("%s: entering", __func__); in mux_client_request_stop_listening()
2069 fatal("%s: write packet: %s", __func__, strerror(errno)); in mux_client_request_stop_listening()
2076 __func__, strerror(errno)); in mux_client_request_stop_listening()
2081 __func__, muxclient_request_id, rid); in mux_client_request_stop_listening()
2090 fatal("%s: stop listening request failed: %s", __func__, e); in mux_client_request_stop_listening()
2093 __func__, type); in mux_client_request_stop_listening()
2136 fatal("%s socket(): %s", __func__, strerror(errno)); in muxclient()
2163 error("%s: master hello exchange failed", __func__); in muxclient()
2171 fatal("%s: master alive check failed", __func__); in muxclient()
2180 fatal("%s: master forward request failed", __func__); in muxclient()
2184 error("%s: master forward request failed", __func__); in muxclient()
2199 __func__); in muxclient()