Searched refs:connfd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/usb/usbip/src/ |
H A D | usbipd.c | 157 static int send_reply_devlist(int connfd) in send_reply_devlist() argument 184 rc = usbip_net_send_op_common(connfd, OP_REP_DEVLIST, ST_OK); in send_reply_devlist() 191 rc = usbip_net_send(connfd, &reply, sizeof(reply)); in send_reply_devlist() 206 rc = usbip_net_send(connfd, &pdu_udev, sizeof(pdu_udev)); in send_reply_devlist() 217 rc = usbip_net_send(connfd, &pdu_uinf, in send_reply_devlist() 229 static int recv_request_devlist(int connfd) in recv_request_devlist() argument 236 rc = usbip_net_recv(connfd, &req, sizeof(req)); in recv_request_devlist() 242 rc = send_reply_devlist(connfd); in recv_request_devlist() 251 static int recv_pdu(int connfd) in recv_pdu() argument 257 ret = usbip_net_recv_op_common(connfd, &code, &status); in recv_pdu() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-util-sockets.c | 263 int fd, connfd, i; in test_socket_unix_abstract_row() local 281 connfd = accept(fd, (struct sockaddr *)&un, &len); in test_socket_unix_abstract_row() 282 g_assert_cmpint(connfd, !=, -1); in test_socket_unix_abstract_row() 283 close(connfd); in test_socket_unix_abstract_row()
|