Debian Codegraph @

templates/man7/vsock.7.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:50+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "vsock"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-05-17"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "vsock - Linux VSOCK address family"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "SYNOPSIS"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid ""
64 "B<#include E<lt>sys/socket.hE<gt>>\n"
65 "B<#include E<lt>linux/vm_sockets.hE<gt>>\n"
66 msgstr ""
67
68 #. type: Plain text
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid ""
73 "I<stream_socket>B< = socket(AF_VSOCK, SOCK_STREAM, 0);>\n"
74 "I<datagram_socket>B< = socket(AF_VSOCK, SOCK_DGRAM, 0);>\n"
75 msgstr ""
76
77 #. type: SH
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "DESCRIPTION"
82 msgstr ""
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 msgid ""
88 "The VSOCK address family facilitates communication between virtual machines "
89 "and the host they are running on. This address family is used by guest "
90 "agents and hypervisor services that need a communications channel that is "
91 "independent of virtual machine network configuration."
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "Valid socket types are B<SOCK_STREAM> and B<SOCK_DGRAM>. B<SOCK_STREAM> "
99 "provides connection-oriented byte streams with guaranteed, in-order "
100 "delivery. B<SOCK_DGRAM> provides a connectionless datagram packet service "
101 "with best-effort delivery and best-effort ordering. Availability of these "
102 "socket types is dependent on the underlying hypervisor."
103 msgstr ""
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid "A new socket is created with"
109 msgstr ""
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "socket(AF_VSOCK, socket_type, 0);\n"
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "When a process wants to establish a connection, it calls B<connect>(2) with "
123 "a given destination socket address. The socket is automatically bound to a "
124 "free port if unbound."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid ""
131 "A process can listen for incoming connections by first binding to a socket "
132 "address using B<bind>(2) and then calling B<listen>(2)."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "Data is transmitted using the B<send>(2) or B<write>(2) families of system "
140 "calls and data is received using the B<recv>(2) or B<read>(2) families of "
141 "system calls."
142 msgstr ""
143
144 #. type: SS
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "Address format"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "A socket address is defined as a combination of a 32-bit Context Identifier "
156 "(CID) and a 32-bit port number. The CID identifies the source or "
157 "destination, which is either a virtual machine or the host. The port number "
158 "differentiates between multiple services running on a single machine."
159 msgstr ""
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid ""
166 "struct sockaddr_vm {\n"
167 " sa_family_t svm_family; /* Address family: AF_VSOCK */\n"
168 " unsigned short svm_reserved1;\n"
169 " unsigned int svm_port; /* Port # in host byte order */\n"
170 " unsigned int svm_cid; /* Address in host byte order */\n"
171 " unsigned char svm_zero[sizeof(struct sockaddr) -\n"
172 " sizeof(sa_family_t) -\n"
173 " sizeof(unsigned short) -\n"
174 " sizeof(unsigned int) -\n"
175 " sizeof(unsigned int)];\n"
176 "};\n"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "I<svm_family> is always set to B<AF_VSOCK>. I<svm_reserved1> is always set "
184 "to 0. I<svm_port> contains the port number in host byte order. The port "
185 "numbers below 1024 are called I<privileged ports>. Only a process with the "
186 "B<CAP_NET_BIND_SERVICE> capability may B<bind>(2) to these port numbers. "
187 "I<svm_zero> must be zero-filled."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "There are several special addresses: B<VMADDR_CID_ANY> (-1U) means any "
195 "address for binding; B<VMADDR_CID_HYPERVISOR> (0) is reserved for services "
196 "built into the hypervisor; B<VMADDR_CID_LOCAL> (1) is the well-known address "
197 "for local communication (loopback); B<VMADDR_CID_HOST> (2) is the well-"
198 "known address of the host."
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "The special constant B<VMADDR_PORT_ANY> (-1U) means any port number for "
206 "binding."
207 msgstr ""
208
209 #. type: SS
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "Live migration"
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "Sockets are affected by live migration of virtual machines. Connected "
221 "B<SOCK_STREAM> sockets become disconnected when the virtual machine migrates "
222 "to a new host. Applications must reconnect when this happens."
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "The local CID may change across live migration if the old CID is not "
230 "available on the new host. Bound sockets are automatically updated to the "
231 "new CID."
232 msgstr ""
233
234 #. type: SS
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "Ioctls"
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 msgid "The following ioctls are available on the I</dev/vsock> device."
245 msgstr ""
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<IOCTL_VM_SOCKETS_GET_LOCAL_CID>"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "Get the CID of the local machine. The argument is a pointer to an "
259 "I<unsigned int>."
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "ioctl(fd, IOCTL_VM_SOCKETS_GET_LOCAL_CID, &cid);\n"
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "Consider using B<VMADDR_CID_ANY> when binding instead of getting the local "
274 "CID with B<IOCTL_VM_SOCKETS_GET_LOCAL_CID>."
275 msgstr ""
276
277 #. type: SS
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "Local communication"
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "B<VMADDR_CID_LOCAL> (1) directs packets to the same host that generated "
289 "them. This is useful for testing applications on a single host and for "
290 "debugging."
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "The local CID obtained with B<IOCTL_VM_SOCKETS_GET_LOCAL_CID> can be used "
298 "for the same purpose, but it is preferable to use B<VMADDR_CID_LOCAL>."
299 msgstr ""
300
301 #. type: SH
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "ERRORS"
306 msgstr ""
307
308 #. type: TP
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "B<EACCES>"
313 msgstr ""
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "Unable to bind to a privileged port without the B<CAP_NET_BIND_SERVICE> "
320 "capability."
321 msgstr ""
322
323 #. type: TP
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "B<EADDRINUSE>"
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid "Unable to bind to a port that is already in use."
334 msgstr ""
335
336 #. type: TP
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "B<EADDRNOTAVAIL>"
341 msgstr ""
342
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid ""
347 "Unable to find a free port for binding or unable to bind to a nonlocal CID."
348 msgstr ""
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "B<EINVAL>"
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "Invalid parameters. This includes: attempting to bind a socket that is "
362 "already bound, providing an invalid struct I<sockaddr_vm>, and other input "
363 "validation errors."
364 msgstr ""
365
366 #. type: TP
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "B<ENOPROTOOPT>"
371 msgstr ""
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid "Invalid socket option in B<setsockopt>(2) or B<getsockopt>(2)."
377 msgstr ""
378
379 #. type: TP
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "B<ENOTCONN>"
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid "Unable to perform operation on an unconnected socket."
390 msgstr ""
391
392 #. type: TP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<EOPNOTSUPP>"
397 msgstr ""
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "Operation not supported. This includes: the B<MSG_OOB> flag that is not "
404 "implemented for the B<send>(2) family of syscalls and B<MSG_PEEK> for the "
405 "B<recv>(2) family of syscalls."
406 msgstr ""
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "B<EPROTONOSUPPORT>"
413 msgstr ""
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid "Invalid socket protocol number. The protocol should always be 0."
419 msgstr ""
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<ESOCKTNOSUPPORT>"
426 msgstr ""
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid ""
432 "Unsupported socket type in B<socket>(2). Only B<SOCK_STREAM> and "
433 "B<SOCK_DGRAM> are valid."
434 msgstr ""
435
436 #. type: SH
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "VERSIONS"
441 msgstr ""
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid ""
447 "Support for VMware (VMCI) has been available since Linux 3.9. KVM (virtio) "
448 "is supported since Linux 4.8. Hyper-V is supported since Linux 4.14."
449 msgstr ""
450
451 #. commit ef343b35d46667668a099655fca4a5b2e43a5dfe
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "B<VMADDR_CID_LOCAL> is supported since Linux 5.6. Local communication in "
457 "the guest and on the host is available since Linux 5.6. Previous versions "
458 "supported only local communication within a guest (not on the host), and "
459 "with only some transports (VMCI and virtio)."
460 msgstr ""
461
462 #. type: SH
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid "SEE ALSO"
467 msgstr ""
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid ""
473 "B<bind>(2), B<connect>(2), B<listen>(2), B<recv>(2), B<send>(2), "
474 "B<socket>(2), B<capabilities>(7)"
475 msgstr ""
476
477 #. type: TH
478 #: debian-trixie fedora-44 fedora-rawhide
479 #, no-wrap
480 msgid "2024-05-02"
481 msgstr ""
482
483 #. type: TH
484 #: debian-trixie
485 #, no-wrap
486 msgid "Linux man-pages 6.9.1"
487 msgstr ""
488
489 #. type: TH
490 #: fedora-44 fedora-rawhide
491 #, no-wrap
492 msgid "Linux man-pages 6.13"
493 msgstr ""
494
495 #. type: TH
496 #: mageia-cauldron
497 #, no-wrap
498 msgid "Linux man-pages 6.17"
499 msgstr ""
500
501 #. type: TH
502 #: opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "Linux man-pages (unreleased)"
505 msgstr ""