Home
last modified time | relevance | path

Searched refs:server_vsock_fd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/samples/nitro_enclaves/
H A Dne_ioctl_sample.c664 int server_vsock_fd = -1; in ne_start_enclave_check_booted() local
666 server_vsock_fd = socket(AF_VSOCK, SOCK_STREAM, 0); in ne_start_enclave_check_booted()
667 if (server_vsock_fd < 0) { in ne_start_enclave_check_booted()
668 rc = server_vsock_fd; in ne_start_enclave_check_booted()
675 rc = bind(server_vsock_fd, (struct sockaddr *)&server_vsock_addr, in ne_start_enclave_check_booted()
683 rc = listen(server_vsock_fd, 1); in ne_start_enclave_check_booted()
696 fds[0].fd = server_vsock_fd; in ne_start_enclave_check_booted()
722 rc = accept(server_vsock_fd, (struct sockaddr *)&client_vsock_addr, in ne_start_enclave_check_booted()
761 close(server_vsock_fd); in ne_start_enclave_check_booted()