Lines Matching refs:new_fd
1062 int new_fd; in cots_listen_event() local
1094 new_fd = rdc_transport_open(nconf); in cots_listen_event()
1095 if (new_fd == -1) { in cots_listen_event()
1105 if (t_bind(new_fd, NULL, NULL) == -1) { in cots_listen_event()
1106 rdcd_log_tli_error("t_bind", new_fd, nconf); in cots_listen_event()
1110 (void) t_close(new_fd); in cots_listen_event()
1114 while (t_accept(fd, new_fd, call) == -1) { in cots_listen_event()
1120 (void) t_close(new_fd); in cots_listen_event()
1142 (void) t_close(new_fd); in cots_listen_event()
1148 if (set_addrmask(new_fd, nconf, &addrmask) < 0) { in cots_listen_event()
1151 (void) t_snddis(new_fd, NULL); in cots_listen_event()
1153 (void) t_close(new_fd); in cots_listen_event()
1158 ret = (*Mysvc)(new_fd, addrmask, nconf); in cots_listen_event()
1163 (void) t_snddis(new_fd, NULL); in cots_listen_event()
1165 (void) t_close(new_fd); in cots_listen_event()
1177 add_to_poll_list(new_fd, nconf); in cots_listen_event()