Searched refs:dd_sock (Results 1 – 8 of 8) sorted by relevance
1207 if (session->ns_data.dd_sock != -1) { in ndmpd_data_error()1209 session->ns_data.dd_sock); in ndmpd_data_error()1214 if (session->ns_data.dd_sock != in ndmpd_data_error()1216 (void) close(session->ns_data.dd_sock); in ndmpd_data_error()1218 session->ns_data.dd_sock = -1; in ndmpd_data_error()1257 session->ns_data.dd_sock = accept(fd, (struct sockaddr *)&from, in data_accept_connection_v3()1261 session->ns_data.dd_sock); in data_accept_connection_v3()1270 if (session->ns_data.dd_sock < 0) { in data_accept_connection_v3()1283 set_socket_options(session->ns_data.dd_sock); in data_accept_connection_v3()1344 session->ns_data.dd_sock = sock; in data_connect_sock_v3()[all …]
138 if (session->ns_mover.md_sock != session->ns_data.dd_sock) { in ndmpd_api_done_v2()139 (void) close(session->ns_data.dd_sock); in ndmpd_api_done_v2()144 session->ns_data.dd_sock = -1; in ndmpd_api_done_v2()
1953 NDMP_ADDR_TCP && nlp->nlp_session->ns_data.dd_sock != -1) { in ndmpd_tar_backup_abort()1954 (void) close(nlp->nlp_session->ns_data.dd_sock); in ndmpd_tar_backup_abort()1955 nlp->nlp_session->ns_data.dd_sock = -1; in ndmpd_tar_backup_abort()2007 NDMP_ADDR_TCP && nlp->nlp_session->ns_data.dd_sock != -1) { in ndmpd_tar_restore_abort()2008 (void) close(nlp->nlp_session->ns_data.dd_sock); in ndmpd_tar_restore_abort()2009 nlp->nlp_session->ns_data.dd_sock = -1; in ndmpd_tar_restore_abort()
1312 if (session != NULL && session->ns_data.dd_sock == -1) { in ndmp_stop_local_reader()1340 if (session->ns_data.dd_sock >= 0) { in ndmp_stop_remote_reader()1345 "data.sock: %d", session->ns_data.dd_sock); in ndmp_stop_remote_reader()1346 (void) close(session->ns_data.dd_sock); in ndmp_stop_remote_reader()1347 session->ns_data.dd_sock = -1; in ndmp_stop_remote_reader()
3838 nlp->nlp_session->ns_data.dd_sock != -1) { in ndmpd_tar_backup_abort_v3()3839 (void) close(nlp->nlp_session->ns_data.dd_sock); in ndmpd_tar_backup_abort_v3()3840 nlp->nlp_session->ns_data.dd_sock = -1; in ndmpd_tar_backup_abort_v3()3975 nlp->nlp_session->ns_data.dd_sock != -1) { in ndmpd_tar_restore_abort_v3()3976 (void) close(nlp->nlp_session->ns_data.dd_sock); in ndmpd_tar_restore_abort_v3()3977 nlp->nlp_session->ns_data.dd_sock = -1; in ndmpd_tar_restore_abort_v3()
1512 if ((n = write(session->ns_data.dd_sock, &data[count], in ndmpd_remote_write()1786 if ((n = read(session->ns_data.dd_sock, &data[count], in ndmpd_remote_read()1946 session->ns_data.dd_sock = in ndmpd_mover_connect()1987 session->ns_data.dd_sock = sock; in ndmpd_mover_connect()
359 int dd_sock; /* listen and data socket */ member
858 ndmp_door_put_int32(enc_ctx, session->ns_data.dd_sock); in ndmp_connect_get_data_common()