diff options
Diffstat (limited to 'man7/vsock.7')
-rw-r--r-- | man7/vsock.7 | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/man7/vsock.7 b/man7/vsock.7 index 0add12a5e..bdec279dc 100644 --- a/man7/vsock.7 +++ b/man7/vsock.7 @@ -41,24 +41,24 @@ socket(AF_VSOCK, socket_type, 0); .in .P When a process wants to establish a connection, it calls -.BR connect (2) +.MR connect 2 with a given destination socket address. The socket is automatically bound to a free port if unbound. .P A process can listen for incoming connections by first binding to a socket address using -.BR bind (2) +.MR bind 2 and then calling -.BR listen (2). +.MR listen 2 . .P Data is transmitted using the -.BR send (2) +.MR send 2 or -.BR write (2) +.MR write 2 families of system calls and data is received using the -.BR recv (2) +.MR recv 2 or -.BR read (2) +.MR read 2 families of system calls. .SS Address format A socket address is defined as a combination of a 32-bit Context Identifier @@ -96,7 +96,7 @@ The port numbers below 1024 are called Only a process with the .B CAP_NET_BIND_SERVICE capability may -.BR bind (2) +.MR bind 2 to these port numbers. .I svm_zero must be zero-filled. @@ -179,9 +179,9 @@ and other input validation errors. .TP .B ENOPROTOOPT Invalid socket option in -.BR setsockopt (2) +.MR setsockopt 2 or -.BR getsockopt (2). +.MR getsockopt 2 . .TP .B ENOTCONN Unable to perform operation on an unconnected socket. @@ -192,11 +192,11 @@ This includes: the .B MSG_OOB flag that is not implemented for the -.BR send (2) +.MR send 2 family of syscalls and .B MSG_PEEK for the -.BR recv (2) +.MR recv 2 family of syscalls. .TP .B EPROTONOSUPPORT @@ -205,7 +205,7 @@ The protocol should always be 0. .TP .B ESOCKTNOSUPPORT Unsupported socket type in -.BR socket (2). +.MR socket 2 . Only .B SOCK_STREAM and @@ -223,10 +223,10 @@ Local communication in the guest and on the host is available since Linux 5.6. Previous versions supported only local communication within a guest (not on the host), and with only some transports (VMCI and virtio). .SH SEE ALSO -.BR bind (2), -.BR connect (2), -.BR listen (2), -.BR recv (2), -.BR send (2), -.BR socket (2), -.BR capabilities (7) +.MR bind 2 , +.MR connect 2 , +.MR listen 2 , +.MR recv 2 , +.MR send 2 , +.MR socket 2 , +.MR capabilities 7 |