Lines Matching refs:connection

90  *   connection (input) - connection handle.
98 ndmpd_data_get_state_v2(ndmp_connection_t *connection, void *body)
101 ndmpd_session_t *session = ndmp_get_client_data(connection);
121 ndmp_send_reply(connection, &reply,
132 * connection (input) - connection handle.
139 ndmpd_data_start_backup_v2(ndmp_connection_t *connection, void *body)
143 ndmpd_session_t *session = ndmp_get_client_data(connection);
161 ndmp_send_reply(connection, &reply,
173 * connection (input) - connection handle.
180 ndmpd_data_start_recover_v2(ndmp_connection_t *connection, void *body)
184 ndmpd_session_t *session = ndmp_get_client_data(connection);
200 ndmp_send_reply(connection, &reply,
214 * connection (input) - connection handle.
222 ndmpd_data_get_env_v2(ndmp_connection_t *connection, void *body)
225 ndmpd_session_t *session = ndmp_get_client_data(connection);
238 ndmp_send_reply(connection, &reply, "sending data_get_env reply");
248 * connection (input) - connection handle.
256 ndmpd_data_stop_v2(ndmp_connection_t *connection, void *body)
259 ndmpd_session_t *session = ndmp_get_client_data(connection);
264 ndmp_send_reply(connection, &reply,
279 ndmp_send_reply(connection, &reply, "sending data_stop reply");
291 * connection (input) - connection handle.
299 ndmpd_data_abort_v2(ndmp_connection_t *connection, void *body)
302 ndmpd_session_t *session = ndmp_get_client_data(connection);
308 ndmp_send_reply(connection, &reply,
322 ndmp_send_reply(connection, &reply, "sending data_abort reply");
337 * connection (input) - connection handle.
345 ndmpd_data_get_state_v3(ndmp_connection_t *connection, void *body)
348 ndmpd_session_t *session = ndmp_get_client_data(connection);
375 ndmp_send_reply(connection, &reply,
386 * connection (input) - connection handle.
393 ndmpd_data_start_backup_v3(ndmp_connection_t *connection, void *body)
397 ndmpd_session_t *session = ndmp_get_client_data(connection);
464 ndmp_send_reply(connection, &reply,
476 * connection (input) - connection handle.
483 ndmpd_data_start_recover_v3(ndmp_connection_t *connection, void *body)
487 ndmpd_session_t *session = ndmp_get_client_data(connection);
544 ndmp_send_reply(connection, &reply,
559 * connection (input) - connection handle.
567 ndmpd_data_abort_v3(ndmp_connection_t *connection, void *body)
570 ndmpd_session_t *session = ndmp_get_client_data(connection);
604 ndmp_send_reply(connection, &reply,
615 * connection (input) - connection handle.
623 ndmpd_data_stop_v3(ndmp_connection_t *connection, void *body)
626 ndmpd_session_t *session = ndmp_get_client_data(connection);
631 ndmp_send_reply(connection, &reply,
644 ndmp_send_reply(connection, &reply,
652 * Request handler. Configures the server to listen for a connection
656 * connection (input) - connection handle.
663 ndmpd_data_listen_v3(ndmp_connection_t *connection, void *body)
667 ndmpd_session_t *session = ndmp_get_client_data(connection);
688 ndmp_send_reply(connection, &reply,
725 ndmp_send_reply(connection, &reply,
737 * connection (input) - connection handle.
744 ndmpd_data_connect_v3(ndmp_connection_t *connection, void *body)
748 ndmpd_session_t *session = ndmp_get_client_data(connection);
766 ndmp_send_reply(connection, &reply,
775 * local connection
801 ndmp_send_reply(connection, &reply,
820 * connection (input) - connection handle.
828 ndmpd_data_get_env_v4(ndmp_connection_t *connection, void *body)
831 ndmpd_session_t *session = ndmp_get_client_data(connection);
850 ndmp_send_reply(connection, &reply, "sending data_get_env reply");
859 * connection (input) - connection handle.
867 ndmpd_data_get_state_v4(ndmp_connection_t *connection, void *body)
870 ndmpd_session_t *session = ndmp_get_client_data(connection);
897 ndmp_send_reply(connection, &reply,
910 * connection (input) - connection handle.
917 ndmpd_data_connect_v4(ndmp_connection_t *connection, void *body)
921 ndmpd_session_t *session = ndmp_get_client_data(connection);
939 ndmp_send_reply(connection, &reply,
948 * local connection
974 ndmp_send_reply(connection, &reply,
981 * Request handler. Configures the server to listen for a connection
985 * connection (input) - connection handle.
992 ndmpd_data_listen_v4(ndmp_connection_t *connection, void *body)
996 ndmpd_session_t *session = ndmp_get_client_data(connection);
1017 ndmp_send_reply(connection, &reply,
1068 ndmp_send_reply(connection, &reply,
1080 * connection (input) - connection handle.
1088 ndmpd_data_start_recover_filehist_v4(ndmp_connection_t *connection, void *body)
1095 ndmp_send_reply(connection, &reply,
1236 * Accept a data connection from a remote mover.
1237 * Called by ndmpd_select when a connection is pending on
1305 * connection is ready to be accepted.
1721 * Read and discard data from the data connection.
1874 /* read returns 0 if the connection was closed */