# Brazilian Portuguese translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Rubens de Jesus Nogueira , 2000. # André Luiz Fassone , 2000. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:32+0200\n" "PO-Revision-Date: 2000-05-31 17:26+0200\n" "Last-Translator: André Luiz Fassone \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Lokalize 20.04.1\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "netlink" msgstr "netlink" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 fevereiro 2026" #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.17" msgid "Linux man-pages 6.18" msgstr "Linux man-pages 6.17" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NOME" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "netlink, PF_NETLINK - Communication between kernel and user." msgid "netlink - communication between kernel and user space (AF_NETLINK)" msgstr "netlink, PF_NETLINK - Comunicação entre o kernel e o usuário" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "SINOPSE" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#include Easm/types.hE>\n" "B<#include Esys/socket.hE>\n" "B<#include Elinux/netlink.hE>\n" msgstr "" "B<#include Easm/types.hE>\n" "B<#include Esys/socket.hE>\n" "B<#include Elinux/netlink.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<, >IB<);>\n" msgstr "BIB<, >IB<);>\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "DESCRIÇÃO" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "" #| "Netlink is used to transfer information between kernel modules and user " #| "space processes. It consists of a standard sockets based interface for " #| "user processes and an internal kernel API for kernel modules. The " #| "internal kernel interface is not documented in this man page. Also there " #| "is an obsolete netlink interface via netlink character devices, this " #| "interface is not documented here and is only provided for backwards " #| "compatibility." msgid "" "Netlink is used to transfer information between the kernel and user-space " "processes. It consists of a standard sockets-based interface for user space " "processes and an internal kernel API for kernel modules. The internal " "kernel interface is not documented in this manual page. There is also an " "obsolete netlink interface via netlink character devices; this interface is " "not documented here, and is provided only for backward compatibility." msgstr "" "Netlink é usado para transferir informação entre módulos do kernel e " "processos do espaço do usuário. Consiste de uma interface padrão baseada em " "'sockets', para processos de usuário e uma API interna do kernel para " "módulos. A interface interna do kernel não é documentada nesta página do " "manual. Há também uma interface netlink obsoleta, via dispositivos de " "caracteres netlink, esta interface não é documentada aqui e só é fornecida " "para compatibilidade pregresa." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Netlink is a datagram-oriented service. Both B and B " "are valid values for I. However, the netlink protocol does not " "distinguish between datagram and raw sockets." msgstr "" "Netlink é um serviço orientado a datagrama. Tanto B quanto " "B são valores válidos para I; porém, o protocolo " "netlink não distingue entre datagramas e 'sockets' diretos." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I selects the kernel module or netlink group to communicate " "with. The currently assigned netlink families are:" msgstr "" "I seleciona o módulo do kernel ou grupo de netlink para se " "comunicar. As famílias de netlink atribuídas atualmente são:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Receives routing and link updates and may be used to modify the routing " "tables (both IPv4 and IPv6), IP addresses, link parameters, neighbor setups, " "queueing disciplines, traffic classes, and packet classifiers (see " "B(7))." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (Linux 2.6.13 to Linux 2.16.17)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Messages from 1-wire subsystem." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "is reserved for future user space protocols." msgid "Reserved for user-mode socket protocols." msgstr "é reservado para futuros protocolos do espaço do usuário." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (up to and including Linux 3.4)" msgstr "" #. removed by commit d16cf20e2f2f13411eece7f7fb72c17d141c4a84 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Transport IPv4 packets from netfilter to user space. Used by I " "kernel module. After a long period of being declared obsolete (in favor of " "the more advanced I feature), B was " "removed in Linux 3.5." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 3.3)" msgstr "B (desde o Linux 3.3)" #. commit 7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Query information about sockets of various protocol families from the kernel " "(see B(7))." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.14)" msgstr "B (desde o Linux 2.6.14)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "An obsolete synonym for B." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (up to and including Linux 3.16)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Netfilter/iptables ULOG." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. FIXME More details on NETLINK_XFRM needed. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "IPsec." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.4)" msgstr "B (desde o Linux 2.6.4)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "SELinux event notifications." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.15)" msgstr "B (desde o Linux 2.6.15)" #. FIXME More details on NETLINK_ISCSI needed. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Open-iSCSI." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.6)" msgstr "B (desde o Linux 2.6.6)" #. FIXME More details on NETLINK_AUDIT needed. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Auditing." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.13)" msgstr "B (desde o Linux 2.6.13)" #. FIXME More details on NETLINK_FIB_LOOKUP needed. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Access to FIB lookup from user space." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.14)" msgstr "B (desde o Linux 2.6.14)" #. commit baa293e9544bea71361950d071579f0e4d5713ed #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Kernel connector. See I (or I in Linux 5.2 and earlier) in the Linux " "kernel source tree for further information." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.14)" msgstr "B (desde o Linux 2.6.14)" #. FIXME More details on NETLINK_NETFILTER needed. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Netfilter subsystem." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.19)" msgstr "B (desde o Linux 2.6.19)" #. commit 84314fd4740ad73550c76dee4a9578979d84af48 #. FIXME More details on NETLINK_SCSITRANSPORT needed. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "SCSI Transports." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 3.0)" msgstr "B (desde o Linux 3.0)" #. commit b2cbae2c248776d81cc265ff7d48405b6a4cc463 #. FIXME More details on NETLINK_RDMA needed. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Infiniband RDMA." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (up to and including Linux 3.4)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Transport IPv6 packets from netfilter to user space. Used by I " "kernel module." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "DECnet routing messages." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (desde o Linux 2.6.10)" #. FIXME More details on NETLINK_KOBJECT_UEVENT needed. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Kernel messages to user space." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.15)" msgstr "B (desde o Linux 2.6.15)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Generic netlink family for simplified netlink usage." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 3.2)" msgstr "B (desde o Linux 3.2)" #. commit a38f7907b926e4c6c7d389ad96cc38cec2e5a9e9 #. Author: Steffen Klassert #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Netlink interface to request information about ciphers registered with the " "kernel crypto API as well as allow configuration of the kernel crypto API." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Netlink messages consist of a byte stream with one or multiple " #| "B headers and associated payload. For multipart messages the " #| "first and all following headers have the B flag set, except " #| "for the last header which has the type B. The byte stream " #| "should only be accessed with the standard B macros, see " #| "B(3)." msgid "" "Netlink messages consist of a byte stream with one or multiple I " "headers and associated payload. The byte stream should be accessed only " "with the standard B macros. See B(3) for further " "information." msgstr "" "Mensagens do netlink consistem de uma sequência de bytes com um ou vários " "cabeçalhos B, e 'payload' associado. Para mensagens multipartes, o " "primeiro cabeçalho e todos os seguintes têm o sinalizador B " "setado, exceto pelo último cabeçalho, que tem o tipo B. A " "sequência de bytes deveria ser acessada somente com as macros B " "padrões, veja B(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Netlink messages consist of a byte stream with one or multiple " #| "B headers and associated payload. For multipart messages the " #| "first and all following headers have the B flag set, except " #| "for the last header which has the type B. The byte stream " #| "should only be accessed with the standard B macros, see " #| "B(3)." msgid "" "In multipart messages (multiple I headers with associated payload " "in one byte stream) the first and all following headers have the " "B flag set, except for the last header which has the type " "B." msgstr "" "Mensagens do netlink consistem de uma sequência de bytes com um ou vários " "cabeçalhos B, e 'payload' associado. Para mensagens multipartes, o " "primeiro cabeçalho e todos os seguintes têm o sinalizador B " "setado, exceto pelo último cabeçalho, que tem o tipo B. A " "sequência de bytes deveria ser acessada somente com as macros B " "padrões, veja B(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "After each I the payload follows." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "struct nlmsghdr\n" #| "{\n" #| "\t__u32\tnlmsg_len;\t/* Length of message including header */\n" #| "\t__u16\tnlmsg_type;\t/* Message content */\n" #| "\t__u16\tnlmsg_flags;\t/* Additional flags */\n" #| "\t__u32\tnlmsg_seq;\t/* Sequence number */\n" #| "\t__u32\tnlmsg_pid;\t/* PID of the process that opened the socket */\n" #| "};\n" msgid "" "struct nlmsghdr {\n" " __u32 nlmsg_len; /* Size of message including header */\n" " __u16 nlmsg_type; /* Type of message content */\n" " __u16 nlmsg_flags; /* Additional flags */\n" " __u32 nlmsg_seq; /* Sequence number */\n" " __u32 nlmsg_pid; /* Sender port ID */\n" "};\n" msgstr "" "struct nlmsghdr\n" "{\n" "\t__u32\tnlmsg_len;\t/* Tamanho da mensagem com o cabeçalho */\n" "\t__u16\tnlmsg_type;\t/* Conteúdo da mensagem */\n" "\t__u16\tnlmsg_flags;\t/* sinalizadores adicionais */\n" "\t__u32\tnlmsg_seq;\t/* Número de sequência */\n" "\t__u32\tnlmsg_pid;\t/* PID de envio de processo */\n" "};\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "After each B the payload follows. B can be one of " #| "the standard message types: B message is to be ignored, " #| "B the message signals an error and the payload contains a " #| "I structure, B message terminates a multipart " #| "message," msgid "" "I can be one of the standard message types: B " "message is to be ignored, B message signals an error and the " "payload contains an I structure, B message terminates " "a multipart message. Error messages get the original request appended, " "unless the user requests to cap the error message, and get extra error data " "if requested." msgstr "" "Depois de cada B o 'payload' se segue. B pode ser um " "dos tipos de mensagem padrão: B mensagem deve ser ignorada, " "B a mensagem sinaliza um erro e o 'payload' contém uma " "estrutura I, B mensagem encerra uma mensagem " "multiparte," #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct nlmsgerr {\n" " int error; /* Negative errno or 0 for acknowledgements */\n" " struct nlmsghdr msg; /* Message header that caused the error */\n" " /*\n" " * followed by the message contents\n" " * unless NETLINK_CAP_ACK was set\n" " * or the ACK indicates success (error == 0).\n" " * For example Generic Netlink message with attributes.\n" " * message size is aligned with NLMSG_ALIGN()\n" " */\n" " /*\n" " * followed by TLVs defined in enum nlmsgerr_attrs\n" " * if NETLINK_EXT_ACK was set\n" " */\n" "};\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A netlink family usually specifies more message types, see the appropriate " "manual pages for that, for example, B(7) for B." msgstr "" "Uma família netlink geralmente especifica mais tipos de mensagem, veja a " "página de manual apropriada para isso, por exemplo B(7) para " "B." #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "Standard flag bits in I" msgid "Standard flag bits in \\f[I]nlmsg_flags\\fR" msgstr "Bits de Sinalização Padrão em I" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "_" msgstr "_" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_REQUEST" msgstr "NLM_F_REQUEST" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "NLM_F_REQUEST:set on all request messages" msgid "Must be set on all request messages." msgstr "NLM_F_REQUEST:setado em todas as mensagens de pedido" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_MULTI" msgstr "NLM_F_MULTI" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "The message is part of a multipart message terminated by\n" "B." msgstr "" "A mensagem é parte de uma mensagem multipart terminada por\n" "B." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_ACK" msgstr "NLM_F_ACK" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "NLM_F_ACK:reply with an acknowledgment on success" msgid "Request for an acknowledgement on success." msgstr "NLM_F_ACK:responde com um reconhecimento se bem-sucedido" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_ECHO" msgstr "NLM_F_ECHO" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Echo this request." msgstr "Ecoa este pedido." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Additional flag bits for GET requests" msgstr "Bits adicionais de sinalização para pedidos GET" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_ROOT" msgstr "NLM_F_ROOT" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Return the complete table instead of a single entry." msgstr "Retorna a tabela completa em vez de uma entrada única." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_MATCH" msgstr "NLM_F_MATCH" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "Return all entries matching criteria passed in message content.\n" "Not implemented yet." msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_ATOMIC" msgstr "NLM_F_ATOMIC" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Return an atomic snapshot of the table." msgstr "Retorna um snapshot atômico da tabela." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_DUMP" msgstr "NLM_F_DUMP" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "(NLM_F_ROOT|NLM_F_MATCH)." msgid "" "Convenience macro;\n" "equivalent to\n" "(NLM_F_ROOT|NLM_F_MATCH)." msgstr "(NLM_F_ROOT|NLM_F_MATCH)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "Note that NLM_F_ATOMIC requires CAP_NET_ADMIN or super user rights." msgid "" "Note that B requires the B capability or an " "effective UID of 0." msgstr "" "Note que NLM_F_ATOMIC requer CAP_NET_ADMIN ou direitos de super usuário." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Additional flag bits for NEW requests" msgstr "Bits adicionais de sinalização para pedidos NEW" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_REPLACE" msgstr "NLM_F_REPLACE" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "Override existing object." msgid "Replace existing matching object." msgstr "Sobrepõe objeto existente." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_EXCL" msgstr "NLM_F_EXCL" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Don't replace if the object already exists." msgstr "Não substitui se o objeto já existe." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_CREATE" msgstr "NLM_F_CREATE" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Create object if it doesn't already exist." msgstr "Cria objeto se ele ainda não existe." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NLM_F_APPEND" msgstr "NLM_F_APPEND" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Add to the end of the object list." msgstr "Acrescenta ao fim da lista de objetos." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I and I are used to track messages. I " "shows the origin of the message. Note that there isn't a 1:1 relationship " "between I and the PID of the process if the message originated " "from a netlink socket. See the B
section for further " "information." msgstr "" #. FIXME Explain more about nlmsg_seq and nlmsg_pid. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Both I and I are opaque to netlink core." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Netlink is not a reliable protocol. It tries its best to deliver a message " "to its destination(s), but may drop messages when an out-of-memory condition " "or other error occurs. For reliable transfer the sender can request an " "acknowledgement from the receiver by setting the B flag. An " "acknowledgement is an B packet with the error field set to 0. " "The application must generate acknowledgements for received messages " "itself. The kernel tries to send an B message for every failed " "packet. A user process should follow this convention too." msgstr "" "Netlink não é um protocolo confiável. Ele tenta fazer o melhor para entregar " "uma mensagem a seu(s) destinatário(s), mas pode perder mensagens quando " "ocorre uma condição de falta de memória, ou outra. Para transferência " "segura, o remetente pode requerer um reconhecimento do receptor, através da " "configuração do sinalizador B. Um reconhecimento é um pacote " "B com o campo de erro setado para 0. A aplicação deve gerar " "acks para as próprias mensagens recebidas. O kernel tenta enviar uma " "mensagem B para todos os pacotes falhos. Um processo de usuário " "também deveria seguir esta convenção." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "However, reliable transmissions from kernel to user are impossible in any " "case. The kernel can't send a netlink message if the socket buffer is full: " "the message will be dropped and the kernel and the user-space process will " "no longer have the same view of kernel state. It is up to the application " "to detect when this happens (via the B error returned by " "B(2)) and resynchronize." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Address formats" msgstr "Formatos de endereço" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "The B structure describes a netlink client in user space or " #| "in the kernel. A sockaddr_nl can be either unicast (only send to one " #| "peer) or send to netlink groups (nl_groups not equal 0)." msgid "" "The I structure describes a netlink client in user space or in " "the kernel. A I can be either unicast (only sent to one peer) " "or sent to netlink multicast groups (I not equal 0)." msgstr "" "A estrutura B descreve um cliente netlink no espaço do usuário " "no kernel. Um sockaddr_nl pode ser unicast (somente envia para um peer) ou " "enviar para grupos de netlink (nl_groups diferente de 0)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "struct sockaddr_nl\n" #| "{\n" #| " sa_family_t nl_family; /* AF_NETLINK */\n" #| " unsigned short nl_pad; /* zero */\n" #| " pid_t nl_pid; /* process pid */\n" #| " __u32 nl_groups; /* multicast groups mask */\n" #| "};\n" msgid "" "struct sockaddr_nl {\n" " sa_family_t nl_family; /* AF_NETLINK */\n" " unsigned short nl_pad; /* Zero */\n" " pid_t nl_pid; /* Port ID */\n" " __u32 nl_groups; /* Multicast groups mask */\n" "};\n" msgstr "" "struct sockaddr_nl\n" "{\n" " sa_family_t nl_family; /* AF_NETLINK */\n" " unsigned short nl_pad; /* zero */\n" " pid_t nl_pid; /* pid do processo */\n" " __u32 nl_groups; /* máscara dos grupos multicast */\n" "};\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is the unicast address of netlink socket. It's always 0 if the " "destination is in the kernel. For a user-space process, I is " "usually the PID of the process owning the destination socket. However, " "I identifies a netlink socket, not a process. If a process owns " "several netlink sockets, then I can be equal to the process ID only " "for at most one socket. There are two ways to assign I to a netlink " "socket. If the application sets I before calling B(2), then " "it is up to the application to make sure that I is unique. If the " "application sets it to 0, the kernel takes care of assigning it. The kernel " "assigns the process ID to the first netlink socket the process opens and " "assigns a unique I to every netlink socket that the process " "subsequently creates." msgstr "" #. commit d629b836d151d43332492651dd841d32e57ebe3b #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Each netlink family has a set of 32 multicast groups. When B(2) " #| "is called on the socket, the B field in the B " #| "should be set to a bitmask of the groups which it wishes to listen to. " #| "The default value for this field is zero which means that no multicasts " #| "will be received. A socket may multicast messages to any of the " #| "multicast groups by setting B to a bitmask of the groups it " #| "wishes to send to when it calls B(2) or does a B(2). " #| "Only users with an effective uid of 0 or the B capability " #| "may send or listen to a netlink multicast group. Any replies to a " #| "message received for a multicast group should be sent back to the sending " #| "pid and the multicast group." msgid "" "I is a bit mask with every bit representing a netlink group " "number. Each netlink family has a set of 32 multicast groups. When " "B(2) is called on the socket, the I field in the " "I should be set to a bit mask of the groups which it wishes to " "listen to. The default value for this field is zero which means that no " "multicasts will be received. A socket may multicast messages to any of the " "multicast groups by setting I to a bit mask of the groups it " "wishes to send to when it calls B(2) or does a B(2). " "Only processes with an effective UID of 0 or the B capability " "may send or listen to a netlink multicast group. Since Linux 2.6.13, " "messages can't be broadcast to multiple groups. Any replies to a message " "received for a multicast group should be sent back to the sending PID and " "the multicast group. Some Linux kernel subsystems may additionally allow " "other users to send and/or receive messages. As at Linux 3.0, the " "B, B, B, and " "B groups allow other users to receive messages. No groups " "allow other users to send messages." msgstr "" "Cada família de netlink tem um conjunto de 32 grupos de multicast. Quando " "B(2) é chamado no 'socket', o campo B no B " "deveria ser setado para uma máscara de bits do grupo que ele deseja ouvir. O " "valor padrão para este campo é zero, o que significa que nenhum multicast " "será reebido. Um 'socket' podem realizar o multicast de mensagens para " "qualquer um dos grupos de multicast, através da configuração de B " "para uma máscara de bits dos grupos para os quais ele deseja enviar, quando " "ele chama B(2) ou executa um B(2). Somente usuários com " "uid efetivo igual a 0 ou a capabilidade B podem enviar ou " "escutar um grupo de multicast netlink. Qualquer resposta a uma mensagem " "recebida de um grupo de multicast deveria ser enviada de volta ao pid " "remetente e ao grupo de multicast." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Socket options" msgstr "Opções de socket" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To set or get a netlink socket option, call B(2) to read or " "B(2) to write the option with the option level argument set to " "B. Unless otherwise noted, I is a pointer to an I." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.14)" msgstr "B (desde o Linux 2.6.14)" #. commit 9a4595bc7e67962f13232ee55a64e063062c3a99 #. Author: Patrick McHardy #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Enable B control messages for received packets to get the " "extended destination group number." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B" msgid "B" msgstr "B" #. type: TQ #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 4.2)" msgid "B (since Linux 2.6.14)" msgstr "B (desde o Linux 4.2)" #. commit 9a4595bc7e67962f13232ee55a64e063062c3a99 #. Author: Patrick McHardy #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Join/leave a group specified by I." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 4.2)" msgstr "B (desde o Linux 4.2)" #. commit b42be38b2778eda2237fc759e55e3b698b05b315 #. Author: David Herrmann #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Retrieve all groups a socket is a member of. I is a pointer to " "B<__u32> and I is the size of the array. The array is filled with " "the full membership set of the socket, and the required array size is " "returned in I." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.30)" msgstr "B (desde o Linux 2.6.30)" #. commit be0c22a46cfb79ab2342bb28fde99afa94ef868e #. Author: Pablo Neira Ayuso #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When not set, B only reports B errors and " "silently ignore B errors." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.30)" msgstr "B (desde o Linux 2.6.30)" #. commit 38938bfe3489394e2eed5e40c9bb8f66a2ce1405 #. Author: Pablo Neira Ayuso #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag can be used by unicast and broadcast listeners to avoid receiving " "B errors." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 4.2)" msgstr "B (desde o Linux 4.2)" #. commit 59324cf35aba5336b611074028777838a963d03b #. Author: Nicolas Dichtel #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When set, this socket will receive netlink notifications from all network " "namespaces that have an I assigned into the network namespace where " "the socket has been opened. The I is sent to user space via an " "ancillary data." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 4.3)" msgstr "B (desde o Linux 4.3)" #. commit 0a6a3a23ea6efde079a5b77688541a98bf202721 #. Author: Christophe Ricard #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The kernel may fail to allocate the necessary room for the acknowledgement " "message back to user space. This option trims off the payload of the " "original netlink message. The netlink message header is still included, so " "the user can guess from the sequence number which message triggered the " "acknowledgement." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "VERSÕES" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "The socket interface to netlink is a new feature of Linux 2.2" msgid "The socket interface to netlink first appeared Linux 2.2." msgstr "" "A interface de 'socket' para netlink é uma realização nova no Linux 2.2" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Linux 2.0 supported a more primitive device-based netlink interface (which " "is still available as a compatibility option). This obsolete interface is " "not described here." msgstr "" "O Linux 2.0 suporta uma interface netlink baseada em um dispositivo mais " "primitivo (que ainda está disponível como uma opção de compatibilidade). " "Esta interface obsoleta não é descrita aqui." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "NOTAS" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It is often better to use netlink via I or I than via the " "low-level kernel interface." msgstr "" "Freqüentemente é melhor usar netlink via B ou I do que " "via interface de kernel de baixo nível." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "BUGS" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This manual page is not complete." msgstr "Esta página de manual não está completa." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "EXEMPLOS" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following example creates a B netlink socket which will " "listen to the B (network interface create/delete/up/down " "events) and B (IPv4 addresses add/delete events) " "multicast groups." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "memset(&sa, 0, sizeof(sa));\n" #| "sa.nl_family = AF_NETLINK;\n" #| "sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;\n" msgid "" "struct sockaddr_nl sa;\n" "\\&\n" "memset(&sa, 0, sizeof(sa));\n" "sa.nl_family = AF_NETLINK;\n" "sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;\n" "\\&\n" "fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);\n" "bind(fd, (struct sockaddr *) &sa, sizeof(sa));\n" msgstr "" "memset(&sa, 0, sizeof(sa));\n" "sa.nl_family = AF_NETLINK;\n" "sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The next example demonstrates how to send a netlink message to the kernel " "(pid 0). Note that the application must take care of message sequence " "numbers in order to reliably track acknowledgements." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct nlmsghdr *nh; /* The nlmsghdr with payload to send */\n" "struct sockaddr_nl sa;\n" "struct iovec iov = { nh, nh-Enlmsg_len };\n" "struct msghdr msg;\n" "\\&\n" "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n" "memset(&sa, 0, sizeof(sa));\n" "sa.nl_family = AF_NETLINK;\n" "nh-Enlmsg_pid = 0;\n" "nh-Enlmsg_seq = ++sequence_number;\n" "/* Request an ack from kernel by setting NLM_F_ACK */\n" "nh-Enlmsg_flags |= NLM_F_ACK;\n" "\\&\n" "sendmsg(fd, &msg, 0);\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "And the last example is about reading netlink message." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "int size;\n" "/* 8192 to avoid message truncation on platforms with\n" " page size E 4096 */\n" "struct nlmsghdr buf[8192/sizeof(struct nlmsghdr)];\n" "struct iovec iov = { buf, sizeof(buf) };\n" "struct sockaddr_nl sa;\n" "struct msghdr msg;\n" "struct nlmsghdr *nh;\n" "\\&\n" "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n" "size = recvmsg(fd, &msg, 0);\n" "\\&\n" "for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, size);\n" " nh = NLMSG_NEXT (nh, size)) {\n" " /* The end of multipart message */\n" " if (nh-Enlmsg_type == NLMSG_DONE)\n" " return;\n" "\\&\n" " if (nh-Enlmsg_type == NLMSG_ERROR)\n" " /* Do some error handling */\n" " ...\n" "\\&\n" " /* Continue with parsing payload */\n" " ...\n" "}\n" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "VEJA TAMBÉM" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(3), B(3), B(7), B(7), " "B(7)" msgstr "" "B(3), B(3), B(7), B(7), " "B(7)" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink" msgid "" "E<.UR ftp:\\://ftp.inr.ac.ru\\:/ip-routing\\:/iproute2*> information about " "libnetlink E<.UE>" msgstr "ftp://ftp.inr.ac.ru/ip-routing/iproute2* para libnetlink" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink" msgid "" "E<.UR http:\\://www.infradead.org\\:/\\[ti]tgr\\:/libnl/> information about " "libnl E<.UE>" msgstr "ftp://ftp.inr.ac.ru/ip-routing/iproute2* para libnetlink" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "RFC 3549 \"Linux Netlink as an IP Services Protocol\"" msgstr "RFC 3549 \"Linux Netlink as an IP Services Protocol\"" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 maio 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Linux man-pages 6.9.1" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, fuzzy #| msgid "" #| "Netlink is used to transfer information between kernel modules and user " #| "space processes. It consists of a standard sockets based interface for " #| "user processes and an internal kernel API for kernel modules. The " #| "internal kernel interface is not documented in this man page. Also there " #| "is an obsolete netlink interface via netlink character devices, this " #| "interface is not documented here and is only provided for backwards " #| "compatibility." msgid "" "Netlink is used to transfer information between the kernel and user-space " "processes. It consists of a standard sockets-based interface for user space " "processes and an internal kernel API for kernel modules. The internal " "kernel interface is not documented in this manual page. There is also an " "obsolete netlink interface via netlink character devices; this interface is " "not documented here and is provided only for backward compatibility." msgstr "" "Netlink é usado para transferir informação entre módulos do kernel e " "processos do espaço do usuário. Consiste de uma interface padrão baseada em " "'sockets', para processos de usuário e uma API interna do kernel para " "módulos. A interface interna do kernel não é documentada nesta página do " "manual. Há também uma interface netlink obsoleta, via dispositivos de " "caracteres netlink, esta interface não é documentada aqui e só é fornecida " "para compatibilidade pregresa." #. type: Plain text #: debian-trixie #, fuzzy, no-wrap #| msgid "" #| "struct nlmsghdr\n" #| "{\n" #| "\t__u32\tnlmsg_len;\t/* Length of message including header */\n" #| "\t__u16\tnlmsg_type;\t/* Message content */\n" #| "\t__u16\tnlmsg_flags;\t/* Additional flags */\n" #| "\t__u32\tnlmsg_seq;\t/* Sequence number */\n" #| "\t__u32\tnlmsg_pid;\t/* PID of the process that opened the socket */\n" #| "};\n" msgid "" "struct nlmsghdr {\n" " __u32 nlmsg_len; /* Length of message including header */\n" " __u16 nlmsg_type; /* Type of message content */\n" " __u16 nlmsg_flags; /* Additional flags */\n" " __u32 nlmsg_seq; /* Sequence number */\n" " __u32 nlmsg_pid; /* Sender port ID */\n" "};\n" msgstr "" "struct nlmsghdr\n" "{\n" "\t__u32\tnlmsg_len;\t/* Tamanho da mensagem com o cabeçalho */\n" "\t__u16\tnlmsg_type;\t/* Conteúdo da mensagem */\n" "\t__u16\tnlmsg_flags;\t/* sinalizadores adicionais */\n" "\t__u32\tnlmsg_seq;\t/* Número de sequência */\n" "\t__u32\tnlmsg_pid;\t/* PID de envio de processo */\n" "};\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "struct nlmsgerr {\n" " int error; /* Negative errno or 0 for acknowledgements */\n" " struct nlmsghdr msg; /* Message header that caused the error */\n" " /*\n" " * followed by the message contents\n" " * unless NETLINK_CAP_ACK was set\n" " * or the ACK indicates success (error == 0).\n" " * For example Generic Netlink message with attributes.\n" " * message length is aligned with NLMSG_ALIGN()\n" " */\n" " /*\n" " * followed by TLVs defined in enum nlmsgerr_attrs\n" " * if NETLINK_EXT_ACK was set\n" " */\n" "};\n" msgstr "" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "Standard flag bits in I" msgstr "Bits de Sinalização Padrão em I" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, fuzzy, no-wrap #| msgid "(NLM_F_ROOT|NLM_F_MATCH)." msgid "" "Convenience macro; equivalent to\n" "(NLM_F_ROOT|NLM_F_MATCH)." msgstr "(NLM_F_ROOT|NLM_F_MATCH)." #. type: Plain text #: debian-trixie #, no-wrap msgid "" "int len;\n" "/* 8192 to avoid message truncation on platforms with\n" " page size E 4096 */\n" "struct nlmsghdr buf[8192/sizeof(struct nlmsghdr)];\n" "struct iovec iov = { buf, sizeof(buf) };\n" "struct sockaddr_nl sa;\n" "struct msghdr msg;\n" "struct nlmsghdr *nh;\n" "\\&\n" "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n" "len = recvmsg(fd, &msg, 0);\n" "\\&\n" "for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);\n" " nh = NLMSG_NEXT (nh, len)) {\n" " /* The end of multipart message */\n" " if (nh-Enlmsg_type == NLMSG_DONE)\n" " return;\n" "\\&\n" " if (nh-Enlmsg_type == NLMSG_ERROR)\n" " /* Do some error handling */\n" " ...\n" "\\&\n" " /* Continue with parsing payload */\n" " ...\n" "}\n" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, fuzzy #| msgid "ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink" msgid "" "E<.UR ftp://ftp.inr.ac.ru\\:/ip-routing\\:/iproute2*> information about " "libnetlink E<.UE>" msgstr "ftp://ftp.inr.ac.ru/ip-routing/iproute2* para libnetlink" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, fuzzy #| msgid "ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink" msgid "" "E<.UR http://www.infradead.org\\:/\\[ti]tgr\\:/libnl/> information about " "libnl E<.UE>" msgstr "ftp://ftp.inr.ac.ru/ip-routing/iproute2* para libnetlink" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "17 novembro 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Linux man-pages 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Linux man-pages 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages (não lançado)"