Searched refs:sfd (Results 1 – 3 of 3) sorted by relevance
51 if(!ReadFdExactly(t->sfd, &p->msg, sizeof(amessage))){ in remote_read()61 if(!ReadFdExactly(t->sfd, p->data, p->msg.data_length)){ in remote_read()78 if(!WriteFdExactly(t->sfd, &p->msg, sizeof(amessage) + length)) { in remote_write()315 int fd = t->sfd; in remote_kick()316 t->sfd = -1; in remote_kick()391 t->sfd = s; in init_socket_transport()
194 int sfd; member
174 static int accept_server_socket(int sfd) in accept_server_socket() argument181 BTIF_TRACE_EVENT("accept fd %d", sfd); in accept_server_socket()184 pfd.fd = sfd; in accept_server_socket()195 if ((fd = accept(sfd, (struct sockaddr *)&remote, &len)) == -1) in accept_server_socket()