Lines Matching refs:sockfd
149 socketpair(AF_LOCAL, SOCK_STREAM, 0, sockfd);
150 dummy_serial_fd = sockfd[0];
172 int sockfd[2];
215 expect_socket_data(sockfd[1], DATA_TYPE_COMMAND, sample_data1 + 1);
219 expect_socket_data(sockfd[1], DATA_TYPE_ACL, sample_data2 + 1);
223 expect_socket_data(sockfd[1], DATA_TYPE_SCO, sample_data3 + 1);
229 write_packet(sockfd[1], DATA_TYPE_ACL, acl_data);
230 write_packet(sockfd[1], HCI_BLE_EVENT, corrupted_data);
231 write_packet(sockfd[1], DATA_TYPE_SCO, sco_data);
232 write_packet(sockfd[1], DATA_TYPE_EVENT, event_data);
245 write_packet_reentry(sockfd[1], DATA_TYPE_ACL, sample_data3);
255 write(sockfd[1], &byte, 1);
262 FD_SET(sockfd[0], &read_fds);
268 select(sockfd[0] + 1, &read_fds, NULL, NULL, &timeout);
269 } while(FD_ISSET(sockfd[0], &read_fds));