Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/vsock/
Dvsock_perf.c87 if (setsockopt(fd, AF_VSOCK, SO_VM_SOCKETS_BUFFER_MAX_SIZE, in vsock_increase_buf_size()
91 if (setsockopt(fd, AF_VSOCK, SO_VM_SOCKETS_BUFFER_SIZE, in vsock_increase_buf_size()
103 .svm_family = AF_VSOCK, in vsock_connect()
110 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in vsock_connect()
146 .svm_family = AF_VSOCK, in run_receiver()
164 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in run_receiver()
Dutil.c94 .svm_family = AF_VSOCK, in vsock_connect()
104 fd = socket(AF_VSOCK, type, 0); in vsock_connect()
144 .svm_family = AF_VSOCK, in vsock_accept()
158 fd = socket(AF_VSOCK, type, 0); in vsock_accept()
191 if (clientaddr.sa.sa_family != AF_VSOCK) { in vsock_accept()
DREADME1 AF_VSOCK test suite
8 * vsock_test - core AF_VSOCK socket functionality
17 4. Boot the guest and ensure that the AF_VSOCK transport is enabled.
Dvsock_test.c34 .svm_family = AF_VSOCK, in test_stream_connection_reset()
42 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_stream_connection_reset()
70 .svm_family = AF_VSOCK, in test_stream_bind_only_client()
81 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_stream_bind_only_client()
112 .svm_family = AF_VSOCK, in test_stream_bind_only_server()
119 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_stream_bind_only_server()
494 if (setsockopt(fd, AF_VSOCK, SO_VM_SOCKETS_BUFFER_MAX_SIZE, in test_seqpacket_msg_bounds_server()
500 if (setsockopt(fd, AF_VSOCK, SO_VM_SOCKETS_BUFFER_SIZE, in test_seqpacket_msg_bounds_server()
695 if (getsockopt(fd, AF_VSOCK, SO_VM_SOCKETS_BUFFER_SIZE, in test_seqpacket_bigmsg_client()
Dvsock_diag_test.c179 .sdiag_family = AF_VSOCK, in send_req()
344 .svm_family = AF_VSOCK, in test_listen_socket_server()
353 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_listen_socket_server()
/Linux-v6.6/net/vmw_vsock/
Dvsock_addr.c17 addr->svm_family = AF_VSOCK; in vsock_addr_init()
30 if (addr->svm_family != AF_VSOCK) in vsock_addr_validate()
Ddiag.c27 rep->vdiag_family = AF_VSOCK; in sk_diag_fill()
160 .family = AF_VSOCK,
Daf_vsock.c736 sk = sk_alloc(net, AF_VSOCK, priority, &vsock_proto, kern); in __vsock_create()
1638 if (level != AF_VSOCK) in vsock_connectible_setsockopt()
1731 if (level != AF_VSOCK) in vsock_connectible_getsockopt()
2310 .family = AF_VSOCK,
2394 AF_VSOCK, err); in vsock_init()
2413 sock_unregister(AF_VSOCK); in vsock_exit()
/Linux-v6.6/samples/nitro_enclaves/
Dne_ioctl_sample.c660 .svm_family = AF_VSOCK, in ne_start_enclave_check_booted()
666 server_vsock_fd = socket(AF_VSOCK, SOCK_STREAM, 0); in ne_start_enclave_check_booted()
/Linux-v6.6/include/linux/
Dsocket.h231 #define AF_VSOCK 40 /* vSockets */ macro
288 #define PF_VSOCK AF_VSOCK
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsockmap_helpers.h269 addr->svm_family = AF_VSOCK; in init_addr_loopback_vsock()
285 case AF_VSOCK: in init_addr_loopback()
Dsockmap_listen.c1213 case AF_VSOCK: in family_str()
1434 s = socket_loopback(AF_VSOCK, sotype); in vsock_socketpair_connectible()
1438 c = xsocket(AF_VSOCK, sotype | SOCK_NONBLOCK, 0); in vsock_socketpair_connectible()
1569 family_name = family_str(AF_VSOCK); in test_vsock_redir()
/Linux-v6.6/tools/perf/trace/beauty/include/linux/
Dsocket.h231 #define AF_VSOCK 40 /* vSockets */ macro
288 #define PF_VSOCK AF_VSOCK
/Linux-v6.6/drivers/vhost/
DKconfig62 This kernel module can be loaded in the host kernel to provide AF_VSOCK
/Linux-v6.6/
DMAINTAINERS22969 VM SOCKETS (AF_VSOCK)