Debian Codegraph @

po/pt_BR/man7/socket.7.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Rubens de Jesus Nogueira <[email protected]>, 2000.
5 # André Luiz Fassone <[email protected]>, 2000.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
10 "PO-Revision-Date: 2000-05-31 17:26+0200\n"
11 "Last-Translator: André Luiz Fassone <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Lokalize 20.04.1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "socket"
26 msgstr "socket"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 fevereiro 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOME"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "socket - Linux socket interface"
53 msgstr "socket - interface Linux para 'socket'"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "SYNOPSIS"
60 msgstr "SINOPSE"
61
62 #. type: Plain text
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
67 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
68
69 #. type: Plain text
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, fuzzy, no-wrap
73 #| msgid "I<sockfd>B< = socket(int >I<socket_family>B<, int >I<socket_type>B<, int >I<protocol>B<);>"
74 msgid "I<sockfd>B< = socket(int >I<socket_family>B<, int >I<socket_type>B<, int >I<protocol>B<);>\n"
75 msgstr "I<sockfd>B< = socket(int >I<socket_family>B<, int >I<socket_type>B<, int >I<protocol>B<);>"
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 "DESCRIÇÃO"
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 "This manual page describes the Linux networking socket layer user "
89 "interface. The BSD compatible sockets are the uniform interface between the "
90 "user process and the network protocol stacks in the kernel. The protocol "
91 "modules are grouped into I<protocol families> such as B<AF_INET>, B<AF_IPX>, "
92 "and B<AF_PACKET>, and I<socket types> such as B<SOCK_STREAM> or "
93 "B<SOCK_DGRAM>. See B<socket>(2) for more information on families and types."
94 msgstr ""
95 "Esta página do manual descreve a interface de usuário para a camada de "
96 "'socket' de rede Linux. Os 'sockets' compatíveis com BSD são uma interface "
97 "uniforme entre o processo do usuário e as pilhas de protocolo de rede no "
98 "kernel. Os módulos de protocolo estão agrupados em I<famílias de protocolos> "
99 "como B<AF_INET>, B<AF_IPX>, B<AF_PACKET> e I<tipos de 'socket'> como "
100 "B<SOCK_STREAM> ou B<SOCK_DGRAM>. Veja B<socket>(2) para mais informações "
101 "sobre famílias e tipos."
102
103 #. type: SS
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, no-wrap
107 msgid "Socket-layer functions"
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, fuzzy
114 #| msgid ""
115 #| "These functions are used by the user process to send or receive packets "
116 #| "and to do other socket operations. For more information see their "
117 #| "respective manual pages."
118 msgid ""
119 "These functions are used by the user process to send or receive packets and "
120 "to do other socket operations. For more information, see their respective "
121 "manual pages."
122 msgstr ""
123 "Estas funções são usadas pelo processo do usuário para enviar ou receber "
124 "pacotes, e realizar outras operações de 'socket'. Para mais informações, "
125 "veja as respectivas páginas de manual."
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 "B<socket>(2) creates a socket, B<connect>(2) connects a socket to a remote "
132 "socket address, the B<bind>(2) function binds a socket to a local socket "
133 "address, B<listen>(2) tells the socket that new connections shall be "
134 "accepted, and B<accept>(2) is used to get a new socket with a new incoming "
135 "connection. B<socketpair>(2) returns two connected anonymous sockets "
136 "(implemented only for a few local families like B<AF_UNIX>)"
137 msgstr ""
138 "B<socket>(2) cria um 'socket', B<connect>(2) conecta um 'socket' a um "
139 "endereço de 'socket' remoto, a função B<bind>(2) liga um 'socket' a um "
140 "endereço de 'socket' local, B<listen>(2) diz ao 'socket' que novas conexões "
141 "serão aceitas, e B<accept>(2) é usado para obter um novo 'socket' com uma "
142 "nova conexão de entrada. B<socketpair>(2) retorna dois 'sockets' anônimos "
143 "conectados (somente implementados para algumas famílias locais, como "
144 "B<AF_UNIX>)"
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid ""
150 "B<send>(2), B<sendto>(2), and B<sendmsg>(2) send data over a socket, and "
151 "B<recv>(2), B<recvfrom>(2), B<recvmsg>(2) receive data from a socket. "
152 "B<poll>(2) and B<select>(2) wait for arriving data or a readiness to send "
153 "data. In addition, the standard I/O operations like B<write>(2), "
154 "B<writev>(2), B<sendfile>(2), B<read>(2), and B<readv>(2) can be used to "
155 "read and write data."
156 msgstr ""
157 "B<send>(2), B<sendto>(2), e B<sendmsg>(2) enviam dados através de um "
158 "'socket', e B<recv>(2), B<recvfrom>(2), B<recvmsg>(2) recebem dados de um "
159 "'socket'. B<poll>(2) e B<select>(2) aguardam por dados que chegam ou um "
160 "estado de prontidão para enviar dados. Além disso, as operações padrão de I/"
161 "O como B<write>(2), B<writev>(2), B<sendfile>(2), B<read>(2) e B<readv>(2) "
162 "podem ser usados para ler e escrever dados."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "B<getsockname>(2) returns the local socket address and B<getpeername>(2) "
169 "returns the remote socket address. B<getsockopt>(2) and B<setsockopt>(2) "
170 "are used to set or get socket layer or protocol options. B<ioctl>(2) can "
171 "be used to set or read some other options."
172 msgstr ""
173 "B<getsockname>(2) retorna o endereço local do 'socket' e B<getpeername>(2) "
174 "retorna o endereço remoto do 'socket'. B<getsockopt>(2) e B<setsockopt>(2) "
175 "são usados para setar ou obter opções da camada de 'socket' ou do protocolo. "
176 "B<ioctl>(2) pode ser usado para setar ou ler algumas outras opções."
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "B<close>(2) is used to close a socket. B<shutdown>(2) closes parts of a "
183 "full-duplex socket connection."
184 msgstr ""
185 "B<close>(2) é usado para encerrar um 'socket'. B<shutdown>(2) encerra partes "
186 "de uma conexão de 'socket full duplex'."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "Seeking, or calling B<pread>(2) or B<pwrite>(2) with a nonzero position is "
193 "not supported on sockets."
194 msgstr ""
195 "A busca ou a chamada de B<pread>(2) ou B<pwrite>(2) com uma posição "
196 "diferente de zero não são suportados em 'sockets'."
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "It is possible to do nonblocking I/O on sockets by setting the B<O_NONBLOCK> "
203 "flag on a socket file descriptor using B<fcntl>(2). Then all operations "
204 "that would block will (usually) return with B<EAGAIN> (operation should be "
205 "retried later); B<connect>(2) will return B<EINPROGRESS> error. The user "
206 "can then wait for various events via B<poll>(2) or B<select>(2)."
207 msgstr ""
208 "É possível fazer E/S não-bloqueáveis em 'sockets' configurando-se o "
209 "sinalizador B<O_NONBLOCK> em um descritor de arquivo de 'socket', usando "
210 "B<fcntl>(2). Então todas as operações que normalmente bloqueariam "
211 "(geralmente) retornarão com B<EAGAIN> (operação que deve ser retirada mais "
212 "tarde); B<connect>(2) retorna um erro do tipo B<EINPROGRESS> neste caso. O "
213 "usuário pode então esperar por vários eventos, via B<poll>(2) ou "
214 "B<select>(2)."
215
216 #. type: tbl table
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "I/O events"
221 msgstr "Eventos de E/S"
222
223 #. type: tbl table
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "Event"
228 msgstr "Evento"
229
230 #. type: tbl table
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "Poll flag"
235 msgstr "Lista de sinais"
236
237 #. type: tbl table
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Occurrence"
242 msgstr "Ocorrência"
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "Read"
249 msgstr "Read"
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "POLLIN"
256 msgstr "POLLIN"
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "New data arrived."
263 msgstr "Novo dado chegou."
264
265 #. type: tbl table
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid ""
270 "A connection setup has been completed\n"
271 "(for connection-oriented sockets)"
272 msgstr "Uma configuração de conexão foi completada (para 'sockets' orientados à conexão)"
273
274 #. type: tbl table
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "POLLHUP"
279 msgstr "POLLHUP"
280
281 #. type: tbl table
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "A disconnection request has been initiated by the other end."
286 msgstr "Um pedido de desconexão foi iniciado pelo outro extremo."
287
288 #. type: tbl table
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, fuzzy, no-wrap
292 #| msgid ""
293 #| "A connection is broken (only for connection-oriented protocols). \n"
294 #| "When the socket is written\n"
295 #| "B<SIGPIPE>\n"
296 #| "is also sent."
297 msgid ""
298 "A connection is broken (only for connection-oriented protocols).\n"
299 "When the socket is written\n"
300 "B<SIGPIPE>\n"
301 "is also sent."
302 msgstr "Uma conexão foi quebrada (somente para protocolos orientados à conexão). Quando o 'socket' é escrito, B<SIGPIPE> é enviado também."
303
304 #. type: tbl table
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "Write"
309 msgstr "Write"
310
311 #. type: tbl table
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "POLLOUT"
316 msgstr "POLLOUT"
317
318 #. type: tbl table
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "Socket has enough send buffer space for writing new data."
323 msgstr "O 'socket' tem espaço de 'buffer' suficiente para escrever novos dados."
324
325 #. type: tbl table
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "Read/Write"
330 msgstr "Read/Write"
331
332 #. type: tbl table
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "POLLIN |\n"
337 msgstr "POLLIN |\n"
338
339 #. type: tbl table
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid ".br\n"
344 msgstr ".br\n"
345
346 #. type: tbl table
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid ""
351 "An outgoing\n"
352 "B<connect>(2)\n"
353 "finished."
354 msgstr ""
355 "Um\n"
356 "B<connect>(2)\n"
357 "externo terminou."
358
359 #. type: tbl table
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "POLLERR"
364 msgstr "POLLERR"
365
366 #. type: tbl table
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "An asynchronous error occurred."
371 msgstr "Ocorreu um erro assíncrono."
372
373 #. type: tbl table
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 #, no-wrap
377 msgid "The other end has shut down one direction."
378 msgstr "O outro extremo desligou uma direção."
379
380 #. type: tbl table
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "Exception"
385 msgstr "Exception"
386
387 #. type: tbl table
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "POLLPRI"
392 msgstr "POLLPRI"
393
394 #. type: tbl table
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid ""
399 "Urgent data arrived.\n"
400 "B<SIGURG>\n"
401 "is sent then."
402 msgstr ""
403 "Dado urgente chegou.\n"
404 "B<SIGURG>\n"
405 "é enviado, então."
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 msgid ""
411 "An alternative to B<poll>(2) and B<select>(2) is to let the kernel inform "
412 "the application about events via a B<SIGIO> signal. For that the B<O_ASYNC> "
413 "flag must be set on a socket file descriptor via B<fcntl>(2) and a valid "
414 "signal handler for B<SIGIO> must be installed via B<sigaction>(2). See the "
415 "I<Signals> discussion below."
416 msgstr ""
417 "Uma alternativa para B<poll>(2) e B<select> é deixar o kernel informar o "
418 "aplicativo sobre eventos através do sinal B<SIGIO>. Para isso, o sinalizador "
419 "B<O_ASYNC> deve ser configurado em um descritor de arquivo de 'socket' "
420 "através B<fcntl>(2), e um manipulador de sinal válido para B<SIGIO> deve ser "
421 "instalado via B<sigaction>(2). Veja a discussão de I<SINAIS> abaixo."
422
423 #. type: SS
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "Socket address structures"
428 msgstr ""
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid ""
434 "Each socket domain has its own format for socket addresses, with a domain-"
435 "specific address structure. Each of these structures begins with an integer "
436 "\"family\" field (typed as I<sa_family_t>) that indicates the type of the "
437 "address structure. This allows the various system calls (e.g., "
438 "B<connect>(2), B<bind>(2), B<accept>(2), B<getsockname>(2), "
439 "B<getpeername>(2)), which are generic to all socket domains, to determine "
440 "the domain of a particular socket address."
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 "To allow any type of socket address to be passed to interfaces in the "
448 "sockets API, the type I<struct sockaddr> is defined. The purpose of this "
449 "type is purely to allow casting of domain-specific socket address types to a "
450 "\"generic\" type, so as to avoid compiler warnings about type mismatches in "
451 "calls to the sockets API."
452 msgstr ""
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "In addition, the sockets API provides the data type I<struct "
459 "sockaddr_storage>. This type is suitable to accommodate all supported "
460 "domain-specific socket address structures; it is large enough and is aligned "
461 "properly. (In particular, it is large enough to hold IPv6 socket "
462 "addresses.) The structure includes the following field, which can be used "
463 "to identify the type of socket address actually stored in the structure:"
464 msgstr ""
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid " sa_family_t ss_family;\n"
471 msgstr " sa_family_t ss_family;\n"
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "The I<sockaddr_storage> structure is useful in programs that must handle "
478 "socket addresses in a generic way (e.g., programs that must deal with both "
479 "IPv4 and IPv6 socket addresses)."
480 msgstr ""
481
482 #. type: SS
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "Socket options"
487 msgstr "Opções de socket"
488
489 #. FIXME .
490 #. In the list below, the text used to describe argument types
491 #. for each socket option should be more consistent
492 #. SO_ACCEPTCONN is in POSIX.1-2001, and its origin is explained in
493 #. W R Stevens, UNPv1
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 #, fuzzy
498 #| msgid ""
499 #| "These socket options can be set by using B<setsockopt>(2) and read with "
500 #| "B<getsockopt>(2) with the socket level set to B<SOL_SOCKET> for all "
501 #| "sockets:"
502 msgid ""
503 "The socket options listed below can be set by using B<setsockopt>(2) and "
504 "read with B<getsockopt>(2) with the socket level set to B<SOL_SOCKET> for "
505 "all sockets. Unless otherwise noted, I<optval> is a pointer to an I<int>."
506 msgstr ""
507 "Estas opções de 'socket' podem ser configuradas pelo uso de "
508 "B<setsockopt>(2), e lidas com B<getsockopt>(2), com o nível de 'socket' "
509 "selecionado em B<SOL_SOCKET> para todos os 'sockets':"
510
511 #. type: TP
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid "B<SO_ACCEPTCONN>"
516 msgstr "B<SO_ACCEPTCONN>"
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid ""
522 "Returns a value indicating whether or not this socket has been marked to "
523 "accept connections with B<listen>(2). The value 0 indicates that this is "
524 "not a listening socket, the value 1 indicates that this is a listening "
525 "socket. This socket option is read-only."
526 msgstr ""
527
528 #. type: TP
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "B<SO_ATTACH_FILTER> (since Linux 2.2)"
533 msgstr ""
534
535 #. type: TQ
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 #, no-wrap
539 msgid "B<SO_ATTACH_BPF> (since Linux 3.19)"
540 msgstr ""
541
542 #. type: Plain text
543 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
544 #: opensuse-leap-16-1 opensuse-tumbleweed
545 msgid ""
546 "Attach a classic BPF (B<SO_ATTACH_FILTER>) or an extended BPF "
547 "(B<SO_ATTACH_BPF>) program to the socket for use as a filter of incoming "
548 "packets. A packet will be dropped if the filter program returns zero. If "
549 "the filter program returns a nonzero value which is less than the packet's "
550 "data size, the packet will be truncated to the size returned. If the value "
551 "returned by the filter is greater than or equal to the packet's data size, "
552 "the packet is allowed to proceed unmodified."
553 msgstr ""
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid ""
559 "The argument for B<SO_ATTACH_FILTER> is a I<sock_fprog> structure, defined "
560 "in I<E<lt>linux/filter.hE<gt>>:"
561 msgstr ""
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 #, no-wrap
567 msgid ""
568 "struct sock_fprog {\n"
569 " unsigned short len;\n"
570 " struct sock_filter *filter;\n"
571 "};\n"
572 msgstr ""
573 "struct sock_fprog {\n"
574 " unsigned short len;\n"
575 " struct sock_filter *filter;\n"
576 "};\n"
577
578 #. type: Plain text
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 msgid ""
582 "The argument for B<SO_ATTACH_BPF> is a file descriptor returned by the "
583 "B<bpf>(2) system call and must refer to a program of type "
584 "B<BPF_PROG_TYPE_SOCKET_FILTER>."
585 msgstr ""
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 msgid ""
591 "These options may be set multiple times for a given socket, each time "
592 "replacing the previous filter program. The classic and extended versions "
593 "may be called on the same socket, but the previous filter will always be "
594 "replaced such that a socket never has more than one filter defined."
595 msgstr ""
596
597 #. type: Plain text
598 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
599 #: opensuse-tumbleweed
600 msgid ""
601 "Both classic and extended BPF are explained in the kernel source file "
602 "I<Documentation/networking/filter.rst>"
603 msgstr ""
604
605 #. type: TP
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, fuzzy, no-wrap
609 #| msgid "B<SO_ATTACH_REUSEPORT_CBPF>, B<SO_ATTACH_REUSEPORT_EBPF>"
610 msgid "B<SO_ATTACH_REUSEPORT_CBPF>"
611 msgstr "B<SO_ATTACH_REUSEPORT_CBPF>, B<SO_ATTACH_REUSEPORT_EBPF>"
612
613 #. type: TQ
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 #, fuzzy, no-wrap
617 #| msgid "B<SO_ATTACH_REUSEPORT_CBPF>, B<SO_ATTACH_REUSEPORT_EBPF>"
618 msgid "B<SO_ATTACH_REUSEPORT_EBPF>"
619 msgstr "B<SO_ATTACH_REUSEPORT_CBPF>, B<SO_ATTACH_REUSEPORT_EBPF>"
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid ""
625 "For use with the B<SO_REUSEPORT> option, these options allow the user to set "
626 "a classic BPF (B<SO_ATTACH_REUSEPORT_CBPF>) or an extended BPF "
627 "(B<SO_ATTACH_REUSEPORT_EBPF>) program which defines how packets are "
628 "assigned to the sockets in the reuseport group (that is, all sockets which "
629 "have B<SO_REUSEPORT> set and are using the same local address to receive "
630 "packets)."
631 msgstr ""
632
633 #. type: Plain text
634 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
635 #: opensuse-tumbleweed
636 msgid ""
637 "The classic BPF program must return an index between 0 and N-1 representing "
638 "the socket which should receive the packet (where N is the number of sockets "
639 "in the group). If the BPF program returns an invalid index, socket "
640 "selection will fall back to the plain B<SO_REUSEPORT> mechanism."
641 msgstr ""
642
643 #. type: Plain text
644 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
645 #: opensuse-tumbleweed
646 msgid ""
647 "Sockets are numbered in the order in which they are added to the group (that "
648 "is, the order of B<bind>(2) calls for UDP sockets or the order of "
649 "B<listen>(2) calls for TCP sockets)."
650 msgstr ""
651
652 #. type: Plain text
653 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
654 #: opensuse-tumbleweed
655 msgid "The extended BPF program can be of two types:"
656 msgstr ""
657
658 #. type: TP
659 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
660 #: opensuse-tumbleweed
661 #, fuzzy, no-wrap
662 #| msgid "B<SO_LOCK_FILTER>"
663 msgid "B<BPF_PROG_TYPE_SOCKET_FILTER>"
664 msgstr "B<SO_LOCK_FILTER>"
665
666 #. type: Plain text
667 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
668 #: opensuse-tumbleweed
669 msgid ""
670 "In this case, the extended BPF program must return an index between 0 and "
671 "N-1, like a classic BPF program."
672 msgstr ""
673
674 #. type: TP
675 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
676 #: opensuse-tumbleweed
677 #, no-wrap
678 msgid "B<BPF_PROG_TYPE_SK_REUSEPORT> (since Linux 4.19)"
679 msgstr ""
680
681 #. type: Plain text
682 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
683 #: opensuse-tumbleweed
684 msgid ""
685 "In this case, it must return an action (B<SK_PASS> or B<SK_DROP>) and the "
686 "B<bpf_sk_select_reuseport> helper can be used to select the socket which "
687 "should receive the packet."
688 msgstr ""
689
690 #. type: Plain text
691 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
692 #: opensuse-tumbleweed
693 msgid ""
694 "New sockets added to a reuseport group will inherit the BPF program. When a "
695 "socket is removed from a reuseport group (via B<close>(2)), the last socket "
696 "in the group will be moved into the closed socket's position."
697 msgstr ""
698
699 #. type: Plain text
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 msgid ""
703 "These options may be set repeatedly at any time on any socket in the group "
704 "to replace the current BPF program used by all sockets in the group."
705 msgstr ""
706
707 #. type: Plain text
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 msgid ""
711 "B<SO_ATTACH_REUSEPORT_CBPF> takes the same argument type as "
712 "B<SO_ATTACH_FILTER> and B<SO_ATTACH_REUSEPORT_EBPF> takes the same argument "
713 "type as B<SO_ATTACH_BPF>."
714 msgstr ""
715
716 #. type: Plain text
717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
719 msgid ""
720 "UDP support for this feature is available since Linux 4.5; TCP support is "
721 "available since Linux 4.6."
722 msgstr ""
723
724 #. type: TP
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 #, no-wrap
728 msgid "B<SO_BINDTODEVICE>"
729 msgstr "B<SO_BINDTODEVICE>"
730
731 #. type: Plain text
732 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
733 #: opensuse-leap-16-1 opensuse-tumbleweed
734 #, fuzzy
735 #| msgid ""
736 #| "Bind this socket to a particular device like \\(lqeth0\\(rq, as specified "
737 #| "in the passed interface name. If the name is an empty string or the "
738 #| "option length is zero, the socket device binding is removed. The passed "
739 #| "option is a variable-length null-terminated interface name string with "
740 #| "the maximum size of B<IFNAMSIZ>. If a socket is bound to an interface, "
741 #| "only packets received from that particular interface are processed by the "
742 #| "socket. Note that this works only for some socket types, particularly "
743 #| "B<AF_INET> sockets. It is not supported for packet sockets (use normal "
744 #| "B<bind>(2) there)."
745 msgid ""
746 "Bind this socket to a particular device like \\[lq]eth0\\[rq], as specified "
747 "in the passed interface name. If the name is an empty string or the option "
748 "size is zero, the socket device binding is removed. The passed option is a "
749 "variable-size null-terminated interface name string with the maximum size of "
750 "B<IFNAMSIZ>. If a socket is bound to an interface, only packets received "
751 "from that particular interface are processed by the socket. Note that this "
752 "works only for some socket types, particularly B<AF_INET> sockets. It is "
753 "not supported for packet sockets (use normal B<bind>(2) there)."
754 msgstr ""
755 "Liga este 'socket' a um dispositivo particular, como \\(lqeth0\\(rq, como "
756 "especificado no nome de interface passado. Se o nome é uma cadeia de "
757 "caracteres vazia, ou se o comprimento da opção é zero, a ligação do "
758 "dispositivo do 'socket' é removido. A opção passada é uma cadeia de nomes de "
759 "interface com comprimento variável e terminada em caractere nulo, com "
760 "comprimento máximo de B<IFNAMSIZ>. Se um 'socket' é ligado a uma interface, "
761 "somente os pacotes recebidos daquela interface particular serão processados "
762 "pelo 'socket'. Note que isto somente trabalha para alguns tipos de "
763 "'sockets', particularmente nos B<AF_INET>. Não é suportado para pacotes de "
764 "'sockets' (uso normal para o B<bind>(2))."
765
766 #. type: Plain text
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 msgid ""
770 "Before Linux 3.8, this socket option could be set, but could not retrieved "
771 "with B<getsockopt>(2). Since Linux 3.8, it is readable. The I<optlen> "
772 "argument should contain the buffer size available to receive the device name "
773 "and is recommended to be B<IFNAMSIZ> bytes. The real device name length is "
774 "reported back in the I<optlen> argument."
775 msgstr ""
776
777 #. type: TP
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 #, no-wrap
781 msgid "B<SO_BROADCAST>"
782 msgstr "B<SO_BROADCAST>"
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 #, fuzzy
788 #| msgid ""
789 #| "Set or get the broadcast flag. When enabled, datagram sockets receive "
790 #| "packets sent to a broadcast address and they are allowed to send packets "
791 #| "to a broadcast address. This option has no effect on stream-oriented "
792 #| "sockets."
793 msgid ""
794 "Set or get the broadcast flag. When enabled, datagram sockets are allowed "
795 "to send packets to a broadcast address. This option has no effect on stream-"
796 "oriented sockets."
797 msgstr ""
798 "Seleciona ou obtém o sinalizador de broadcast. Quando habilitado, os "
799 "'sockets' de datagrama recebem pacotes enviados para um endereço de "
800 "broadcast, e eles têm permissão para enviar pacotes a um endereço de "
801 "broadcast. Esta opção não faz efeito em 'sockets' orientados à fluxo."
802
803 #. type: TP
804 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
805 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
806 #, no-wrap
807 msgid "B<SO_BSDCOMPAT>"
808 msgstr "B<SO_BSDCOMPAT>"
809
810 #. type: Plain text
811 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
812 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
813 #, fuzzy
814 #| msgid ""
815 #| "Enable BSD bug-to-bug compatibility. This is used only by the UDP "
816 #| "protocol module and scheduled to be removed in future. If enabled ICMP "
817 #| "errors received for a UDP socket will not be passed to the user program. "
818 #| "Linux 2.0 also enabled BSD bug-to-bug compatibility options (random "
819 #| "header changing, skipping of the broadcast flag) for raw sockets with "
820 #| "this option, but that has been removed in Linux 2.2. It is better to fix "
821 #| "the user programs than to enable this flag."
822 msgid ""
823 "Enable BSD bug-to-bug compatibility. This is used by the UDP protocol "
824 "module in Linux 2.0 and 2.2. If enabled, ICMP errors received for a UDP "
825 "socket will not be passed to the user program. In later kernel versions, "
826 "support for this option has been phased out: Linux 2.4 silently ignores it, "
827 "and Linux 2.6 generates a kernel warning (printk()) if a program uses this "
828 "option. Linux 2.0 also enabled BSD bug-to-bug compatibility options (random "
829 "header changing, skipping of the broadcast flag) for raw sockets with this "
830 "option, but that was removed in Linux 2.2."
831 msgstr ""
832 "Habilita a compatibilidade BSD bug-a-bug. Isto é usado apenas no módulo do "
833 "protocolo UDP e agendado para ser removido no futuro. Se habilitado erros de "
834 "ICMP recebidos de um 'socket' UDP não serão passados para o programa do "
835 "usuário. O Linux 2.0 também habilita opções de compatibilidade BSD bug-a-bug "
836 "(mudança aleatória de cabeçalhos, salto do sinalizador de broadcast) para "
837 "'sockets' diretos com estas opções, mas isso foi removido no Linux 2.2. É "
838 "melhor corrigir os programas do usuário do que habilitar este sinalizador."
839
840 #. type: TP
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 #, no-wrap
844 msgid "B<SO_DEBUG>"
845 msgstr "B<SO_DEBUG>"
846
847 #. type: Plain text
848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
849 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
850 msgid ""
851 "Enable socket debugging. Allowed only for processes with the "
852 "B<CAP_NET_ADMIN> capability or an effective user ID of 0."
853 msgstr ""
854 "Habilita o debugging do 'socket'. Somente permitido para processos com a "
855 "habilidade B<CAP_NET_ADMIN> ou com a ID efetiva de usuário igual a 0."
856
857 #. type: TP
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 #, no-wrap
861 msgid "B<SO_DETACH_FILTER> (since Linux 2.2)"
862 msgstr ""
863
864 #. type: TQ
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 #, no-wrap
868 msgid "B<SO_DETACH_BPF> (since Linux 3.19)"
869 msgstr ""
870
871 #. type: Plain text
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 msgid ""
875 "These two options, which are synonyms, may be used to remove the classic or "
876 "extended BPF program attached to a socket with either B<SO_ATTACH_FILTER> or "
877 "B<SO_ATTACH_BPF>. The option value is ignored."
878 msgstr ""
879
880 #. type: TP
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 #, no-wrap
884 msgid "B<SO_DOMAIN> (since Linux 2.6.32)"
885 msgstr ""
886
887 #. type: Plain text
888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
889 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
890 msgid ""
891 "Retrieves the socket domain as an integer, returning a value such as "
892 "B<AF_INET6>. See B<socket>(2) for details. This socket option is read-"
893 "only."
894 msgstr ""
895
896 #. type: TP
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 #, no-wrap
900 msgid "B<SO_ERROR>"
901 msgstr "B<SO_ERROR>"
902
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 #, fuzzy
907 #| msgid ""
908 #| "Get and clear the pending socket error. Only valid as a B<getsockopt>. "
909 #| "Expects an integer."
910 msgid ""
911 "Get and clear the pending socket error. This socket option is read-only. "
912 "Expects an integer."
913 msgstr ""
914 "Obtém e limpa erros de 'socket' pendentes. Somente válido como um "
915 "B<getsockopt>. Espera um inteiro."
916
917 #. type: TP
918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
920 #, no-wrap
921 msgid "B<SO_DONTROUTE>"
922 msgstr "B<SO_DONTROUTE>"
923
924 #. type: Plain text
925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
927 msgid ""
928 "Don't send via a gateway, send only to directly connected hosts. The same "
929 "effect can be achieved by setting the B<MSG_DONTROUTE> flag on a socket "
930 "B<send>(2) operation. Expects an integer boolean flag."
931 msgstr ""
932 "Não envia através de um gateway, somente envia a 'hosts' conectados "
933 "diretamente. O mesmo efeito pode ser atingido pela configuração do "
934 "sinalizador B<MSG_DONTROUTE> sobre uma operação de 'socket' B<send>(2). "
935 "Espera um sinalizador booleano inteiro."
936
937 #. type: TP
938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
940 #, no-wrap
941 msgid "B<SO_INCOMING_CPU> (gettable since Linux 3.19, settable since Linux 4.4)"
942 msgstr ""
943
944 #. getsockopt 2c8c56e15df3d4c2af3d656e44feb18789f75837
945 #. setsockopt 70da268b569d32a9fddeea85dc18043de9d89f89
946 #. type: Plain text
947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
949 msgid "Sets or gets the CPU affinity of a socket. Expects an integer flag."
950 msgstr ""
951
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 #, fuzzy, no-wrap
956 #| msgid ""
957 #| "int cpu = 1;\n"
958 #| "setsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu, sizeof(cpu));\n"
959 msgid ""
960 "int cpu = 1;\n"
961 "setsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu,\n"
962 " sizeof(cpu));\n"
963 msgstr ""
964 "int cpu = 1;\n"
965 "setsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu, sizeof(cpu));\n"
966
967 #
968 #
969 #
970 #. #-#-#-#-# archlinux: socket.7.pot (PACKAGE VERSION) #-#-#-#-#
971 #. From an email conversation with Eric Dumazet:
972 #. >> Note that setting the option is not supported if SO_REUSEPORT is used.
973 #. >
974 #. > Please define "not supported". Does this yield an API diagnostic?
975 #. > If so, what is it?
976 #. >
977 #. >> Socket will be selected from an array, either by a hash or BPF program
978 #. >> that has no access to this information.
979 #. >
980 #. > Sorry -- I'm lost here. How does this comment relate to the proposed
981 #. > man page text above?
982 #. Simply that :
983 #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then
984 #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores
985 #. SO_INCOMING_CPU setting.
986 #. type: Plain text
987 #. #-#-#-#-# debian-trixie: socket.7.pot (PACKAGE VERSION) #-#-#-#-#
988 #. From an email conversation with Eric Dumazet:
989 #. >> Note that setting the option is not supported if SO_REUSEPORT is used.
990 #. >
991 #. > Please define "not supported". Does this yield an API diagnostic?
992 #. > If so, what is it?
993 #. >
994 #. >> Socket will be selected from an array, either by a hash or BPF program
995 #. >> that has no access to this information.
996 #. >
997 #. > Sorry -- I'm lost here. How does this comment relate to the proposed
998 #. > man page text above?
999 #. Simply that :
1000 #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then
1001 #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores
1002 #. SO_INCOMING_CPU setting.
1003 #. type: Plain text
1004 #. #-#-#-#-# debian-unstable: socket.7.pot (PACKAGE VERSION) #-#-#-#-#
1005 #. From an email conversation with Eric Dumazet:
1006 #. >> Note that setting the option is not supported if SO_REUSEPORT is used.
1007 #. >
1008 #. > Please define "not supported". Does this yield an API diagnostic?
1009 #. > If so, what is it?
1010 #. >
1011 #. >> Socket will be selected from an array, either by a hash or BPF program
1012 #. >> that has no access to this information.
1013 #. >
1014 #. > Sorry -- I'm lost here. How does this comment relate to the proposed
1015 #. > man page text above?
1016 #. Simply that :
1017 #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then
1018 #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores
1019 #. SO_INCOMING_CPU setting.
1020 #. type: Plain text
1021 #. #-#-#-#-# fedora-44: socket.7.pot (PACKAGE VERSION) #-#-#-#-#
1022 #. From an email conversation with Eric Dumazet:
1023 #. >> Note that setting the option is not supported if SO_REUSEPORT is used.
1024 #. >
1025 #. > Please define "not supported". Does this yield an API diagnostic?
1026 #. > If so, what is it?
1027 #. >
1028 #. >> Socket will be selected from an array, either by a hash or BPF program
1029 #. >> that has no access to this information.
1030 #. >
1031 #. > Sorry -- I'm lost here. How does this comment relate to the proposed
1032 #. > man page text above?
1033 #. Simply that :
1034 #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then
1035 #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores
1036 #. SO_INCOMING_CPU setting.
1037 #. type: Plain text
1038 #. #-#-#-#-# fedora-rawhide: socket.7.pot (PACKAGE VERSION) #-#-#-#-#
1039 #. From an email conversation with Eric Dumazet:
1040 #. >> Note that setting the option is not supported if SO_REUSEPORT is used.
1041 #. >
1042 #. > Please define "not supported". Does this yield an API diagnostic?
1043 #. > If so, what is it?
1044 #. >
1045 #. >> Socket will be selected from an array, either by a hash or BPF program
1046 #. >> that has no access to this information.
1047 #. >
1048 #. > Sorry -- I'm lost here. How does this comment relate to the proposed
1049 #. > man page text above?
1050 #. Simply that :
1051 #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then
1052 #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores
1053 #. SO_INCOMING_CPU setting.
1054 #. type: Plain text
1055 #. #-#-#-#-# mageia-cauldron: socket.7.pot (PACKAGE VERSION) #-#-#-#-#
1056 #. From an email conversation with Eric Dumazet:
1057 #. >> Note that setting the option is not supported if SO_REUSEPORT is used.
1058 #. >
1059 #. > Please define "not supported". Does this yield an API diagnostic?
1060 #. > If so, what is it?
1061 #. >
1062 #. >> Socket will be selected from an array, either by a hash or BPF program
1063 #. >> that has no access to this information.
1064 #. >
1065 #. > Sorry -- I'm lost here. How does this comment relate to the proposed
1066 #. > man page text above?
1067 #. Simply that :
1068 #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then
1069 #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores
1070 #. SO_INCOMING_CPU setting.
1071 #. type: Plain text
1072 #. #-#-#-#-# opensuse-leap-16-1: socket.7.pot (PACKAGE VERSION) #-#-#-#-#
1073 #. From an email conversation with Eric Dumazet:
1074 #. >> Note that setting the option is not supported if SO_REUSEPORT is used.
1075 #. >
1076 #. > Please define "not supported". Does this yield an API diagnostic?
1077 #. > If so, what is it?
1078 #. >
1079 #. >> Socket will be selected from an array, either by a hash or BPF program
1080 #. >> that has no access to this information.
1081 #. >
1082 #. > Sorry -- I'm lost here. How does this comment relate to the proposed
1083 #. > man page text above?
1084 #. Simply that :
1085 #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then
1086 #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores
1087 #. SO_INCOMING_CPU setting.
1088 #. type: Plain text
1089 #. #-#-#-#-# opensuse-tumbleweed: socket.7.pot (PACKAGE VERSION) #-#-#-#-#
1090 #. From an email conversation with Eric Dumazet:
1091 #. >> Note that setting the option is not supported if SO_REUSEPORT is used.
1092 #. >
1093 #. > Please define "not supported". Does this yield an API diagnostic?
1094 #. > If so, what is it?
1095 #. >
1096 #. >> Socket will be selected from an array, either by a hash or BPF program
1097 #. >> that has no access to this information.
1098 #. >
1099 #. > Sorry -- I'm lost here. How does this comment relate to the proposed
1100 #. > man page text above?
1101 #. Simply that :
1102 #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then
1103 #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores
1104 #. SO_INCOMING_CPU setting.
1105 #. type: Plain text
1106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1108 msgid ""
1109 "Because all of the packets for a single stream (i.e., all packets for the "
1110 "same 4-tuple) arrive on the single RX queue that is associated with a "
1111 "particular CPU, the typical use case is to employ one listening process per "
1112 "RX queue, with the incoming flow being handled by a listener on the same CPU "
1113 "that is handling the RX queue. This provides optimal NUMA behavior and "
1114 "keeps CPU caches hot."
1115 msgstr ""
1116
1117 #. type: TP
1118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1120 #, no-wrap
1121 msgid "B<SO_INCOMING_NAPI_ID> (gettable since Linux 4.12)"
1122 msgstr ""
1123
1124 #. getsockopt 6d4339028b350efbf87c61e6d9e113e5373545c9
1125 #. type: Plain text
1126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1128 msgid ""
1129 "Returns a system-level unique ID called NAPI ID that is associated with a RX "
1130 "queue on which the last packet associated with that socket is received."
1131 msgstr ""
1132
1133 #. type: Plain text
1134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1136 msgid ""
1137 "This can be used by an application to split the incoming flows among worker "
1138 "threads based on the RX queue on which the packets associated with the flows "
1139 "are received. It allows each worker thread to be associated with a NIC HW "
1140 "receive queue and service all the connection requests received on that RX "
1141 "queue. This mapping between an app thread and a HW NIC queue streamlines "
1142 "the flow of data from the NIC to the application."
1143 msgstr ""
1144
1145 #. type: TP
1146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1148 #, no-wrap
1149 msgid "B<SO_KEEPALIVE>"
1150 msgstr "B<SO_KEEPALIVE>"
1151
1152 #. type: Plain text
1153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1155 msgid ""
1156 "Enable sending of keep-alive messages on connection-oriented sockets. "
1157 "Expects an integer boolean flag."
1158 msgstr ""
1159 "Habilita o envio de mensagens \"keep-alive\" em 'sockets' orientados à "
1160 "conexão. Espera por um sinalizador booleano inteiro."
1161
1162 #. type: TP
1163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1165 #, no-wrap
1166 msgid "B<SO_LINGER>"
1167 msgstr "B<SO_LINGER>"
1168
1169 #. type: Plain text
1170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1172 msgid ""
1173 "Sets or gets the B<SO_LINGER> option. The argument is a I<linger> structure."
1174 msgstr ""
1175 "Seleciona ou obtém a opção B<SO_LINGER>. O argumento é uma estrutura "
1176 "I<linger>."
1177
1178 #. type: Plain text
1179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1181 #, no-wrap
1182 msgid ""
1183 "struct linger {\n"
1184 " int l_onoff; /* linger active */\n"
1185 " int l_linger; /* how many seconds to linger for */\n"
1186 "};\n"
1187 msgstr ""
1188 "struct linger {\n"
1189 " int l_onoff; /* linger ativo */\n"
1190 " int l_linger; /* quantos segundos para o linger */\n"
1191 "};\n"
1192
1193 #. type: Plain text
1194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1196 msgid ""
1197 "When enabled, a B<close>(2) or B<shutdown>(2) will not return until all "
1198 "queued messages for the socket have been successfully sent or the linger "
1199 "timeout has been reached. Otherwise, the call returns immediately and the "
1200 "closing is done in the background. When the socket is closed as part of "
1201 "B<exit>(2), it always lingers in the background."
1202 msgstr ""
1203 "Quando habilitado, um B<close>(2) ou um B<shutdown>(2) não retornarão até "
1204 "que todas as mensagens para o 'socket' que estiverem enfileiradas tenham "
1205 "sido enviadas com sucesso, ou o timeout do linger tenha sido atingido. Caso "
1206 "contrário, a chamada retorna imediatamente e o fechamento ocorre em segundo "
1207 "plano. Quando o 'socket' é encerrado como parte de B<exit>(2), ele sempre "
1208 "realiza o 'linger' em segundo plano."
1209
1210 #. type: TP
1211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1213 #, no-wrap
1214 msgid "B<SO_LOCK_FILTER>"
1215 msgstr "B<SO_LOCK_FILTER>"
1216
1217 #. commit d59577b6ffd313d0ab3be39cb1ab47e29bdc9182
1218 #. type: Plain text
1219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1221 msgid ""
1222 "When set, this option will prevent changing the filters associated with the "
1223 "socket. These filters include any set using the socket options "
1224 "B<SO_ATTACH_FILTER>, B<SO_ATTACH_BPF>, B<SO_ATTACH_REUSEPORT_CBPF>, and "
1225 "B<SO_ATTACH_REUSEPORT_EBPF>."
1226 msgstr ""
1227
1228 #. type: Plain text
1229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1231 msgid ""
1232 "The typical use case is for a privileged process to set up a raw socket (an "
1233 "operation that requires the B<CAP_NET_RAW> capability), apply a restrictive "
1234 "filter, set the B<SO_LOCK_FILTER> option, and then either drop its "
1235 "privileges or pass the socket file descriptor to an unprivileged process via "
1236 "a UNIX domain socket."
1237 msgstr ""
1238
1239 #. type: Plain text
1240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1242 msgid ""
1243 "Once the B<SO_LOCK_FILTER> option has been enabled, attempts to change or "
1244 "remove the filter attached to a socket, or to disable the B<SO_LOCK_FILTER> "
1245 "option will fail with the error B<EPERM>."
1246 msgstr ""
1247
1248 #. type: TP
1249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1251 #, no-wrap
1252 msgid "B<SO_MARK> (since Linux 2.6.25)"
1253 msgstr ""
1254
1255 #. commit 4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0
1256 #. and 914a9ab386a288d0f22252fc268ecbc048cdcbd5
1257 #. type: Plain text
1258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1260 msgid ""
1261 "Set the mark for each packet sent through this socket (similar to the "
1262 "netfilter MARK target but socket-based). Changing the mark can be used for "
1263 "mark-based routing without netfilter or for packet filtering. Setting this "
1264 "option requires the B<CAP_NET_ADMIN> or B<CAP_NET_RAW> (since Linux 5.17) "
1265 "capability."
1266 msgstr ""
1267
1268 #. type: TP
1269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1271 #, no-wrap
1272 msgid "B<SO_OOBINLINE>"
1273 msgstr "B<SO_OOBINLINE>"
1274
1275 #. don't document it because it can do too much harm.
1276 #. .B SO_NO_CHECK
1277 #. The kernel has support for the SO_NO_CHECK socket
1278 #. option (boolean: 0 == default, calculate checksum on xmit,
1279 #. 1 == do not calculate checksum on xmit).
1280 #. Additional note from Andi Kleen on SO_NO_CHECK (2010-08-30)
1281 #. On Linux UDP checksums are essentially free and there's no reason
1282 #. to turn them off and it would disable another safety line.
1283 #. That is why I didn't document the option.
1284 #. type: Plain text
1285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1287 msgid ""
1288 "If this option is enabled, out-of-band data is directly placed into the "
1289 "receive data stream. Otherwise, out-of-band data is passed only when the "
1290 "B<MSG_OOB> flag is set during receiving."
1291 msgstr ""
1292 "Se esta opção é habilitada, dados 'out-of-band' são colocados diretamente no "
1293 "fluxo de dados de recepção. Caso contrário, dados 'out-of-band' são passados "
1294 "apenas quando o sinalizador B<MSG_OOB> é setado durante a recepção."
1295
1296 #. type: TP
1297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1299 #, no-wrap
1300 msgid "B<SO_PASSCRED>"
1301 msgstr "B<SO_PASSCRED>"
1302
1303 #. type: Plain text
1304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1306 #, fuzzy
1307 #| msgid ""
1308 #| "Enable or disable the receiving of the B<SCM_CREDENTIALS> control "
1309 #| "message. For more information see B<unix>(7)."
1310 msgid ""
1311 "Enable or disable the receiving of the B<SCM_CREDENTIALS> control message. "
1312 "For more information, see B<unix>(7)."
1313 msgstr ""
1314 "Habilita ou desabilita a recepção de mensagem de controle "
1315 "B<SCM_CREDENTIALS>. Para mais informações, veja B<unix>(7)."
1316
1317 #. type: TP
1318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1320 #, no-wrap
1321 msgid "B<SO_PASSSEC>"
1322 msgstr "B<SO_PASSSEC>"
1323
1324 #. type: Plain text
1325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1327 #, fuzzy
1328 #| msgid ""
1329 #| "Enable or disable the receiving of the B<SCM_SECURITY> control message. "
1330 #| "For more information see B<unix>(7)."
1331 msgid ""
1332 "Enable or disable the receiving of the B<SCM_SECURITY> control message. For "
1333 "more information, see B<unix>(7)."
1334 msgstr ""
1335 "Habilita ou desabilita a recepção de mensagem de controle B<SCM_SECURITY>. "
1336 "Para mais informações, veja B<unix>(7)."
1337
1338 #. type: TP
1339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1341 #, no-wrap
1342 msgid "B<SO_PEEK_OFF> (since Linux 3.4)"
1343 msgstr ""
1344
1345 #. commit ef64a54f6e558155b4f149bb10666b9e914b6c54
1346 #. type: Plain text
1347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1349 msgid ""
1350 "This option, which is currently supported only for B<unix>(7) sockets, sets "
1351 "the value of the \"peek offset\" for the B<recv>(2) system call when used "
1352 "with B<MSG_PEEK> flag."
1353 msgstr ""
1354
1355 #. type: Plain text
1356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1358 msgid ""
1359 "When this option is set to a negative value (it is set to -1 for all new "
1360 "sockets), traditional behavior is provided: B<recv>(2) with the B<MSG_PEEK> "
1361 "flag will peek data from the front of the queue."
1362 msgstr ""
1363
1364 #. type: Plain text
1365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1367 msgid ""
1368 "When the option is set to a value greater than or equal to zero, then the "
1369 "next peek at data queued in the socket will occur at the byte offset "
1370 "specified by the option value. At the same time, the \"peek offset\" will "
1371 "be incremented by the number of bytes that were peeked from the queue, so "
1372 "that a subsequent peek will return the next data in the queue."
1373 msgstr ""
1374
1375 #. type: Plain text
1376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1378 msgid ""
1379 "If data is removed from the front of the queue via a call to B<recv>(2) (or "
1380 "similar) without the B<MSG_PEEK> flag, the \"peek offset\" will be decreased "
1381 "by the number of bytes removed. In other words, receiving data without the "
1382 "B<MSG_PEEK> flag will cause the \"peek offset\" to be adjusted to maintain "
1383 "the correct relative position in the queued data, so that a subsequent peek "
1384 "will retrieve the data that would have been retrieved had the data not been "
1385 "removed."
1386 msgstr ""
1387
1388 #. type: Plain text
1389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1391 msgid ""
1392 "For datagram sockets, if the \"peek offset\" points to the middle of a "
1393 "packet, the data returned will be marked with the B<MSG_TRUNC> flag."
1394 msgstr ""
1395
1396 #. type: Plain text
1397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1399 msgid ""
1400 "The following example serves to illustrate the use of B<SO_PEEK_OFF>. "
1401 "Suppose a stream socket has the following queued input data:"
1402 msgstr ""
1403
1404 #. type: Plain text
1405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1407 #, fuzzy, no-wrap
1408 #| msgid " aabbccddeeff\n"
1409 msgid "aabbccddeeff\n"
1410 msgstr " aabbccddeeff\n"
1411
1412 #. type: Plain text
1413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1415 msgid ""
1416 "The following sequence of B<recv>(2) calls would have the effect noted in "
1417 "the comments:"
1418 msgstr ""
1419
1420 #. type: Plain text
1421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1423 #, no-wrap
1424 msgid ""
1425 "int ov = 4; // Set peek offset to 4\n"
1426 "setsockopt(fd, SOL_SOCKET, SO_PEEK_OFF, &ov, sizeof(ov));\n"
1427 "\\&\n"
1428 "recv(fd, buf, 2, MSG_PEEK); // Peeks \"cc\"; offset set to 6\n"
1429 "recv(fd, buf, 2, MSG_PEEK); // Peeks \"dd\"; offset set to 8\n"
1430 "recv(fd, buf, 2, 0); // Reads \"aa\"; offset set to 6\n"
1431 "recv(fd, buf, 2, MSG_PEEK); // Peeks \"ee\"; offset set to 8\n"
1432 msgstr ""
1433
1434 #. type: TP
1435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1437 #, no-wrap
1438 msgid "B<SO_PEERCRED>"
1439 msgstr "B<SO_PEERCRED>"
1440
1441 #. type: Plain text
1442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1444 #, fuzzy
1445 #| msgid ""
1446 #| "Return the credentials of the foreign process connected to this socket. "
1447 #| "Only useful for B<PF_UNIX> sockets; see B<unix>(7). Argument is a "
1448 #| "B<ucred> structure. Only valid as a B<getsockopt>."
1449 msgid ""
1450 "Return the credentials of the peer process connected to this socket. For "
1451 "further details, see B<unix>(7)."
1452 msgstr ""
1453 "Retorna as credenciais do processo estrangeiro conectado a este 'socket'. É "
1454 "útil somente para 'sockets' B<PF_UNIX>; veja B<unix>(7). O argumento é uma "
1455 "estrutura B<ucred>. Válido somente como um B<getsockopt>."
1456
1457 #. type: TP
1458 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1459 #: opensuse-tumbleweed
1460 #, fuzzy, no-wrap
1461 #| msgid "B<SO_PEERCRED>"
1462 msgid "B<SO_PEERSEC>(2const)"
1463 msgstr "B<SO_PEERCRED>"
1464
1465 #. type: TP
1466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1468 #, no-wrap
1469 msgid "B<SO_PRIORITY>"
1470 msgstr "B<SO_PRIORITY>"
1471
1472 #. For
1473 #. .BR ip (7),
1474 #. this also sets the IP type-of-service (TOS) field for outgoing packets.
1475 #. type: Plain text
1476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1478 #, fuzzy
1479 #| msgid ""
1480 #| "Set the protocol-defined priority for all packets to be sent on this "
1481 #| "socket. Linux uses this value to order the networking queues: packets "
1482 #| "with a higher priority may be processed first depending on the selected "
1483 #| "device queueing discipline. For B<ip>(7), this also sets the IP type-of-"
1484 #| "service (TOS) field for outgoing packets."
1485 msgid ""
1486 "Set the protocol-defined priority for all packets to be sent on this "
1487 "socket. Linux uses this value to order the networking queues: packets with "
1488 "a higher priority may be processed first depending on the selected device "
1489 "queueing discipline. Setting a priority outside the range 0 to 6 requires "
1490 "the B<CAP_NET_ADMIN> capability."
1491 msgstr ""
1492 "Seleciona a prioridade definida por protocolo para todos os pacotes a serem "
1493 "enviados sobre este 'socket'. Os usuários de Linux usam este valor para "
1494 "ordenar as filas de rede: pacotes com uma prioridade maior podem ser "
1495 "processados primeiro, dependendo da disciplina de fila do dispositivo "
1496 "selecionado. Para B<ip>(7), isto também configura o campo IP \"tipo-de-"
1497 "serviço (TOS)\" para pacotes de saída."
1498
1499 #. type: TP
1500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1502 #, no-wrap
1503 msgid "B<SO_PROTOCOL> (since Linux 2.6.32)"
1504 msgstr ""
1505
1506 #. type: Plain text
1507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1509 msgid ""
1510 "Retrieves the socket protocol as an integer, returning a value such as "
1511 "B<IPPROTO_SCTP>. See B<socket>(2) for details. This socket option is read-"
1512 "only."
1513 msgstr ""
1514
1515 #. type: TP
1516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1518 #, no-wrap
1519 msgid "B<SO_RCVBUF>"
1520 msgstr "B<SO_RCVBUF>"
1521
1522 #. Most (all?) other implementations do not do this -- MTK, Dec 05
1523 #. The following thread on LMKL is quite informative:
1524 #. getsockopt/setsockopt with SO_RCVBUF and SO_SNDBUF "non-standard" behavior
1525 #. 17 July 2012
1526 #. http://thread.gmane.org/gmane.linux.kernel/1328935
1527 #. type: Plain text
1528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1530 msgid ""
1531 "Sets or gets the maximum socket receive buffer in bytes. The kernel doubles "
1532 "this value (to allow space for bookkeeping overhead) when it is set using "
1533 "B<setsockopt>(2), and this doubled value is returned by B<getsockopt>(2). "
1534 "The default value is set by the I</proc/sys/net/core/rmem_default> file, and "
1535 "the maximum allowed value is set by the I</proc/sys/net/core/rmem_max> "
1536 "file. The minimum (doubled) value for this option is 256."
1537 msgstr ""
1538
1539 #. type: TP
1540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1542 #, no-wrap
1543 msgid "B<SO_RCVBUFFORCE> (since Linux 2.6.14)"
1544 msgstr ""
1545
1546 #. type: Plain text
1547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1549 msgid ""
1550 "Using this socket option, a privileged (B<CAP_NET_ADMIN>) process can "
1551 "perform the same task as B<SO_RCVBUF>, but the I<rmem_max> limit can be "
1552 "overridden."
1553 msgstr ""
1554
1555 #. type: TP
1556 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1557 #: opensuse-leap-16-1 opensuse-tumbleweed
1558 #, fuzzy, no-wrap
1559 #| msgid "B<SO_RCVBUF>"
1560 msgid "B<SO_RCVLOWAT>"
1561 msgstr "B<SO_RCVBUF>"
1562
1563 #. type: TQ
1564 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1565 #: opensuse-leap-16-1 opensuse-tumbleweed
1566 #, fuzzy, no-wrap
1567 #| msgid "B<SO_BSDCOMPAT>"
1568 msgid "B<SO_SNDLOWAT>"
1569 msgstr "B<SO_BSDCOMPAT>"
1570
1571 #. type: Plain text
1572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1574 #, fuzzy
1575 #| msgid ""
1576 #| "Specify the minimum number of bytes in the buffer until the socket layer "
1577 #| "will pass the data to the protocol (B<SO_SNDLOWAT>) or the user on "
1578 #| "receiving (B<SO_RCVLOWAT>). These two values are not changeable in Linux "
1579 #| "and their argument size is always fixed to 1 byte. B<getsockopt> is able "
1580 #| "to read them; B<setsockopt> will always return B<ENOPROTOOPT>."
1581 msgid ""
1582 "Specify the minimum number of bytes in the buffer until the socket layer "
1583 "will pass the data to the protocol (B<SO_SNDLOWAT>) or the user on "
1584 "receiving (B<SO_RCVLOWAT>). These two values are initialized to 1. "
1585 "B<SO_SNDLOWAT> is not changeable on Linux (B<setsockopt>(2) fails with the "
1586 "error B<ENOPROTOOPT>). B<SO_RCVLOWAT> is changeable only since Linux 2.4."
1587 msgstr ""
1588 "Especifica o número mínimo de bytes no 'buffer' até que a camada de 'socket' "
1589 "passe os dados para o protocolo (B<SO_SNDLOWAT>), ou para o usuário, ao "
1590 "receber um (B<SO_RCVLOWAT>). Estes dois valores não são alteráveis em Linux, "
1591 "e o tamanho de seus argumentos são sempre fixados em 1 byte. B<getsockopt> é "
1592 "capaz de lê-los; B<setsockopt> sempre retornará B<ENOPROTOOPT>."
1593
1594 #. Tested on kernel 2.6.14 -- mtk, 30 Nov 05
1595 #. commit c7004482e8dcb7c3c72666395cfa98a216a4fb70
1596 #. type: Plain text
1597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1599 msgid ""
1600 "Before Linux 2.6.28 B<select>(2), B<poll>(2), and B<epoll>(7) did not "
1601 "respect the B<SO_RCVLOWAT> setting on Linux, and indicated a socket as "
1602 "readable when even a single byte of data was available. A subsequent read "
1603 "from the socket would then block until B<SO_RCVLOWAT> bytes are available. "
1604 "Since Linux 2.6.28, B<select>(2), B<poll>(2), and B<epoll>(7) indicate a "
1605 "socket as readable only if at least B<SO_RCVLOWAT> bytes are available."
1606 msgstr ""
1607
1608 #. type: TP
1609 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1610 #: opensuse-leap-16-1 opensuse-tumbleweed
1611 #, fuzzy, no-wrap
1612 #| msgid "B<SO_RCVBUF>"
1613 msgid "B<SO_RCVTIMEO>"
1614 msgstr "B<SO_RCVBUF>"
1615
1616 #. type: TQ
1617 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1618 #: opensuse-leap-16-1 opensuse-tumbleweed
1619 #, fuzzy, no-wrap
1620 #| msgid "B<SO_SNDBUF>"
1621 msgid "B<SO_SNDTIMEO>"
1622 msgstr "B<SO_SNDBUF>"
1623
1624 #. Not implemented in Linux 2.0.
1625 #. Implemented in Linux 2.1.11 for getsockopt: always return a zero struct.
1626 #. Implemented in Linux 2.3.41 for setsockopt, and actually used.
1627 #. in fact to EAGAIN
1628 #. type: Plain text
1629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1631 msgid ""
1632 "Specify the receiving or sending timeouts until reporting an error. The "
1633 "argument is a I<struct timeval>. If an input or output function blocks for "
1634 "this period of time, and data has been sent or received, the return value of "
1635 "that function will be the amount of data transferred; if no data has been "
1636 "transferred and the timeout has been reached, then -1 is returned with "
1637 "I<errno> set to B<EAGAIN> or B<EWOULDBLOCK>, or B<EINPROGRESS> (for "
1638 "B<connect>(2)) just as if the socket was specified to be nonblocking. If "
1639 "the timeout is set to zero (the default), then the operation will never "
1640 "timeout. Timeouts only have effect for system calls that perform socket I/O "
1641 "(e.g., B<accept>(2), B<connect>(2), B<read>(2), B<recvmsg>(2), B<send>(2), "
1642 "B<sendmsg>(2)); timeouts have no effect for B<select>(2), B<poll>(2), "
1643 "B<epoll_wait>(2), and so on."
1644 msgstr ""
1645
1646 #. type: TP
1647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1649 #, no-wrap
1650 msgid "B<SO_REUSEADDR>"
1651 msgstr "B<SO_REUSEADDR>"
1652
1653 #. commit c617f398edd4db2b8567a28e899a88f8f574798d
1654 #. https://lwn.net/Articles/542629/
1655 #. type: Plain text
1656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1658 #, fuzzy
1659 #| msgid ""
1660 #| "Indicates that the rules used in validating addresses supplied in a "
1661 #| "B<bind>(2) call should allow reuse of local addresses. For B<PF_INET> "
1662 #| "sockets this means that a socket may bind, except when there is an active "
1663 #| "listening socket bound to the address. When the listening socket is bound "
1664 #| "to B<INADDR_ANY> with a specific port then it is not possible to bind to "
1665 #| "this port for any local address."
1666 msgid ""
1667 "Indicates that the rules used in validating addresses supplied in a "
1668 "B<bind>(2) call should allow reuse of local addresses. For B<AF_INET> "
1669 "sockets this means that a socket may bind, except when there is an active "
1670 "listening socket bound to the address. When the listening socket is bound "
1671 "to B<INADDR_ANY> with a specific port then it is not possible to bind to "
1672 "this port for any local address. Argument is an integer boolean flag."
1673 msgstr ""
1674 "Indica que as regras usadas nos endereços de validação fornecidos em uma "
1675 "chamada de B<bind>(2) permitiriam reusar os endereços locais. Para 'sockets' "
1676 "B<PF_INET> isso significa que um 'socket' pode ser ligado, exceto quando há "
1677 "um 'socket' em escuta ativo ligado ao endereço. Quando o 'socket' em escuta "
1678 "é ligado a B<INADDR_ANY> com uma porta específica, então não é possível ligá-"
1679 "lo a esta porta para qualquer endereço local."
1680
1681 #. type: TP
1682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1684 #, no-wrap
1685 msgid "B<SO_REUSEPORT> (since Linux 3.9)"
1686 msgstr ""
1687
1688 #. type: Plain text
1689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1691 msgid ""
1692 "Permits multiple B<AF_INET> or B<AF_INET6> sockets to be bound to an "
1693 "identical socket address. This option must be set on each socket (including "
1694 "the first socket) prior to calling B<bind>(2) on the socket. To prevent "
1695 "port hijacking, all of the processes binding to the same address must have "
1696 "the same effective UID. This option can be employed with both TCP and UDP "
1697 "sockets."
1698 msgstr ""
1699
1700 #. type: Plain text
1701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1703 msgid ""
1704 "For TCP sockets, this option allows B<accept>(2) load distribution in a "
1705 "multi-threaded server to be improved by using a distinct listener socket for "
1706 "each thread. This provides improved load distribution as compared to "
1707 "traditional techniques such using a single B<accept>(2)ing thread that "
1708 "distributes connections, or having multiple threads that compete to "
1709 "B<accept>(2) from the same socket."
1710 msgstr ""
1711
1712 #. type: Plain text
1713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1715 msgid ""
1716 "For UDP sockets, the use of this option can provide better distribution of "
1717 "incoming datagrams to multiple processes (or threads) as compared to the "
1718 "traditional technique of having multiple processes compete to receive "
1719 "datagrams on the same socket."
1720 msgstr ""
1721
1722 #. type: TP
1723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1725 #, no-wrap
1726 msgid "B<SO_RXQ_OVFL> (since Linux 2.6.33)"
1727 msgstr ""
1728
1729 #. commit 3b885787ea4112eaa80945999ea0901bf742707f
1730 #. type: Plain text
1731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1733 msgid ""
1734 "Indicates that an unsigned 32-bit value ancillary message (cmsg) should be "
1735 "attached to received skbs indicating the number of packets dropped by the "
1736 "socket since its creation."
1737 msgstr ""
1738
1739 #. type: TP
1740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1742 #, no-wrap
1743 msgid "B<SO_SELECT_ERR_QUEUE> (since Linux 3.10)"
1744 msgstr ""
1745
1746 #. commit 7d4c04fc170087119727119074e72445f2bb192b
1747 #. Author: Keller, Jacob E <[email protected]>
1748 #. It does not affect wake up.
1749 #. type: Plain text
1750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1752 msgid ""
1753 "When this option is set on a socket, an error condition on a socket causes "
1754 "notification not only via the I<exceptfds> set of B<select>(2). Similarly, "
1755 "B<poll>(2) also returns a B<POLLPRI> whenever an B<POLLERR> event is "
1756 "returned."
1757 msgstr ""
1758
1759 #. commit 6e5d58fdc9bedd0255a8
1760 #. ("skbuff: Fix not waking applications when errors are enqueued")
1761 #. type: Plain text
1762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1764 msgid ""
1765 "Background: this option was added when waking up on an error condition "
1766 "occurred only via the I<readfds> and I<writefds> sets of B<select>(2). The "
1767 "option was added to allow monitoring for error conditions via the "
1768 "I<exceptfds> argument without simultaneously having to receive notifications "
1769 "(via I<readfds>) for regular data that can be read from the socket. After "
1770 "changes in Linux 4.16, the use of this flag to achieve the desired "
1771 "notifications is no longer necessary. This option is nevertheless retained "
1772 "for backwards compatibility."
1773 msgstr ""
1774
1775 #. type: TP
1776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1778 #, no-wrap
1779 msgid "B<SO_SNDBUF>"
1780 msgstr "B<SO_SNDBUF>"
1781
1782 #. Most (all?) other implementations do not do this -- MTK, Dec 05
1783 #. See also the comment to SO_RCVBUF (17 Jul 2012 LKML mail)
1784 #. type: Plain text
1785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1787 msgid ""
1788 "Sets or gets the maximum socket send buffer in bytes. The kernel doubles "
1789 "this value (to allow space for bookkeeping overhead) when it is set using "
1790 "B<setsockopt>(2), and this doubled value is returned by B<getsockopt>(2). "
1791 "The default value is set by the I</proc/sys/net/core/wmem_default> file and "
1792 "the maximum allowed value is set by the I</proc/sys/net/core/wmem_max> "
1793 "file. The minimum (doubled) value for this option is 2048."
1794 msgstr ""
1795
1796 #. type: TP
1797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1799 #, no-wrap
1800 msgid "B<SO_SNDBUFFORCE> (since Linux 2.6.14)"
1801 msgstr ""
1802
1803 #. type: Plain text
1804 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1805 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1806 msgid ""
1807 "Using this socket option, a privileged (B<CAP_NET_ADMIN>) process can "
1808 "perform the same task as B<SO_SNDBUF>, but the I<wmem_max> limit can be "
1809 "overridden."
1810 msgstr ""
1811
1812 #. type: TP
1813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1815 #, no-wrap
1816 msgid "B<SO_TIMESTAMP>"
1817 msgstr "B<SO_TIMESTAMP>"
1818
1819 #. type: Plain text
1820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1822 msgid ""
1823 "Enable or disable the receiving of the B<SO_TIMESTAMP> control message. The "
1824 "timestamp control message is sent with level B<SOL_SOCKET> and a "
1825 "I<cmsg_type> of B<SCM_TIMESTAMP>. The I<cmsg_data> field is a I<struct "
1826 "timeval> indicating the reception time of the last packet passed to the user "
1827 "in this call. See B<cmsg>(3) for details on control messages."
1828 msgstr ""
1829
1830 #. type: TP
1831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1833 #, no-wrap
1834 msgid "B<SO_TIMESTAMPNS> (since Linux 2.6.22)"
1835 msgstr ""
1836
1837 #. commit 92f37fd2ee805aa77925c1e64fd56088b46094fc
1838 #. type: Plain text
1839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1841 msgid ""
1842 "Enable or disable the receiving of the B<SO_TIMESTAMPNS> control message. "
1843 "The timestamp control message is sent with level B<SOL_SOCKET> and a "
1844 "I<cmsg_type> of B<SCM_TIMESTAMPNS>. The I<cmsg_data> field is a I<struct "
1845 "timespec> indicating the reception time of the last packet passed to the "
1846 "user in this call. The clock used for the timestamp is B<CLOCK_REALTIME>. "
1847 "See B<cmsg>(3) for details on control messages."
1848 msgstr ""
1849
1850 #. type: Plain text
1851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1853 msgid ""
1854 "A socket cannot mix B<SO_TIMESTAMP> and B<SO_TIMESTAMPNS>: the two modes are "
1855 "mutually exclusive."
1856 msgstr ""
1857
1858 #. type: TP
1859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1861 #, no-wrap
1862 msgid "B<SO_TYPE>"
1863 msgstr "B<SO_TYPE>"
1864
1865 #. type: Plain text
1866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1868 #, fuzzy
1869 #| msgid ""
1870 #| "Gets the socket type as an integer (like B<SOCK_STREAM>). Can be only "
1871 #| "read with B<getsockopt>."
1872 msgid ""
1873 "Gets the socket type as an integer (e.g., B<SOCK_STREAM>). This socket "
1874 "option is read-only."
1875 msgstr ""
1876 "Obtém o tipo de 'socket' como um inteiro (como B<SOCK_STREAM>). Só pode ser "
1877 "lido com B<getsockopt>."
1878
1879 #. type: TP
1880 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1881 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1882 #, no-wrap
1883 msgid "B<SO_BUSY_POLL> (since Linux 3.11)"
1884 msgstr ""
1885
1886 #. type: Plain text
1887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1889 msgid ""
1890 "Sets the approximate time in microseconds to busy poll on a blocking receive "
1891 "when there is no data. Increasing this value requires B<CAP_NET_ADMIN>. "
1892 "The default for this option is controlled by the I</proc/sys/net/core/"
1893 "busy_read> file."
1894 msgstr ""
1895
1896 #. type: Plain text
1897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1899 msgid ""
1900 "The value in the I</proc/sys/net/core/busy_poll> file determines how long "
1901 "B<select>(2) and B<poll>(2) will busy poll when they operate on sockets "
1902 "with B<SO_BUSY_POLL> set and no events to report are found."
1903 msgstr ""
1904
1905 #. type: Plain text
1906 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1907 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1908 msgid ""
1909 "In both cases, busy polling will only be done when the socket last received "
1910 "data from a network device that supports this option."
1911 msgstr ""
1912
1913 #. type: Plain text
1914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1916 msgid ""
1917 "While busy polling may improve latency of some applications, care must be "
1918 "taken when using it since this will increase both CPU utilization and power "
1919 "usage."
1920 msgstr ""
1921
1922 #. type: SS
1923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1925 #, no-wrap
1926 msgid "Signals"
1927 msgstr "Sinais"
1928
1929 #. type: Plain text
1930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1932 msgid ""
1933 "When writing onto a connection-oriented socket that has been shut down (by "
1934 "the local or the remote end) B<SIGPIPE> is sent to the writing process and "
1935 "B<EPIPE> is returned. The signal is not sent when the write call specified "
1936 "the B<MSG_NOSIGNAL> flag."
1937 msgstr ""
1938 "Quando se escreve para um 'socket' orientado a conexão que foi "
1939 "derrubado(pela extremidade local ou pela remota), B<SIGPIPE> é enviado para "
1940 "o processo de escrita e B<EPIPE> é retornado. O sinal não é enviado quando a "
1941 "chamada de escrita especificou o sinalizador B<MSG_NOSIGNAL>."
1942
1943 #. type: Plain text
1944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1946 #, fuzzy
1947 #| msgid ""
1948 #| "When requested with the B<FIOCSETOWN> fcntl or B<SIOCSPGRP> ioctl, "
1949 #| "B<SIGIO> is sent when an I/O event occurs. It is possible to use "
1950 #| "B<poll>(2) or B<select>(2) in the signal handler to find out which "
1951 #| "socket the event occurred on. An alternative (in Linux 2.2) is to set a "
1952 #| "realtime signal using the B<F_SETSIG> fcntl; the handler of the real time "
1953 #| "signal will be called with the file descriptor in the I<si_fd> field of "
1954 #| "its I<siginfo_t>. See B<fcntl>(2) for more information."
1955 msgid ""
1956 "When requested with the B<FIOSETOWN> B<fcntl>(2) or B<SIOCSPGRP> "
1957 "B<ioctl>(2), B<SIGIO> is sent when an I/O event occurs. It is possible to "
1958 "use B<poll>(2) or B<select>(2) in the signal handler to find out which "
1959 "socket the event occurred on. An alternative (in Linux 2.2) is to set a "
1960 "real-time signal using the B<F_SETSIG> B<fcntl>(2); the handler of the real "
1961 "time signal will be called with the file descriptor in the I<si_fd> field of "
1962 "its I<siginfo_t>. See B<fcntl>(2) for more information."
1963 msgstr ""
1964 "Quando pedido com o fcntl B<FIOCSETOWN> ou com o ioctl B<SIOCSPGRP>, "
1965 "B<SIGIO> é enviado quando ocorre um evento de E/S. É possível usar "
1966 "B<poll>(2) ou B<select>(2) em um manipulador de sinal para descobrir sobre "
1967 "qual 'socket' o evento ocorreu. Uma alternativa (em Linux 2.2) é configurar "
1968 "um sinal de tempo real usando o fnctl B<F_SETSIG>; o manipulador do sinal de "
1969 "tempo real será chamado com o descritor de arquivo no campo I<si_fd> do seu "
1970 "I<siginfo_t>. Veja B<fcntl>(2) para mais informações."
1971
1972 #. .SS Ancillary messages
1973 #. type: Plain text
1974 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1975 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1976 msgid ""
1977 "Under some circumstances (e.g., multiple processes accessing a single "
1978 "socket), the condition that caused the B<SIGIO> may have already disappeared "
1979 "when the process reacts to the signal. If this happens, the process should "
1980 "wait again because Linux will resend the signal later."
1981 msgstr ""
1982 "Sob certas circunstâncias (por exemplo, múltiplos processos acessando um "
1983 "único 'socket'), a condição que causou o B<SIGIO> pode já ter desaparecido "
1984 "quando o processo reagir ao sinal. Se isso acontecer, o processo deveria "
1985 "esperar novamente pois o Linux reenviará o sinal mais tarde."
1986
1987 #. type: SS
1988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1990 #, no-wrap
1991 msgid "/proc interfaces"
1992 msgstr "Interfaces /proc"
1993
1994 #. type: Plain text
1995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1997 #, fuzzy
1998 #| msgid ""
1999 #| "The core socket networking sysctls can be accessed using the B</proc/sys/"
2000 #| "net/core/*> files or with the B<sysctl>(2) interface."
2001 msgid ""
2002 "The core socket networking parameters can be accessed via files in the "
2003 "directory I</proc/sys/net/core/>."
2004 msgstr ""
2005 "Os sysctls de núcleo para rede de 'sockets' podem ser acessados usando-se os "
2006 "arquivos B</proc/sys/net/core/*>, ou com a interface B<sysctl>(2)."
2007
2008 #. type: TP
2009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2011 #, no-wrap
2012 msgid "I<rmem_default>"
2013 msgstr "I<rmem_default>"
2014
2015 #. type: Plain text
2016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2018 msgid "contains the default setting in bytes of the socket receive buffer."
2019 msgstr ""
2020 "contém a configuração padrão, em bytes, do 'buffer' de recepção de 'sockets'."
2021
2022 #. type: TP
2023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2025 #, no-wrap
2026 msgid "I<rmem_max>"
2027 msgstr "I<rmem_max>"
2028
2029 #. type: Plain text
2030 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2031 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2032 msgid ""
2033 "contains the maximum socket receive buffer size in bytes which a user may "
2034 "set by using the B<SO_RCVBUF> socket option."
2035 msgstr ""
2036 "contém o tamanho máximo do 'buffer' de recepção de 'sockets', em bytes, que "
2037 "um usuário pode selecionar pelo uso da opção de 'socket' B<SO_RCVBUF>."
2038
2039 #. type: TP
2040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2042 #, no-wrap
2043 msgid "I<wmem_default>"
2044 msgstr "I<wmem_default>"
2045
2046 #. type: Plain text
2047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2049 msgid "contains the default setting in bytes of the socket send buffer."
2050 msgstr ""
2051 "contém a configuração padrão, em bytes, do 'buffer' de envio de 'sockets'."
2052
2053 #. type: TP
2054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2056 #, no-wrap
2057 msgid "I<wmem_max>"
2058 msgstr "I<wmem_max>"
2059
2060 #. type: Plain text
2061 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2062 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2063 msgid ""
2064 "contains the maximum socket send buffer size in bytes which a user may set "
2065 "by using the B<SO_SNDBUF> socket option."
2066 msgstr ""
2067 "contém o tamanho máximo do 'buffer' de recepção de 'sockets', em bytes, que "
2068 "um usuário pode setar pelo uso da opção de 'socket' B<SO_SNDBUF>."
2069
2070 #. type: TP
2071 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2072 #: opensuse-leap-16-1 opensuse-tumbleweed
2073 #, no-wrap
2074 msgid "I<message_cost>"
2075 msgstr ""
2076
2077 #. type: TQ
2078 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2079 #: opensuse-leap-16-1 opensuse-tumbleweed
2080 #, fuzzy, no-wrap
2081 #| msgid "I<message_cost> and I<message_burst>"
2082 msgid "I<message_burst>"
2083 msgstr "I<message_cost> e I<message_burst>"
2084
2085 #. type: Plain text
2086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2088 msgid ""
2089 "configure the token bucket filter used to load limit warning messages caused "
2090 "by external network events."
2091 msgstr ""
2092 "configuram o filtro 'bucket' de 'token' usado para carregar o limite de "
2093 "mensagens de atenção causadas por eventos externos à rede."
2094
2095 #. type: TP
2096 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2097 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2098 #, no-wrap
2099 msgid "I<netdev_max_backlog>"
2100 msgstr "I<netdev_max_backlog>"
2101
2102 #. type: Plain text
2103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2105 msgid "Maximum number of packets in the global input queue."
2106 msgstr "Número máximo de pacotes na fila global de entrada."
2107
2108 #. type: TP
2109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2111 #, no-wrap
2112 msgid "I<optmem_max>"
2113 msgstr "I<optmem_max>"
2114
2115 #. netdev_fastroute is not documented because it is experimental
2116 #. type: Plain text
2117 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2118 #: opensuse-leap-16-1 opensuse-tumbleweed
2119 #, fuzzy
2120 #| msgid ""
2121 #| "Maximum length of ancillary data and user control data like the iovecs "
2122 #| "per socket."
2123 msgid ""
2124 "Maximum size of ancillary data and user control data like the iovecs per "
2125 "socket."
2126 msgstr ""
2127 "Comprimento máximo dos dados ancilares e dos dados de controle do usuário, "
2128 "como os iovecs, por 'socket'."
2129
2130 #. type: SS
2131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2133 #, no-wrap
2134 msgid "Ioctls"
2135 msgstr "Ioctls"
2136
2137 #. type: Plain text
2138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2140 #, fuzzy
2141 #| msgid "These ioctls can be accessed using B<ioctl>(2):"
2142 msgid "These operations can be accessed using B<ioctl>(2):"
2143 msgstr "Estes ioctls podem ser acessados usando-se B<ioctl>(2):"
2144
2145 #. type: Plain text
2146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2148 #, no-wrap
2149 msgid "I<error>B< = ioctl(>I<ip_socket>B<, >I<ioctl_type>B<, >I<&value_result>B<);>\n"
2150 msgstr "I<error>B< = ioctl(>I<ip_socket>B<, >I<ioctl_type>B<, >I<&value_result>B<);>\n"
2151
2152 #. type: TP
2153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2155 #, no-wrap
2156 msgid "B<SIOCGSTAMP>"
2157 msgstr "B<SIOCGSTAMP>"
2158
2159 #. type: Plain text
2160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2162 msgid ""
2163 "Return a I<struct timeval> with the receive timestamp of the last packet "
2164 "passed to the user. This is useful for accurate round trip time "
2165 "measurements. See B<setitimer>(2) for a description of I<struct timeval>. "
2166 "This ioctl should be used only if the socket options B<SO_TIMESTAMP> and "
2167 "B<SO_TIMESTAMPNS> are not set on the socket. Otherwise, it returns the "
2168 "timestamp of the last packet that was received while B<SO_TIMESTAMP> and "
2169 "B<SO_TIMESTAMPNS> were not set, or it fails if no such packet has been "
2170 "received, (i.e., B<ioctl>(2) returns -1 with I<errno> set to B<ENOENT>)."
2171 msgstr ""
2172
2173 #. type: TP
2174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2176 #, no-wrap
2177 msgid "B<SIOCSPGRP>"
2178 msgstr "B<SIOCSPGRP>"
2179
2180 #. type: Plain text
2181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2183 msgid ""
2184 "Set the process or process group that is to receive B<SIGIO> or B<SIGURG> "
2185 "signals when I/O becomes possible or urgent data is available. The argument "
2186 "is a pointer to a I<pid_t>. For further details, see the description of "
2187 "B<F_SETOWN> in B<fcntl>(2)."
2188 msgstr ""
2189
2190 #. type: TP
2191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2193 #, no-wrap
2194 msgid "B<FIOASYNC>"
2195 msgstr "B<FIOASYNC>"
2196
2197 #. type: Plain text
2198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2200 msgid ""
2201 "Change the B<O_ASYNC> flag to enable or disable asynchronous I/O mode of the "
2202 "socket. Asynchronous I/O mode means that the B<SIGIO> signal or the signal "
2203 "set with B<F_SETSIG> is raised when a new I/O event occurs."
2204 msgstr ""
2205 "Altera o sinalizador B<O_ASYNC> para habilitar ou desabilitar o modo de E/S "
2206 "assíncrona do asocketa. Modo de E/S assíncrona significa que o sinal "
2207 "B<SIGIO>, ou os sinais selecionados com B<F_SETSIG> é destacado quando "
2208 "ocorre um novo evento de E/S."
2209
2210 #. type: Plain text
2211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2213 msgid ""
2214 "Argument is an integer boolean flag. (This operation is synonymous with the "
2215 "use of B<fcntl>(2) to set the B<O_ASYNC> flag.)"
2216 msgstr ""
2217
2218 #. type: TP
2219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2221 #, no-wrap
2222 msgid "B<SIOCGPGRP>"
2223 msgstr "B<SIOCGPGRP>"
2224
2225 #. type: Plain text
2226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2228 msgid ""
2229 "Get the current process or process group that receives B<SIGIO> or B<SIGURG> "
2230 "signals, or 0 when none is set."
2231 msgstr ""
2232 "Obtém o processo corrente ou grupo de processos que recebem sinais B<SIGIO> "
2233 "ou B<SIGURG>, ou 0 quando nenhum foi configurado."
2234
2235 #. type: Plain text
2236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2238 #, fuzzy
2239 #| msgid "Valid fcntls:"
2240 msgid "Valid B<fcntl>(2) operations:"
2241 msgstr "fcntls válidos:"
2242
2243 #. type: TP
2244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2246 #, no-wrap
2247 msgid "B<FIOGETOWN>"
2248 msgstr "B<FIOGETOWN>"
2249
2250 #. type: Plain text
2251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2253 msgid "The same as the B<SIOCGPGRP> B<ioctl>(2)."
2254 msgstr "O mesmo que o B<SIOCGPGRP> B<ioctl>(2)."
2255
2256 #. type: TP
2257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2259 #, no-wrap
2260 msgid "B<FIOSETOWN>"
2261 msgstr "B<FIOSETOWN>"
2262
2263 #. type: Plain text
2264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2266 msgid "The same as the B<SIOCSPGRP> B<ioctl>(2)."
2267 msgstr "O mesmo que o B<SIOCSPGRP> B<ioctl>(2)."
2268
2269 #. type: SH
2270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2272 #, no-wrap
2273 msgid "VERSIONS"
2274 msgstr "VERSÕES"
2275
2276 #. type: Plain text
2277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2279 msgid ""
2280 "B<SO_BINDTODEVICE> was introduced in Linux 2.0.30. B<SO_PASSCRED> is new in "
2281 "Linux 2.2. The I</proc> interfaces were introduced in Linux 2.2. "
2282 "B<SO_RCVTIMEO> and B<SO_SNDTIMEO> are supported since Linux 2.3.41. "
2283 "Earlier, timeouts were fixed to a protocol-specific setting, and could not "
2284 "be read or written."
2285 msgstr ""
2286
2287 #. type: SH
2288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2290 #, no-wrap
2291 msgid "NOTES"
2292 msgstr "NOTAS"
2293
2294 #. type: Plain text
2295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2297 #, fuzzy
2298 #| msgid ""
2299 #| "Linux assumes that half of the send/receive buffer is used for internal "
2300 #| "kernel structures; thus the sysctls are twice what can be observed on the "
2301 #| "wire."
2302 msgid ""
2303 "Linux assumes that half of the send/receive buffer is used for internal "
2304 "kernel structures; thus the values in the corresponding I</proc> files are "
2305 "twice what can be observed on the wire."
2306 msgstr ""
2307 "O Linux assume que metade do 'buffer' de envio/recepção é usado para "
2308 "estruturas internas do kernel; portanto, os sysctls são o dobro do que podem "
2309 "ser observados no 'wire'."
2310
2311 #. .SH AUTHORS
2312 #. This man page was written by Andi Kleen.
2313 #. type: Plain text
2314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2316 msgid ""
2317 "Linux will allow port reuse only with the B<SO_REUSEADDR> option when this "
2318 "option was set both in the previous program that performed a B<bind>(2) to "
2319 "the port and in the program that wants to reuse the port. This differs from "
2320 "some implementations (e.g., FreeBSD) where only the later program needs to "
2321 "set the B<SO_REUSEADDR> option. Typically this difference is invisible, "
2322 "since, for example, a server program is designed to always set this option."
2323 msgstr ""
2324
2325 #. type: SH
2326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2328 #, no-wrap
2329 msgid "SEE ALSO"
2330 msgstr "VEJA TAMBÉM"
2331
2332 #. type: Plain text
2333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2335 #, fuzzy
2336 #| msgid ""
2337 #| "B<wireshark>(1), B<bpf>(2), B<connect>(2), B<getsockopt>(2), "
2338 #| "B<setsockopt>(2), B<socket>(2), B<pcap>(3), B<address_families>(7), "
2339 #| "B<capabilities>(7), B<ddp>(7), B<ip>(7), B<packet>(7), B<tcp>(7), "
2340 #| "B<udp>(7), B<unix>(7), B<tcpdump>(8)"
2341 msgid ""
2342 "B<wireshark>(1), B<bpf>(2), B<connect>(2), B<getsockopt>(2), "
2343 "B<setsockopt>(2), B<socket>(2), B<pcap>(3), B<address_families>(7), "
2344 "B<capabilities>(7), B<ddp>(7), B<ip>(7), B<ipv6>(7), B<packet>(7), "
2345 "B<tcp>(7), B<udp>(7), B<unix>(7), B<tcpdump>(8)"
2346 msgstr ""
2347 "B<wireshark>(1), B<bpf>(2), B<connect>(2), B<getsockopt>(2), "
2348 "B<setsockopt>(2), B<socket>(2), B<pcap>(3), B<address_families>(7), "
2349 "B<capabilities>(7), B<ddp>(7), B<ip>(7), B<packet>(7), B<tcp>(7), B<udp>(7), "
2350 "B<unix>(7), B<tcpdump>(8)"
2351
2352 #. type: TH
2353 #: debian-trixie
2354 #, no-wrap
2355 msgid "2024-05-02"
2356 msgstr "2 maio 2024"
2357
2358 #. type: TH
2359 #: debian-trixie
2360 #, no-wrap
2361 msgid "Linux man-pages 6.9.1"
2362 msgstr "Linux man-pages 6.9.1"
2363
2364 #. type: Plain text
2365 #: debian-trixie
2366 msgid ""
2367 "Attach a classic BPF (B<SO_ATTACH_FILTER>) or an extended BPF "
2368 "(B<SO_ATTACH_BPF>) program to the socket for use as a filter of incoming "
2369 "packets. A packet will be dropped if the filter program returns zero. If "
2370 "the filter program returns a nonzero value which is less than the packet's "
2371 "data length, the packet will be truncated to the length returned. If the "
2372 "value returned by the filter is greater than or equal to the packet's data "
2373 "length, the packet is allowed to proceed unmodified."
2374 msgstr ""
2375
2376 #. type: Plain text
2377 #: debian-trixie fedora-44 fedora-rawhide
2378 msgid ""
2379 "Both classic and extended BPF are explained in the kernel source file "
2380 "I<Documentation/networking/filter.txt>"
2381 msgstr ""
2382
2383 #. type: Plain text
2384 #: debian-trixie fedora-44 fedora-rawhide
2385 msgid ""
2386 "The BPF program must return an index between 0 and N-1 representing the "
2387 "socket which should receive the packet (where N is the number of sockets in "
2388 "the group). If the BPF program returns an invalid index, socket selection "
2389 "will fall back to the plain B<SO_REUSEPORT> mechanism."
2390 msgstr ""
2391
2392 #. type: Plain text
2393 #: debian-trixie fedora-44 fedora-rawhide
2394 msgid ""
2395 "Sockets are numbered in the order in which they are added to the group (that "
2396 "is, the order of B<bind>(2) calls for UDP sockets or the order of "
2397 "B<listen>(2) calls for TCP sockets). New sockets added to a reuseport "
2398 "group will inherit the BPF program. When a socket is removed from a "
2399 "reuseport group (via B<close>(2)), the last socket in the group will be "
2400 "moved into the closed socket's position."
2401 msgstr ""
2402
2403 #. type: Plain text
2404 #: debian-trixie
2405 #, fuzzy
2406 #| msgid ""
2407 #| "Bind this socket to a particular device like \\(lqeth0\\(rq, as specified "
2408 #| "in the passed interface name. If the name is an empty string or the "
2409 #| "option length is zero, the socket device binding is removed. The passed "
2410 #| "option is a variable-length null-terminated interface name string with "
2411 #| "the maximum size of B<IFNAMSIZ>. If a socket is bound to an interface, "
2412 #| "only packets received from that particular interface are processed by the "
2413 #| "socket. Note that this works only for some socket types, particularly "
2414 #| "B<AF_INET> sockets. It is not supported for packet sockets (use normal "
2415 #| "B<bind>(2) there)."
2416 msgid ""
2417 "Bind this socket to a particular device like \\[lq]eth0\\[rq], as specified "
2418 "in the passed interface name. If the name is an empty string or the option "
2419 "length is zero, the socket device binding is removed. The passed option is "
2420 "a variable-length null-terminated interface name string with the maximum "
2421 "size of B<IFNAMSIZ>. If a socket is bound to an interface, only packets "
2422 "received from that particular interface are processed by the socket. Note "
2423 "that this works only for some socket types, particularly B<AF_INET> "
2424 "sockets. It is not supported for packet sockets (use normal B<bind>(2) "
2425 "there)."
2426 msgstr ""
2427 "Liga este 'socket' a um dispositivo particular, como \\(lqeth0\\(rq, como "
2428 "especificado no nome de interface passado. Se o nome é uma cadeia de "
2429 "caracteres vazia, ou se o comprimento da opção é zero, a ligação do "
2430 "dispositivo do 'socket' é removido. A opção passada é uma cadeia de nomes de "
2431 "interface com comprimento variável e terminada em caractere nulo, com "
2432 "comprimento máximo de B<IFNAMSIZ>. Se um 'socket' é ligado a uma interface, "
2433 "somente os pacotes recebidos daquela interface particular serão processados "
2434 "pelo 'socket'. Note que isto somente trabalha para alguns tipos de "
2435 "'sockets', particularmente nos B<AF_INET>. Não é suportado para pacotes de "
2436 "'sockets' (uso normal para o B<bind>(2))."
2437
2438 #. type: TP
2439 #: debian-trixie fedora-44 fedora-rawhide
2440 #, no-wrap
2441 msgid "B<SO_PEERSEC> (since Linux 2.6.2)"
2442 msgstr ""
2443
2444 #. type: Plain text
2445 #: debian-trixie fedora-44 fedora-rawhide
2446 #, fuzzy
2447 #| msgid ""
2448 #| "Return the credentials of the foreign process connected to this socket. "
2449 #| "Only useful for B<PF_UNIX> sockets; see B<unix>(7). Argument is a "
2450 #| "B<ucred> structure. Only valid as a B<getsockopt>."
2451 msgid ""
2452 "Return the security context of the peer socket connected to this socket. "
2453 "For further details, see B<unix>(7) and B<ip>(7)."
2454 msgstr ""
2455 "Retorna as credenciais do processo estrangeiro conectado a este 'socket'. É "
2456 "útil somente para 'sockets' B<PF_UNIX>; veja B<unix>(7). O argumento é uma "
2457 "estrutura B<ucred>. Válido somente como um B<getsockopt>."
2458
2459 #. type: TP
2460 #: debian-trixie
2461 #, no-wrap
2462 msgid "B<SO_RCVLOWAT> and B<SO_SNDLOWAT>"
2463 msgstr "B<SO_RCVLOWAT> e B<SO_SNDLOWAT>"
2464
2465 #. type: TP
2466 #: debian-trixie
2467 #, no-wrap
2468 msgid "B<SO_RCVTIMEO> and B<SO_SNDTIMEO>"
2469 msgstr "B<SO_RCVTIMEO> e B<SO_SNDTIMEO>"
2470
2471 #. type: TP
2472 #: debian-trixie
2473 #, no-wrap
2474 msgid "I<message_cost> and I<message_burst>"
2475 msgstr "I<message_cost> e I<message_burst>"
2476
2477 #. netdev_fastroute is not documented because it is experimental
2478 #. type: Plain text
2479 #: debian-trixie
2480 msgid ""
2481 "Maximum length of ancillary data and user control data like the iovecs per "
2482 "socket."
2483 msgstr ""
2484 "Comprimento máximo dos dados ancilares e dos dados de controle do usuário, "
2485 "como os iovecs, por 'socket'."
2486
2487 #. type: TH
2488 #: fedora-44 fedora-rawhide
2489 #, no-wrap
2490 msgid "2024-11-17"
2491 msgstr "17 novembro 2024"
2492
2493 #. type: TH
2494 #: fedora-44 fedora-rawhide
2495 #, no-wrap
2496 msgid "Linux man-pages 6.13"
2497 msgstr "Linux man-pages 6.13"
2498
2499 #. type: TH
2500 #: mageia-cauldron
2501 #, no-wrap
2502 msgid "Linux man-pages 6.17"
2503 msgstr "Linux man-pages 6.17"
2504
2505 #. type: TH
2506 #: opensuse-leap-16-1 opensuse-tumbleweed
2507 #, no-wrap
2508 msgid "Linux man-pages (unreleased)"
2509 msgstr "Linux man-pages (não lançado)"