Debian Codegraph @

po/pt_BR/man7/netlink.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:32+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 "netlink"
26 msgstr "netlink"
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 #, fuzzy
53 #| msgid "netlink, PF_NETLINK - Communication between kernel and user."
54 msgid "netlink - communication between kernel and user space (AF_NETLINK)"
55 msgstr "netlink, PF_NETLINK - Comunicação entre o kernel e o usuário"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "SYNOPSIS"
62 msgstr "SINOPSE"
63
64 #. type: Plain text
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid ""
69 "B<#include E<lt>asm/types.hE<gt>>\n"
70 "B<#include E<lt>sys/socket.hE<gt>>\n"
71 "B<#include E<lt>linux/netlink.hE<gt>>\n"
72 msgstr ""
73 "B<#include E<lt>asm/types.hE<gt>>\n"
74 "B<#include E<lt>sys/socket.hE<gt>>\n"
75 "B<#include E<lt>linux/netlink.hE<gt>>\n"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<netlink_socket = socket(AF_NETLINK, >I<socket_type>B<, >I<netlink_family>B<);>\n"
82 msgstr "B<netlink_socket = socket(AF_NETLINK, >I<socket_type>B<, >I<netlink_family>B<);>\n"
83
84 #. type: SH
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "DESCRIPTION"
89 msgstr "DESCRIÇÃO"
90
91 #. type: Plain text
92 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
93 #: opensuse-tumbleweed
94 #, fuzzy
95 #| msgid ""
96 #| "Netlink is used to transfer information between kernel modules and user "
97 #| "space processes. It consists of a standard sockets based interface for "
98 #| "user processes and an internal kernel API for kernel modules. The "
99 #| "internal kernel interface is not documented in this man page. Also there "
100 #| "is an obsolete netlink interface via netlink character devices, this "
101 #| "interface is not documented here and is only provided for backwards "
102 #| "compatibility."
103 msgid ""
104 "Netlink is used to transfer information between the kernel and user-space "
105 "processes. It consists of a standard sockets-based interface for user space "
106 "processes and an internal kernel API for kernel modules. The internal "
107 "kernel interface is not documented in this manual page. There is also an "
108 "obsolete netlink interface via netlink character devices; this interface is "
109 "not documented here, and is provided only for backward compatibility."
110 msgstr ""
111 "Netlink é usado para transferir informação entre módulos do kernel e "
112 "processos do espaço do usuário. Consiste de uma interface padrão baseada em "
113 "'sockets', para processos de usuário e uma API interna do kernel para "
114 "módulos. A interface interna do kernel não é documentada nesta página do "
115 "manual. Há também uma interface netlink obsoleta, via dispositivos de "
116 "caracteres netlink, esta interface não é documentada aqui e só é fornecida "
117 "para compatibilidade pregresa."
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "Netlink is a datagram-oriented service. Both B<SOCK_RAW> and B<SOCK_DGRAM> "
124 "are valid values for I<socket_type>. However, the netlink protocol does not "
125 "distinguish between datagram and raw sockets."
126 msgstr ""
127 "Netlink é um serviço orientado a datagrama. Tanto B<SOCK_RAW> quanto "
128 "B<SOCK_DGRAM> são valores válidos para I<socket_type>; porém, o protocolo "
129 "netlink não distingue entre datagramas e 'sockets' diretos."
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "I<netlink_family> selects the kernel module or netlink group to communicate "
136 "with. The currently assigned netlink families are:"
137 msgstr ""
138 "I<netlink_family> seleciona o módulo do kernel ou grupo de netlink para se "
139 "comunicar. As famílias de netlink atribuídas atualmente são:"
140
141 #. type: TP
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "B<NETLINK_ROUTE>"
146 msgstr "B<NETLINK_ROUTE>"
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "Receives routing and link updates and may be used to modify the routing "
153 "tables (both IPv4 and IPv6), IP addresses, link parameters, neighbor setups, "
154 "queueing disciplines, traffic classes, and packet classifiers (see "
155 "B<rtnetlink>(7))."
156 msgstr ""
157
158 #. type: TP
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "B<NETLINK_W1> (Linux 2.6.13 to Linux 2.16.17)"
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid "Messages from 1-wire subsystem."
169 msgstr ""
170
171 #. type: TP
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, no-wrap
175 msgid "B<NETLINK_USERSOCK>"
176 msgstr "B<NETLINK_USERSOCK>"
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 #, fuzzy
182 #| msgid "is reserved for future user space protocols."
183 msgid "Reserved for user-mode socket protocols."
184 msgstr "é reservado para futuros protocolos do espaço do usuário."
185
186 #. type: TP
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "B<NETLINK_FIREWALL> (up to and including Linux 3.4)"
191 msgstr ""
192
193 #. removed by commit d16cf20e2f2f13411eece7f7fb72c17d141c4a84
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "Transport IPv4 packets from netfilter to user space. Used by I<ip_queue> "
199 "kernel module. After a long period of being declared obsolete (in favor of "
200 "the more advanced I<nfnetlink_queue> feature), B<NETLINK_FIREWALL> was "
201 "removed in Linux 3.5."
202 msgstr ""
203
204 #. type: TP
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "B<NETLINK_SOCK_DIAG> (since Linux 3.3)"
209 msgstr "B<NETLINK_SOCK_DIAG> (desde o Linux 3.3)"
210
211 #. commit 7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "Query information about sockets of various protocol families from the kernel "
217 "(see B<sock_diag>(7))."
218 msgstr ""
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "B<NETLINK_INET_DIAG> (since Linux 2.6.14)"
225 msgstr "B<NETLINK_INET_DIAG> (desde o Linux 2.6.14)"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid "An obsolete synonym for B<NETLINK_SOCK_DIAG>."
231 msgstr ""
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<NETLINK_NFLOG> (up to and including Linux 3.16)"
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "Netfilter/iptables ULOG."
244 msgstr ""
245
246 #. type: TP
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "B<NETLINK_XFRM>"
251 msgstr "B<NETLINK_XFRM>"
252
253 #. FIXME More details on NETLINK_XFRM needed.
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid "IPsec."
258 msgstr ""
259
260 #. type: TP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "B<NETLINK_SELINUX> (since Linux 2.6.4)"
265 msgstr "B<NETLINK_SELINUX> (desde o Linux 2.6.4)"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid "SELinux event notifications."
271 msgstr ""
272
273 #. type: TP
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "B<NETLINK_ISCSI> (since Linux 2.6.15)"
278 msgstr "B<NETLINK_ISCSI> (desde o Linux 2.6.15)"
279
280 #. FIXME More details on NETLINK_ISCSI needed.
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid "Open-iSCSI."
285 msgstr ""
286
287 #. type: TP
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "B<NETLINK_AUDIT> (since Linux 2.6.6)"
292 msgstr "B<NETLINK_AUDIT> (desde o Linux 2.6.6)"
293
294 #. FIXME More details on NETLINK_AUDIT needed.
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "Auditing."
299 msgstr ""
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "B<NETLINK_FIB_LOOKUP> (since Linux 2.6.13)"
306 msgstr "B<NETLINK_FIB_LOOKUP> (desde o Linux 2.6.13)"
307
308 #. FIXME More details on NETLINK_FIB_LOOKUP needed.
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid "Access to FIB lookup from user space."
313 msgstr ""
314
315 #. type: TP
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "B<NETLINK_CONNECTOR> (since Linux 2.6.14)"
320 msgstr "B<NETLINK_CONNECTOR> (desde o Linux 2.6.14)"
321
322 #. commit baa293e9544bea71361950d071579f0e4d5713ed
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid ""
327 "Kernel connector. See I<Documentation/driver-api/connector.rst> (or I</"
328 "Documentation/connector/connector.*> in Linux 5.2 and earlier) in the Linux "
329 "kernel source tree for further information."
330 msgstr ""
331
332 #. type: TP
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "B<NETLINK_NETFILTER> (since Linux 2.6.14)"
337 msgstr "B<NETLINK_NETFILTER> (desde o Linux 2.6.14)"
338
339 #. FIXME More details on NETLINK_NETFILTER needed.
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid "Netfilter subsystem."
344 msgstr ""
345
346 #. type: TP
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<NETLINK_SCSITRANSPORT> (since Linux 2.6.19)"
351 msgstr "B<NETLINK_SCSITRANSPORT> (desde o Linux 2.6.19)"
352
353 #. commit 84314fd4740ad73550c76dee4a9578979d84af48
354 #. FIXME More details on NETLINK_SCSITRANSPORT needed.
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid "SCSI Transports."
359 msgstr ""
360
361 #. type: TP
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "B<NETLINK_RDMA> (since Linux 3.0)"
366 msgstr "B<NETLINK_RDMA> (desde o Linux 3.0)"
367
368 #. commit b2cbae2c248776d81cc265ff7d48405b6a4cc463
369 #. FIXME More details on NETLINK_RDMA needed.
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 msgid "Infiniband RDMA."
374 msgstr ""
375
376 #. type: TP
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "B<NETLINK_IP6_FW> (up to and including Linux 3.4)"
381 msgstr ""
382
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid ""
387 "Transport IPv6 packets from netfilter to user space. Used by I<ip6_queue> "
388 "kernel module."
389 msgstr ""
390
391 #. type: TP
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "B<NETLINK_DNRTMSG>"
396 msgstr "B<NETLINK_DNRTMSG>"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid "DECnet routing messages."
402 msgstr ""
403
404 #. type: TP
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "B<NETLINK_KOBJECT_UEVENT> (since Linux 2.6.10)"
409 msgstr "B<NETLINK_KOBJECT_UEVENT> (desde o Linux 2.6.10)"
410
411 #. FIXME More details on NETLINK_KOBJECT_UEVENT needed.
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid "Kernel messages to user space."
416 msgstr ""
417
418 #. type: TP
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "B<NETLINK_GENERIC> (since Linux 2.6.15)"
423 msgstr "B<NETLINK_GENERIC> (desde o Linux 2.6.15)"
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid "Generic netlink family for simplified netlink usage."
429 msgstr ""
430
431 #. type: TP
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "B<NETLINK_CRYPTO> (since Linux 3.2)"
436 msgstr "B<NETLINK_CRYPTO> (desde o Linux 3.2)"
437
438 #. commit a38f7907b926e4c6c7d389ad96cc38cec2e5a9e9
439 #. Author: Steffen Klassert <[email protected]>
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "Netlink interface to request information about ciphers registered with the "
445 "kernel crypto API as well as allow configuration of the kernel crypto API."
446 msgstr ""
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, fuzzy
452 #| msgid ""
453 #| "Netlink messages consist of a byte stream with one or multiple "
454 #| "B<nlmsghdr> headers and associated payload. For multipart messages the "
455 #| "first and all following headers have the B<NLM_F_MULTI> flag set, except "
456 #| "for the last header which has the type B<NLMSG_DONE>. The byte stream "
457 #| "should only be accessed with the standard B<NLMSG_*> macros, see "
458 #| "B<netlink>(3)."
459 msgid ""
460 "Netlink messages consist of a byte stream with one or multiple I<nlmsghdr> "
461 "headers and associated payload. The byte stream should be accessed only "
462 "with the standard B<NLMSG_*> macros. See B<netlink>(3) for further "
463 "information."
464 msgstr ""
465 "Mensagens do netlink consistem de uma sequência de bytes com um ou vários "
466 "cabeçalhos B<nlmsghdr>, e 'payload' associado. Para mensagens multipartes, o "
467 "primeiro cabeçalho e todos os seguintes têm o sinalizador B<NLM_F_MULTI> "
468 "setado, exceto pelo último cabeçalho, que tem o tipo B<NLMSG_DONE>. A "
469 "sequência de bytes deveria ser acessada somente com as macros B<NLMSG_*> "
470 "padrões, veja B<netlink>(3)."
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, fuzzy
476 #| msgid ""
477 #| "Netlink messages consist of a byte stream with one or multiple "
478 #| "B<nlmsghdr> headers and associated payload. For multipart messages the "
479 #| "first and all following headers have the B<NLM_F_MULTI> flag set, except "
480 #| "for the last header which has the type B<NLMSG_DONE>. The byte stream "
481 #| "should only be accessed with the standard B<NLMSG_*> macros, see "
482 #| "B<netlink>(3)."
483 msgid ""
484 "In multipart messages (multiple I<nlmsghdr> headers with associated payload "
485 "in one byte stream) the first and all following headers have the "
486 "B<NLM_F_MULTI> flag set, except for the last header which has the type "
487 "B<NLMSG_DONE>."
488 msgstr ""
489 "Mensagens do netlink consistem de uma sequência de bytes com um ou vários "
490 "cabeçalhos B<nlmsghdr>, e 'payload' associado. Para mensagens multipartes, o "
491 "primeiro cabeçalho e todos os seguintes têm o sinalizador B<NLM_F_MULTI> "
492 "setado, exceto pelo último cabeçalho, que tem o tipo B<NLMSG_DONE>. A "
493 "sequência de bytes deveria ser acessada somente com as macros B<NLMSG_*> "
494 "padrões, veja B<netlink>(3)."
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid "After each I<nlmsghdr> the payload follows."
500 msgstr ""
501
502 #. type: Plain text
503 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
504 #: opensuse-leap-16-1 opensuse-tumbleweed
505 #, fuzzy, no-wrap
506 #| msgid ""
507 #| "struct nlmsghdr\n"
508 #| "{\n"
509 #| "\t__u32\tnlmsg_len;\t/* Length of message including header */\n"
510 #| "\t__u16\tnlmsg_type;\t/* Message content */\n"
511 #| "\t__u16\tnlmsg_flags;\t/* Additional flags */\n"
512 #| "\t__u32\tnlmsg_seq;\t/* Sequence number */\n"
513 #| "\t__u32\tnlmsg_pid;\t/* PID of the process that opened the socket */\n"
514 #| "};\n"
515 msgid ""
516 "struct nlmsghdr {\n"
517 " __u32 nlmsg_len; /* Size of message including header */\n"
518 " __u16 nlmsg_type; /* Type of message content */\n"
519 " __u16 nlmsg_flags; /* Additional flags */\n"
520 " __u32 nlmsg_seq; /* Sequence number */\n"
521 " __u32 nlmsg_pid; /* Sender port ID */\n"
522 "};\n"
523 msgstr ""
524 "struct nlmsghdr\n"
525 "{\n"
526 "\t__u32\tnlmsg_len;\t/* Tamanho da mensagem com o cabeçalho */\n"
527 "\t__u16\tnlmsg_type;\t/* Conteúdo da mensagem */\n"
528 "\t__u16\tnlmsg_flags;\t/* sinalizadores adicionais */\n"
529 "\t__u32\tnlmsg_seq;\t/* Número de sequência */\n"
530 "\t__u32\tnlmsg_pid;\t/* PID de envio de processo */\n"
531 "};\n"
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, fuzzy
537 #| msgid ""
538 #| "After each B<nlmsghdr> the payload follows. B<nlmsg_type> can be one of "
539 #| "the standard message types: B<NLMSG_NOOP> message is to be ignored, "
540 #| "B<NLMSG_ERROR> the message signals an error and the payload contains a "
541 #| "I<nlmsgerr> structure, B<NLMSG_DONE> message terminates a multipart "
542 #| "message,"
543 msgid ""
544 "I<nlmsg_type> can be one of the standard message types: B<NLMSG_NOOP> "
545 "message is to be ignored, B<NLMSG_ERROR> message signals an error and the "
546 "payload contains an I<nlmsgerr> structure, B<NLMSG_DONE> message terminates "
547 "a multipart message. Error messages get the original request appended, "
548 "unless the user requests to cap the error message, and get extra error data "
549 "if requested."
550 msgstr ""
551 "Depois de cada B<nlmsghdr> o 'payload' se segue. B<nlmsg_type> pode ser um "
552 "dos tipos de mensagem padrão: B<NLMSG_NOOP> mensagem deve ser ignorada, "
553 "B<NLMSG_ERROR> a mensagem sinaliza um erro e o 'payload' contém uma "
554 "estrutura I<nlmsgerr>, B<NLMSG_DONE> mensagem encerra uma mensagem "
555 "multiparte,"
556
557 #. type: Plain text
558 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
559 #: opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid ""
562 "struct nlmsgerr {\n"
563 " int error; /* Negative errno or 0 for acknowledgements */\n"
564 " struct nlmsghdr msg; /* Message header that caused the error */\n"
565 " /*\n"
566 " * followed by the message contents\n"
567 " * unless NETLINK_CAP_ACK was set\n"
568 " * or the ACK indicates success (error == 0).\n"
569 " * For example Generic Netlink message with attributes.\n"
570 " * message size is aligned with NLMSG_ALIGN()\n"
571 " */\n"
572 " /*\n"
573 " * followed by TLVs defined in enum nlmsgerr_attrs\n"
574 " * if NETLINK_EXT_ACK was set\n"
575 " */\n"
576 "};\n"
577 msgstr ""
578
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 msgid ""
583 "A netlink family usually specifies more message types, see the appropriate "
584 "manual pages for that, for example, B<rtnetlink>(7) for B<NETLINK_ROUTE>."
585 msgstr ""
586 "Uma família netlink geralmente especifica mais tipos de mensagem, veja a "
587 "página de manual apropriada para isso, por exemplo B<rtnetlink>(7) para "
588 "B<NETLINK_ROUTE>."
589
590 #. type: tbl table
591 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
592 #: opensuse-tumbleweed
593 #, fuzzy, no-wrap
594 #| msgid "Standard flag bits in I<nlmsg_flags>"
595 msgid "Standard flag bits in \\f[I]nlmsg_flags\\fR"
596 msgstr "Bits de Sinalização Padrão em I<nlmsg_flags>"
597
598 #. type: tbl table
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 #, no-wrap
602 msgid "_"
603 msgstr "_"
604
605 #. type: tbl table
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, no-wrap
609 msgid "NLM_F_REQUEST"
610 msgstr "NLM_F_REQUEST"
611
612 #. type: tbl table
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 #, fuzzy, no-wrap
616 #| msgid "NLM_F_REQUEST:set on all request messages"
617 msgid "Must be set on all request messages."
618 msgstr "NLM_F_REQUEST:setado em todas as mensagens de pedido"
619
620 #. type: tbl table
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "NLM_F_MULTI"
625 msgstr "NLM_F_MULTI"
626
627 #. type: tbl table
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid ""
632 "The message is part of a multipart message terminated by\n"
633 "B<NLMSG_DONE>."
634 msgstr ""
635 "A mensagem é parte de uma mensagem multipart terminada por\n"
636 "B<NLMSG_DONE>."
637
638 #. type: tbl table
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 #, no-wrap
642 msgid "NLM_F_ACK"
643 msgstr "NLM_F_ACK"
644
645 #. type: tbl table
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 #, fuzzy, no-wrap
649 #| msgid "NLM_F_ACK:reply with an acknowledgment on success"
650 msgid "Request for an acknowledgement on success."
651 msgstr "NLM_F_ACK:responde com um reconhecimento se bem-sucedido"
652
653 #. type: tbl table
654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
656 #, no-wrap
657 msgid "NLM_F_ECHO"
658 msgstr "NLM_F_ECHO"
659
660 #. type: tbl table
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 #, no-wrap
664 msgid "Echo this request."
665 msgstr "Ecoa este pedido."
666
667 #. type: tbl table
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 #, no-wrap
671 msgid "Additional flag bits for GET requests"
672 msgstr "Bits adicionais de sinalização para pedidos GET"
673
674 #. type: tbl table
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 #, no-wrap
678 msgid "NLM_F_ROOT"
679 msgstr "NLM_F_ROOT"
680
681 #. type: tbl table
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 #, no-wrap
685 msgid "Return the complete table instead of a single entry."
686 msgstr "Retorna a tabela completa em vez de uma entrada única."
687
688 #. type: tbl table
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 #, no-wrap
692 msgid "NLM_F_MATCH"
693 msgstr "NLM_F_MATCH"
694
695 #. type: tbl table
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
698 #, no-wrap
699 msgid ""
700 "Return all entries matching criteria passed in message content.\n"
701 "Not implemented yet."
702 msgstr ""
703
704 #. type: tbl table
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 #, no-wrap
708 msgid "NLM_F_ATOMIC"
709 msgstr "NLM_F_ATOMIC"
710
711 #. type: tbl table
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid "Return an atomic snapshot of the table."
716 msgstr "Retorna um snapshot atômico da tabela."
717
718 #. type: tbl table
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 #, no-wrap
722 msgid "NLM_F_DUMP"
723 msgstr "NLM_F_DUMP"
724
725 #. type: tbl table
726 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
727 #: opensuse-tumbleweed
728 #, fuzzy, no-wrap
729 #| msgid "(NLM_F_ROOT|NLM_F_MATCH)."
730 msgid ""
731 "Convenience macro;\n"
732 "equivalent to\n"
733 "(NLM_F_ROOT|NLM_F_MATCH)."
734 msgstr "(NLM_F_ROOT|NLM_F_MATCH)."
735
736 #. type: Plain text
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, fuzzy
740 #| msgid "Note that NLM_F_ATOMIC requires CAP_NET_ADMIN or super user rights."
741 msgid ""
742 "Note that B<NLM_F_ATOMIC> requires the B<CAP_NET_ADMIN> capability or an "
743 "effective UID of 0."
744 msgstr ""
745 "Note que NLM_F_ATOMIC requer CAP_NET_ADMIN ou direitos de super usuário."
746
747 #. type: tbl table
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 #, no-wrap
751 msgid "Additional flag bits for NEW requests"
752 msgstr "Bits adicionais de sinalização para pedidos NEW"
753
754 #. type: tbl table
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, no-wrap
758 msgid "NLM_F_REPLACE"
759 msgstr "NLM_F_REPLACE"
760
761 #. type: tbl table
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, fuzzy, no-wrap
765 #| msgid "Override existing object."
766 msgid "Replace existing matching object."
767 msgstr "Sobrepõe objeto existente."
768
769 #. type: tbl table
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 #, no-wrap
773 msgid "NLM_F_EXCL"
774 msgstr "NLM_F_EXCL"
775
776 #. type: tbl table
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 #, no-wrap
780 msgid "Don't replace if the object already exists."
781 msgstr "Não substitui se o objeto já existe."
782
783 #. type: tbl table
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 #, no-wrap
787 msgid "NLM_F_CREATE"
788 msgstr "NLM_F_CREATE"
789
790 #. type: tbl table
791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
793 #, no-wrap
794 msgid "Create object if it doesn't already exist."
795 msgstr "Cria objeto se ele ainda não existe."
796
797 #. type: tbl table
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 #, no-wrap
801 msgid "NLM_F_APPEND"
802 msgstr "NLM_F_APPEND"
803
804 #. type: tbl table
805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
807 #, no-wrap
808 msgid "Add to the end of the object list."
809 msgstr "Acrescenta ao fim da lista de objetos."
810
811 #. type: Plain text
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 msgid ""
815 "I<nlmsg_seq> and I<nlmsg_pid> are used to track messages. I<nlmsg_pid> "
816 "shows the origin of the message. Note that there isn't a 1:1 relationship "
817 "between I<nlmsg_pid> and the PID of the process if the message originated "
818 "from a netlink socket. See the B<ADDRESS FORMATS> section for further "
819 "information."
820 msgstr ""
821
822 #. FIXME Explain more about nlmsg_seq and nlmsg_pid.
823 #. type: Plain text
824 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
825 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
826 msgid "Both I<nlmsg_seq> and I<nlmsg_pid> are opaque to netlink core."
827 msgstr ""
828
829 #. type: Plain text
830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
832 msgid ""
833 "Netlink is not a reliable protocol. It tries its best to deliver a message "
834 "to its destination(s), but may drop messages when an out-of-memory condition "
835 "or other error occurs. For reliable transfer the sender can request an "
836 "acknowledgement from the receiver by setting the B<NLM_F_ACK> flag. An "
837 "acknowledgement is an B<NLMSG_ERROR> packet with the error field set to 0. "
838 "The application must generate acknowledgements for received messages "
839 "itself. The kernel tries to send an B<NLMSG_ERROR> message for every failed "
840 "packet. A user process should follow this convention too."
841 msgstr ""
842 "Netlink não é um protocolo confiável. Ele tenta fazer o melhor para entregar "
843 "uma mensagem a seu(s) destinatário(s), mas pode perder mensagens quando "
844 "ocorre uma condição de falta de memória, ou outra. Para transferência "
845 "segura, o remetente pode requerer um reconhecimento do receptor, através da "
846 "configuração do sinalizador B<NLM_F_ACK>. Um reconhecimento é um pacote "
847 "B<NLMSG_ERROR> com o campo de erro setado para 0. A aplicação deve gerar "
848 "acks para as próprias mensagens recebidas. O kernel tenta enviar uma "
849 "mensagem B<NLMSG_ERROR> para todos os pacotes falhos. Um processo de usuário "
850 "também deveria seguir esta convenção."
851
852 #. type: Plain text
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 msgid ""
856 "However, reliable transmissions from kernel to user are impossible in any "
857 "case. The kernel can't send a netlink message if the socket buffer is full: "
858 "the message will be dropped and the kernel and the user-space process will "
859 "no longer have the same view of kernel state. It is up to the application "
860 "to detect when this happens (via the B<ENOBUFS> error returned by "
861 "B<recvmsg>(2)) and resynchronize."
862 msgstr ""
863
864 #. type: SS
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 #, no-wrap
868 msgid "Address formats"
869 msgstr "Formatos de endereço"
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 #, fuzzy
875 #| msgid ""
876 #| "The B<sockaddr_nl> structure describes a netlink client in user space or "
877 #| "in the kernel. A sockaddr_nl can be either unicast (only send to one "
878 #| "peer) or send to netlink groups (nl_groups not equal 0)."
879 msgid ""
880 "The I<sockaddr_nl> structure describes a netlink client in user space or in "
881 "the kernel. A I<sockaddr_nl> can be either unicast (only sent to one peer) "
882 "or sent to netlink multicast groups (I<nl_groups> not equal 0)."
883 msgstr ""
884 "A estrutura B<sockaddr_nl> descreve um cliente netlink no espaço do usuário "
885 "no kernel. Um sockaddr_nl pode ser unicast (somente envia para um peer) ou "
886 "enviar para grupos de netlink (nl_groups diferente de 0)."
887
888 #. type: Plain text
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 #, fuzzy, no-wrap
892 #| msgid ""
893 #| "struct sockaddr_nl\n"
894 #| "{\n"
895 #| " sa_family_t nl_family; /* AF_NETLINK */\n"
896 #| " unsigned short nl_pad; /* zero */\n"
897 #| " pid_t nl_pid; /* process pid */\n"
898 #| " __u32 nl_groups; /* multicast groups mask */\n"
899 #| "};\n"
900 msgid ""
901 "struct sockaddr_nl {\n"
902 " sa_family_t nl_family; /* AF_NETLINK */\n"
903 " unsigned short nl_pad; /* Zero */\n"
904 " pid_t nl_pid; /* Port ID */\n"
905 " __u32 nl_groups; /* Multicast groups mask */\n"
906 "};\n"
907 msgstr ""
908 "struct sockaddr_nl\n"
909 "{\n"
910 " sa_family_t nl_family; /* AF_NETLINK */\n"
911 " unsigned short nl_pad; /* zero */\n"
912 " pid_t nl_pid; /* pid do processo */\n"
913 " __u32 nl_groups; /* máscara dos grupos multicast */\n"
914 "};\n"
915
916 #. type: Plain text
917 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
918 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
919 msgid ""
920 "I<nl_pid> is the unicast address of netlink socket. It's always 0 if the "
921 "destination is in the kernel. For a user-space process, I<nl_pid> is "
922 "usually the PID of the process owning the destination socket. However, "
923 "I<nl_pid> identifies a netlink socket, not a process. If a process owns "
924 "several netlink sockets, then I<nl_pid> can be equal to the process ID only "
925 "for at most one socket. There are two ways to assign I<nl_pid> to a netlink "
926 "socket. If the application sets I<nl_pid> before calling B<bind>(2), then "
927 "it is up to the application to make sure that I<nl_pid> is unique. If the "
928 "application sets it to 0, the kernel takes care of assigning it. The kernel "
929 "assigns the process ID to the first netlink socket the process opens and "
930 "assigns a unique I<nl_pid> to every netlink socket that the process "
931 "subsequently creates."
932 msgstr ""
933
934 #. commit d629b836d151d43332492651dd841d32e57ebe3b
935 #. type: Plain text
936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
938 #, fuzzy
939 #| msgid ""
940 #| "Each netlink family has a set of 32 multicast groups. When B<bind>(2) "
941 #| "is called on the socket, the B<nl_groups> field in the B<sockaddr_nl> "
942 #| "should be set to a bitmask of the groups which it wishes to listen to. "
943 #| "The default value for this field is zero which means that no multicasts "
944 #| "will be received. A socket may multicast messages to any of the "
945 #| "multicast groups by setting B<nl_groups> to a bitmask of the groups it "
946 #| "wishes to send to when it calls B<sendmsg>(2) or does a B<connect>(2). "
947 #| "Only users with an effective uid of 0 or the B<CAP_NET_ADMIN> capability "
948 #| "may send or listen to a netlink multicast group. Any replies to a "
949 #| "message received for a multicast group should be sent back to the sending "
950 #| "pid and the multicast group."
951 msgid ""
952 "I<nl_groups> is a bit mask with every bit representing a netlink group "
953 "number. Each netlink family has a set of 32 multicast groups. When "
954 "B<bind>(2) is called on the socket, the I<nl_groups> field in the "
955 "I<sockaddr_nl> should be set to a bit mask of the groups which it wishes to "
956 "listen to. The default value for this field is zero which means that no "
957 "multicasts will be received. A socket may multicast messages to any of the "
958 "multicast groups by setting I<nl_groups> to a bit mask of the groups it "
959 "wishes to send to when it calls B<sendmsg>(2) or does a B<connect>(2). "
960 "Only processes with an effective UID of 0 or the B<CAP_NET_ADMIN> capability "
961 "may send or listen to a netlink multicast group. Since Linux 2.6.13, "
962 "messages can't be broadcast to multiple groups. Any replies to a message "
963 "received for a multicast group should be sent back to the sending PID and "
964 "the multicast group. Some Linux kernel subsystems may additionally allow "
965 "other users to send and/or receive messages. As at Linux 3.0, the "
966 "B<NETLINK_KOBJECT_UEVENT>, B<NETLINK_GENERIC>, B<NETLINK_ROUTE>, and "
967 "B<NETLINK_SELINUX> groups allow other users to receive messages. No groups "
968 "allow other users to send messages."
969 msgstr ""
970 "Cada família de netlink tem um conjunto de 32 grupos de multicast. Quando "
971 "B<bind>(2) é chamado no 'socket', o campo B<nl_groups> no B<sockaddr_nl> "
972 "deveria ser setado para uma máscara de bits do grupo que ele deseja ouvir. O "
973 "valor padrão para este campo é zero, o que significa que nenhum multicast "
974 "será reebido. Um 'socket' podem realizar o multicast de mensagens para "
975 "qualquer um dos grupos de multicast, através da configuração de B<nl_groups> "
976 "para uma máscara de bits dos grupos para os quais ele deseja enviar, quando "
977 "ele chama B<sendmsg>(2) ou executa um B<connect>(2). Somente usuários com "
978 "uid efetivo igual a 0 ou a capabilidade B<CAP_NET_ADMIN> podem enviar ou "
979 "escutar um grupo de multicast netlink. Qualquer resposta a uma mensagem "
980 "recebida de um grupo de multicast deveria ser enviada de volta ao pid "
981 "remetente e ao grupo de multicast."
982
983 #. type: SS
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 #, no-wrap
987 msgid "Socket options"
988 msgstr "Opções de socket"
989
990 #. type: Plain text
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 msgid ""
994 "To set or get a netlink socket option, call B<getsockopt>(2) to read or "
995 "B<setsockopt>(2) to write the option with the option level argument set to "
996 "B<SOL_NETLINK>. Unless otherwise noted, I<optval> is a pointer to an I<int>."
997 msgstr ""
998
999 #. type: TP
1000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1002 #, no-wrap
1003 msgid "B<NETLINK_PKTINFO> (since Linux 2.6.14)"
1004 msgstr "B<NETLINK_PKTINFO> (desde o Linux 2.6.14)"
1005
1006 #. commit 9a4595bc7e67962f13232ee55a64e063062c3a99
1007 #. Author: Patrick McHardy <[email protected]>
1008 #. type: Plain text
1009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1011 msgid ""
1012 "Enable B<nl_pktinfo> control messages for received packets to get the "
1013 "extended destination group number."
1014 msgstr ""
1015
1016 #. type: TP
1017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1019 #, fuzzy, no-wrap
1020 #| msgid "B<NETLINK_DNRTMSG>"
1021 msgid "B<NETLINK_ADD_MEMBERSHIP>"
1022 msgstr "B<NETLINK_DNRTMSG>"
1023
1024 #. type: TQ
1025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1027 #, fuzzy, no-wrap
1028 #| msgid "B<NETLINK_LIST_MEMBERSHIPS> (since Linux 4.2)"
1029 msgid "B<NETLINK_DROP_MEMBERSHIP> (since Linux 2.6.14)"
1030 msgstr "B<NETLINK_LIST_MEMBERSHIPS> (desde o Linux 4.2)"
1031
1032 #. commit 9a4595bc7e67962f13232ee55a64e063062c3a99
1033 #. Author: Patrick McHardy <[email protected]>
1034 #. type: Plain text
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 msgid "Join/leave a group specified by I<optval>."
1038 msgstr ""
1039
1040 #. type: TP
1041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1042 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1043 #, no-wrap
1044 msgid "B<NETLINK_LIST_MEMBERSHIPS> (since Linux 4.2)"
1045 msgstr "B<NETLINK_LIST_MEMBERSHIPS> (desde o Linux 4.2)"
1046
1047 #. commit b42be38b2778eda2237fc759e55e3b698b05b315
1048 #. Author: David Herrmann <[email protected]>
1049 #. type: Plain text
1050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1051 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1052 msgid ""
1053 "Retrieve all groups a socket is a member of. I<optval> is a pointer to "
1054 "B<__u32> and I<optlen> is the size of the array. The array is filled with "
1055 "the full membership set of the socket, and the required array size is "
1056 "returned in I<optlen>."
1057 msgstr ""
1058
1059 #. type: TP
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 #, no-wrap
1063 msgid "B<NETLINK_BROADCAST_ERROR> (since Linux 2.6.30)"
1064 msgstr "B<NETLINK_BROADCAST_ERROR> (desde o Linux 2.6.30)"
1065
1066 #. commit be0c22a46cfb79ab2342bb28fde99afa94ef868e
1067 #. Author: Pablo Neira Ayuso <[email protected]>
1068 #. type: Plain text
1069 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1070 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1071 msgid ""
1072 "When not set, B<netlink_broadcast()> only reports B<ESRCH> errors and "
1073 "silently ignore B<ENOBUFS> errors."
1074 msgstr ""
1075
1076 #. type: TP
1077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1079 #, no-wrap
1080 msgid "B<NETLINK_NO_ENOBUFS> (since Linux 2.6.30)"
1081 msgstr "B<NETLINK_NO_ENOBUFS> (desde o Linux 2.6.30)"
1082
1083 #. commit 38938bfe3489394e2eed5e40c9bb8f66a2ce1405
1084 #. Author: Pablo Neira Ayuso <[email protected]>
1085 #. type: Plain text
1086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1088 msgid ""
1089 "This flag can be used by unicast and broadcast listeners to avoid receiving "
1090 "B<ENOBUFS> errors."
1091 msgstr ""
1092
1093 #. type: TP
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 #, no-wrap
1097 msgid "B<NETLINK_LISTEN_ALL_NSID> (since Linux 4.2)"
1098 msgstr "B<NETLINK_LISTEN_ALL_NSID> (desde o Linux 4.2)"
1099
1100 #. commit 59324cf35aba5336b611074028777838a963d03b
1101 #. Author: Nicolas Dichtel <[email protected]>
1102 #. type: Plain text
1103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1105 msgid ""
1106 "When set, this socket will receive netlink notifications from all network "
1107 "namespaces that have an I<nsid> assigned into the network namespace where "
1108 "the socket has been opened. The I<nsid> is sent to user space via an "
1109 "ancillary data."
1110 msgstr ""
1111
1112 #. type: TP
1113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1115 #, no-wrap
1116 msgid "B<NETLINK_CAP_ACK> (since Linux 4.3)"
1117 msgstr "B<NETLINK_CAP_ACK> (desde o Linux 4.3)"
1118
1119 #. commit 0a6a3a23ea6efde079a5b77688541a98bf202721
1120 #. Author: Christophe Ricard <[email protected]>
1121 #. type: Plain text
1122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1124 msgid ""
1125 "The kernel may fail to allocate the necessary room for the acknowledgement "
1126 "message back to user space. This option trims off the payload of the "
1127 "original netlink message. The netlink message header is still included, so "
1128 "the user can guess from the sequence number which message triggered the "
1129 "acknowledgement."
1130 msgstr ""
1131
1132 #. type: SH
1133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1135 #, no-wrap
1136 msgid "VERSIONS"
1137 msgstr "VERSÕES"
1138
1139 #. type: Plain text
1140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1142 #, fuzzy
1143 #| msgid "The socket interface to netlink is a new feature of Linux 2.2"
1144 msgid "The socket interface to netlink first appeared Linux 2.2."
1145 msgstr ""
1146 "A interface de 'socket' para netlink é uma realização nova no Linux 2.2"
1147
1148 #. type: Plain text
1149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1151 msgid ""
1152 "Linux 2.0 supported a more primitive device-based netlink interface (which "
1153 "is still available as a compatibility option). This obsolete interface is "
1154 "not described here."
1155 msgstr ""
1156 "O Linux 2.0 suporta uma interface netlink baseada em um dispositivo mais "
1157 "primitivo (que ainda está disponível como uma opção de compatibilidade). "
1158 "Esta interface obsoleta não é descrita aqui."
1159
1160 #. type: SH
1161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1163 #, no-wrap
1164 msgid "NOTES"
1165 msgstr "NOTAS"
1166
1167 #. type: Plain text
1168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1170 msgid ""
1171 "It is often better to use netlink via I<libnetlink> or I<libnl> than via the "
1172 "low-level kernel interface."
1173 msgstr ""
1174 "Freqüentemente é melhor usar netlink via B<libnetlink> ou I<libnl> do que "
1175 "via interface de kernel de baixo nível."
1176
1177 #. type: SH
1178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1180 #, no-wrap
1181 msgid "BUGS"
1182 msgstr "BUGS"
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 msgid "This manual page is not complete."
1188 msgstr "Esta página de manual não está completa."
1189
1190 #. type: SH
1191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1193 #, no-wrap
1194 msgid "EXAMPLES"
1195 msgstr "EXEMPLOS"
1196
1197 #. type: Plain text
1198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1200 msgid ""
1201 "The following example creates a B<NETLINK_ROUTE> netlink socket which will "
1202 "listen to the B<RTMGRP_LINK> (network interface create/delete/up/down "
1203 "events) and B<RTMGRP_IPV4_IFADDR> (IPv4 addresses add/delete events) "
1204 "multicast groups."
1205 msgstr ""
1206
1207 #. type: Plain text
1208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1210 #, fuzzy, no-wrap
1211 #| msgid ""
1212 #| "memset(&sa, 0, sizeof(sa));\n"
1213 #| "sa.nl_family = AF_NETLINK;\n"
1214 #| "sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;\n"
1215 msgid ""
1216 "struct sockaddr_nl sa;\n"
1217 "\\&\n"
1218 "memset(&sa, 0, sizeof(sa));\n"
1219 "sa.nl_family = AF_NETLINK;\n"
1220 "sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;\n"
1221 "\\&\n"
1222 "fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);\n"
1223 "bind(fd, (struct sockaddr *) &sa, sizeof(sa));\n"
1224 msgstr ""
1225 "memset(&sa, 0, sizeof(sa));\n"
1226 "sa.nl_family = AF_NETLINK;\n"
1227 "sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;\n"
1228
1229 #. type: Plain text
1230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1232 msgid ""
1233 "The next example demonstrates how to send a netlink message to the kernel "
1234 "(pid 0). Note that the application must take care of message sequence "
1235 "numbers in order to reliably track acknowledgements."
1236 msgstr ""
1237
1238 #. type: Plain text
1239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1241 #, no-wrap
1242 msgid ""
1243 "struct nlmsghdr *nh; /* The nlmsghdr with payload to send */\n"
1244 "struct sockaddr_nl sa;\n"
1245 "struct iovec iov = { nh, nh-E<gt>nlmsg_len };\n"
1246 "struct msghdr msg;\n"
1247 "\\&\n"
1248 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1249 "memset(&sa, 0, sizeof(sa));\n"
1250 "sa.nl_family = AF_NETLINK;\n"
1251 "nh-E<gt>nlmsg_pid = 0;\n"
1252 "nh-E<gt>nlmsg_seq = ++sequence_number;\n"
1253 "/* Request an ack from kernel by setting NLM_F_ACK */\n"
1254 "nh-E<gt>nlmsg_flags |= NLM_F_ACK;\n"
1255 "\\&\n"
1256 "sendmsg(fd, &msg, 0);\n"
1257 msgstr ""
1258
1259 #. type: Plain text
1260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1262 msgid "And the last example is about reading netlink message."
1263 msgstr ""
1264
1265 #. type: Plain text
1266 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1267 #: opensuse-leap-16-1 opensuse-tumbleweed
1268 #, no-wrap
1269 msgid ""
1270 "int size;\n"
1271 "/* 8192 to avoid message truncation on platforms with\n"
1272 " page size E<gt> 4096 */\n"
1273 "struct nlmsghdr buf[8192/sizeof(struct nlmsghdr)];\n"
1274 "struct iovec iov = { buf, sizeof(buf) };\n"
1275 "struct sockaddr_nl sa;\n"
1276 "struct msghdr msg;\n"
1277 "struct nlmsghdr *nh;\n"
1278 "\\&\n"
1279 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1280 "size = recvmsg(fd, &msg, 0);\n"
1281 "\\&\n"
1282 "for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, size);\n"
1283 " nh = NLMSG_NEXT (nh, size)) {\n"
1284 " /* The end of multipart message */\n"
1285 " if (nh-E<gt>nlmsg_type == NLMSG_DONE)\n"
1286 " return;\n"
1287 "\\&\n"
1288 " if (nh-E<gt>nlmsg_type == NLMSG_ERROR)\n"
1289 " /* Do some error handling */\n"
1290 " ...\n"
1291 "\\&\n"
1292 " /* Continue with parsing payload */\n"
1293 " ...\n"
1294 "}\n"
1295 msgstr ""
1296
1297 #. type: SH
1298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1300 #, no-wrap
1301 msgid "SEE ALSO"
1302 msgstr "VEJA TAMBÉM"
1303
1304 #. type: Plain text
1305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1307 msgid ""
1308 "B<cmsg>(3), B<netlink>(3), B<capabilities>(7), B<rtnetlink>(7), "
1309 "B<sock_diag>(7)"
1310 msgstr ""
1311 "B<cmsg>(3), B<netlink>(3), B<capabilities>(7), B<rtnetlink>(7), "
1312 "B<sock_diag>(7)"
1313
1314 #. type: Plain text
1315 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1316 #: opensuse-tumbleweed
1317 #, fuzzy
1318 #| msgid "ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink"
1319 msgid ""
1320 "E<.UR ftp:\\://ftp.inr.ac.ru\\:/ip-routing\\:/iproute2*> information about "
1321 "libnetlink E<.UE>"
1322 msgstr "ftp://ftp.inr.ac.ru/ip-routing/iproute2* para libnetlink"
1323
1324 #. type: Plain text
1325 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1326 #: opensuse-tumbleweed
1327 #, fuzzy
1328 #| msgid "ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink"
1329 msgid ""
1330 "E<.UR http:\\://www.infradead.org\\:/\\[ti]tgr\\:/libnl/> information about "
1331 "libnl E<.UE>"
1332 msgstr "ftp://ftp.inr.ac.ru/ip-routing/iproute2* para libnetlink"
1333
1334 #. type: Plain text
1335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1337 msgid "RFC 3549 \"Linux Netlink as an IP Services Protocol\""
1338 msgstr "RFC 3549 \"Linux Netlink as an IP Services Protocol\""
1339
1340 #. type: TH
1341 #: debian-trixie
1342 #, no-wrap
1343 msgid "2024-05-02"
1344 msgstr "2 maio 2024"
1345
1346 #. type: TH
1347 #: debian-trixie
1348 #, no-wrap
1349 msgid "Linux man-pages 6.9.1"
1350 msgstr "Linux man-pages 6.9.1"
1351
1352 #. type: Plain text
1353 #: debian-trixie fedora-44 fedora-rawhide
1354 #, fuzzy
1355 #| msgid ""
1356 #| "Netlink is used to transfer information between kernel modules and user "
1357 #| "space processes. It consists of a standard sockets based interface for "
1358 #| "user processes and an internal kernel API for kernel modules. The "
1359 #| "internal kernel interface is not documented in this man page. Also there "
1360 #| "is an obsolete netlink interface via netlink character devices, this "
1361 #| "interface is not documented here and is only provided for backwards "
1362 #| "compatibility."
1363 msgid ""
1364 "Netlink is used to transfer information between the kernel and user-space "
1365 "processes. It consists of a standard sockets-based interface for user space "
1366 "processes and an internal kernel API for kernel modules. The internal "
1367 "kernel interface is not documented in this manual page. There is also an "
1368 "obsolete netlink interface via netlink character devices; this interface is "
1369 "not documented here and is provided only for backward compatibility."
1370 msgstr ""
1371 "Netlink é usado para transferir informação entre módulos do kernel e "
1372 "processos do espaço do usuário. Consiste de uma interface padrão baseada em "
1373 "'sockets', para processos de usuário e uma API interna do kernel para "
1374 "módulos. A interface interna do kernel não é documentada nesta página do "
1375 "manual. Há também uma interface netlink obsoleta, via dispositivos de "
1376 "caracteres netlink, esta interface não é documentada aqui e só é fornecida "
1377 "para compatibilidade pregresa."
1378
1379 #. type: Plain text
1380 #: debian-trixie
1381 #, fuzzy, no-wrap
1382 #| msgid ""
1383 #| "struct nlmsghdr\n"
1384 #| "{\n"
1385 #| "\t__u32\tnlmsg_len;\t/* Length of message including header */\n"
1386 #| "\t__u16\tnlmsg_type;\t/* Message content */\n"
1387 #| "\t__u16\tnlmsg_flags;\t/* Additional flags */\n"
1388 #| "\t__u32\tnlmsg_seq;\t/* Sequence number */\n"
1389 #| "\t__u32\tnlmsg_pid;\t/* PID of the process that opened the socket */\n"
1390 #| "};\n"
1391 msgid ""
1392 "struct nlmsghdr {\n"
1393 " __u32 nlmsg_len; /* Length of message including header */\n"
1394 " __u16 nlmsg_type; /* Type of message content */\n"
1395 " __u16 nlmsg_flags; /* Additional flags */\n"
1396 " __u32 nlmsg_seq; /* Sequence number */\n"
1397 " __u32 nlmsg_pid; /* Sender port ID */\n"
1398 "};\n"
1399 msgstr ""
1400 "struct nlmsghdr\n"
1401 "{\n"
1402 "\t__u32\tnlmsg_len;\t/* Tamanho da mensagem com o cabeçalho */\n"
1403 "\t__u16\tnlmsg_type;\t/* Conteúdo da mensagem */\n"
1404 "\t__u16\tnlmsg_flags;\t/* sinalizadores adicionais */\n"
1405 "\t__u32\tnlmsg_seq;\t/* Número de sequência */\n"
1406 "\t__u32\tnlmsg_pid;\t/* PID de envio de processo */\n"
1407 "};\n"
1408
1409 #. type: Plain text
1410 #: debian-trixie
1411 #, no-wrap
1412 msgid ""
1413 "struct nlmsgerr {\n"
1414 " int error; /* Negative errno or 0 for acknowledgements */\n"
1415 " struct nlmsghdr msg; /* Message header that caused the error */\n"
1416 " /*\n"
1417 " * followed by the message contents\n"
1418 " * unless NETLINK_CAP_ACK was set\n"
1419 " * or the ACK indicates success (error == 0).\n"
1420 " * For example Generic Netlink message with attributes.\n"
1421 " * message length is aligned with NLMSG_ALIGN()\n"
1422 " */\n"
1423 " /*\n"
1424 " * followed by TLVs defined in enum nlmsgerr_attrs\n"
1425 " * if NETLINK_EXT_ACK was set\n"
1426 " */\n"
1427 "};\n"
1428 msgstr ""
1429
1430 #. type: tbl table
1431 #: debian-trixie fedora-44 fedora-rawhide
1432 #, no-wrap
1433 msgid "Standard flag bits in I<nlmsg_flags>"
1434 msgstr "Bits de Sinalização Padrão em I<nlmsg_flags>"
1435
1436 #. type: tbl table
1437 #: debian-trixie fedora-44 fedora-rawhide
1438 #, fuzzy, no-wrap
1439 #| msgid "(NLM_F_ROOT|NLM_F_MATCH)."
1440 msgid ""
1441 "Convenience macro; equivalent to\n"
1442 "(NLM_F_ROOT|NLM_F_MATCH)."
1443 msgstr "(NLM_F_ROOT|NLM_F_MATCH)."
1444
1445 #. type: Plain text
1446 #: debian-trixie
1447 #, no-wrap
1448 msgid ""
1449 "int len;\n"
1450 "/* 8192 to avoid message truncation on platforms with\n"
1451 " page size E<gt> 4096 */\n"
1452 "struct nlmsghdr buf[8192/sizeof(struct nlmsghdr)];\n"
1453 "struct iovec iov = { buf, sizeof(buf) };\n"
1454 "struct sockaddr_nl sa;\n"
1455 "struct msghdr msg;\n"
1456 "struct nlmsghdr *nh;\n"
1457 "\\&\n"
1458 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1459 "len = recvmsg(fd, &msg, 0);\n"
1460 "\\&\n"
1461 "for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);\n"
1462 " nh = NLMSG_NEXT (nh, len)) {\n"
1463 " /* The end of multipart message */\n"
1464 " if (nh-E<gt>nlmsg_type == NLMSG_DONE)\n"
1465 " return;\n"
1466 "\\&\n"
1467 " if (nh-E<gt>nlmsg_type == NLMSG_ERROR)\n"
1468 " /* Do some error handling */\n"
1469 " ...\n"
1470 "\\&\n"
1471 " /* Continue with parsing payload */\n"
1472 " ...\n"
1473 "}\n"
1474 msgstr ""
1475
1476 #. type: Plain text
1477 #: debian-trixie fedora-44 fedora-rawhide
1478 #, fuzzy
1479 #| msgid "ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink"
1480 msgid ""
1481 "E<.UR ftp://ftp.inr.ac.ru\\:/ip-routing\\:/iproute2*> information about "
1482 "libnetlink E<.UE>"
1483 msgstr "ftp://ftp.inr.ac.ru/ip-routing/iproute2* para libnetlink"
1484
1485 #. type: Plain text
1486 #: debian-trixie fedora-44 fedora-rawhide
1487 #, fuzzy
1488 #| msgid "ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink"
1489 msgid ""
1490 "E<.UR http://www.infradead.org\\:/\\[ti]tgr\\:/libnl/> information about "
1491 "libnl E<.UE>"
1492 msgstr "ftp://ftp.inr.ac.ru/ip-routing/iproute2* para libnetlink"
1493
1494 #. type: TH
1495 #: fedora-44 fedora-rawhide
1496 #, no-wrap
1497 msgid "2024-11-17"
1498 msgstr "17 novembro 2024"
1499
1500 #. type: TH
1501 #: fedora-44 fedora-rawhide
1502 #, no-wrap
1503 msgid "Linux man-pages 6.13"
1504 msgstr "Linux man-pages 6.13"
1505
1506 #. type: TH
1507 #: mageia-cauldron
1508 #, no-wrap
1509 msgid "Linux man-pages 6.17"
1510 msgstr "Linux man-pages 6.17"
1511
1512 #. type: TH
1513 #: opensuse-leap-16-1 opensuse-tumbleweed
1514 #, no-wrap
1515 msgid "Linux man-pages (unreleased)"
1516 msgstr "Linux man-pages (não lançado)"