# Brazilian Portuguese translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Marcelo M. de Abreu , 2001. # André Luiz Fassone , 2001. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2024-06-01 06:16+0200\n" "PO-Revision-Date: 2001-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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "rtnetlink" msgstr "rtnetlink" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "2024-05-02" msgstr "2 maio 2024" #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.7" msgid "Linux man-pages 6.8" msgstr "Linux man-pages 6.7" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NOME" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "rtnetlink - macros to manipulate rtnetlink messages" msgstr "rtnetlink - macros para manipular messagens rtnetlink" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTECA" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Standard C library (I, I<-lc>)" msgstr "Biblioteca C Padrão (I, I<-lc>)" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "SINOPSE" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "B<#include Easm/types.hE>\n" "B<#include Elinux/netlink.hE>\n" "B<#include Elinux/rtnetlink.hE>\n" "B<#include Esys/socket.hE>\n" msgstr "" "B<#include Easm/types.hE>\n" "B<#include Elinux/netlink.hE>\n" "B<#include Elinux/rtnetlink.hE>\n" "B<#include Esys/socket.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<, NETLINK_ROUTE);>\n" msgstr "BIB<, NETLINK_ROUTE);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<, int >IB<);>" msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "" "BIB<);>\n" "BIB<);>\n" msgstr "BIB<);>" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<, unsigned int >IB<);>" msgid "BIB<, unsigned int >IB<);>\n" msgstr "BIB<, unsigned int >IB<);>" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "" "BIB<);>\n" "BIB<);>\n" msgstr "BIB<);>" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "DESCRIÇÃO" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "All B(7) messages consist of a B(7) message header and " "appended attributes. The attributes should be manipulated only using the " "macros provided here." msgstr "" "Toda mensagem B(7) consiste em um cabeçalho de mensagem " "B(7) e atributos adicionais. Os atributos devem ser manipulados " "apenas usando-se as macros fornecidas aqui." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "BIB<, >IB<)> returns true if I points to a valid " "routing attribute; I is the running length of the attribute " "buffer. When not true then you must assume there are no more attributes in " "the message, even if I is nonzero." msgstr "" "BIB<, >IB<)> retorna verdadeiro se I apontar " "para um atributo de roteamento válido; I é o comprimento do buffer " "de atributo. Quando não verdadeiro, você deve então assumir que não há mais " "atributos na mensagem, ainda que I não seja zero." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "BIB<)> returns a pointer to the start of this attribute's " "data." msgstr "" "BIB<)> retorna um ponteiro para o início dos dados desse " "atributo." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "BIB<)> returns the length of this attribute's data." msgstr "" "BIB<)> retorna o comprimento dos dados desse atributo." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "BIB<, >IB<)> gets the next attribute after " #| "I. Calling this macro will update I. You should use " #| "B to check for the validity of the returned pointer." msgid "" "BIB<, >IB<)> gets the next attribute after I. " "Calling this macro will update I. You should use B to " "check the validity of the returned pointer." msgstr "" "BIB<, >IB<)> obtém o próximo atributo após I. " "Chamar essa macro atualizará I. Você deve utilizar B para " "assegurar a validade do ponteiro retornado." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "BIB<)> returns the length which is required for I " "bytes of data plus the header." msgstr "" "BIB<)> retorna o comprimento que é necessário para I " "bytes de dados mais o cabeçalho." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "BIB<)> returns the amount of space which will be needed " #| "in the message with I bytes of data." msgid "" "BIB<)> returns the amount of space which will be needed in " "a message with I bytes of data." msgstr "" "BIB<)> retorna a quantidade de espaço que será necessária " "em uma mensagem com I bytes de dados." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "PADRÕES" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "Linux." msgstr "Linux." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "BUGS" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "This manual page is incomplete." msgstr "Este página de manual é imcompleta." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "EXEMPLOS" #. FIXME . ? would be better to use libnetlink in the EXAMPLE code here #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "Creating a rtnetlink message to set a MTU of a device." msgid "Creating a rtnetlink message to set the MTU of a device:" msgstr "Criando uma mensagem rtnetlink para definir uma MTU de um dispositivo." #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "\tmemset(&req, 0, sizeof(req));\n" #| "\treq.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); \n" #| "\treq.nh.nlmsg_flags = NLM_F_REQUEST; \n" #| "\treq.nh.nlmsg_type = RTML_NEWLINK;\n" #| "\treq.if.ifi_family = AF_UNSPEC;\n" #| "\treq.if.ifi_index = INTERFACE_INDEX; \n" #| "\treq.if.ifi_change = 0xffffffff; /* ???*/\n" #| "\trta = (struct rtattr *)(((char *) &req) + \n" #| "\t\t\tNLMSG_ALIGN(n-Enlmsg_len));\n" #| "\trta-Erta_type = IFLA_MTU;\n" #| "\trta-Erta_len = sizeof(unsigned int);\n" #| "\treq.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + \n" #| "\t\t\tRTA_LENGTH(sizeof(mtu)); \n" #| "\tmemcpy(RTA_DATA(rta), &mtu, sizeof (mtu));\n" #| "\tsend(rtnetlink_sk, &req, req.n.nlmsg_len); \n" msgid "" "#include Elinux/rtnetlink.hE\n" "\\&\n" "\\&...\n" "\\&\n" "struct {\n" " struct nlmsghdr nh;\n" " struct ifinfomsg if;\n" " char attrbuf[512];\n" "} req;\n" "\\&\n" "struct rtattr *rta;\n" "unsigned int mtu = 1000;\n" "\\&\n" "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" "\\&\n" "memset(&req, 0, sizeof(req));\n" "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n" "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" "req.nh.nlmsg_type = RTM_NEWLINK;\n" "req.if.ifi_family = AF_UNSPEC;\n" "req.if.ifi_index = INTERFACE_INDEX;\n" "req.if.ifi_change = 0xffffffff; /* ??? */\n" "rta = (struct rtattr *)(((char *) &req) +\n" " NLMSG_ALIGN(req.nh.nlmsg_len));\n" "rta-Erta_type = IFLA_MTU;\n" "rta-Erta_len = RTA_LENGTH(sizeof(mtu));\n" "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" " RTA_LENGTH(sizeof(mtu));\n" "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" msgstr "" "\tmemset(&req, 0, sizeof(req));\n" "\treq.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); \n" "\treq.nh.nlmsg_flags = NLM_F_REQUEST; \n" "\treq.nh.nlmsg_type = RTML_NEWLINK;\n" "\treq.if.ifi_family = AF_UNSPEC;\n" "\treq.if.ifi_index = INTERFACE_INDEX; \n" "\treq.if.ifi_change = 0xffffffff; /* ???*/\n" "\trta = (struct rtattr *)(((char *) &req) + \n" "\t\t\tNLMSG_ALIGN(n-Enlmsg_len));\n" "\trta-Erta_type = IFLA_MTU;\n" "\trta-Erta_len = sizeof(unsigned int);\n" "\treq.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + \n" "\t\t\tRTA_LENGTH(sizeof(mtu)); \n" "\tmemcpy(RTA_DATA(rta), &mtu, sizeof (mtu));\n" "\tsend(rtnetlink_sk, &req, req.n.nlmsg_len); \n" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "VEJA TAMBÉM" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "B(7), B(7), B(3)" msgid "B(3), B(7), B(7)" msgstr "B(7), B(7), B(3)" #. type: TH #: debian-bookworm #, no-wrap msgid "2022-10-30" msgstr "30 outubro 2022" #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "Linux man-pages 6.03" #. type: Plain text #: debian-bookworm msgid "These macros are nonstandard Linux extensions." msgstr "" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "B<#include Elinux/rtnetlink.hE>" msgid "#include Elinux/rtnetlink.hE\n" msgstr "B<#include Elinux/rtnetlink.hE>" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "\\&...\n" msgstr "" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "struct {\n" " struct nlmsghdr nh;\n" " struct ifinfomsg if;\n" " char attrbuf[512];\n" "} req;\n" msgstr "" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "struct rtattr *rta;\n" "unsigned int mtu = 1000;\n" msgstr "" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "BIB<, NETLINK_ROUTE);>" msgid "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" msgstr "BIB<, NETLINK_ROUTE);>" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "\tmemset(&req, 0, sizeof(req));\n" #| "\treq.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); \n" #| "\treq.nh.nlmsg_flags = NLM_F_REQUEST; \n" #| "\treq.nh.nlmsg_type = RTML_NEWLINK;\n" #| "\treq.if.ifi_family = AF_UNSPEC;\n" #| "\treq.if.ifi_index = INTERFACE_INDEX; \n" #| "\treq.if.ifi_change = 0xffffffff; /* ???*/\n" #| "\trta = (struct rtattr *)(((char *) &req) + \n" #| "\t\t\tNLMSG_ALIGN(n-Enlmsg_len));\n" #| "\trta-Erta_type = IFLA_MTU;\n" #| "\trta-Erta_len = sizeof(unsigned int);\n" #| "\treq.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + \n" #| "\t\t\tRTA_LENGTH(sizeof(mtu)); \n" #| "\tmemcpy(RTA_DATA(rta), &mtu, sizeof (mtu));\n" #| "\tsend(rtnetlink_sk, &req, req.n.nlmsg_len); \n" msgid "" "memset(&req, 0, sizeof(req));\n" "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n" "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" "req.nh.nlmsg_type = RTM_NEWLINK;\n" "req.if.ifi_family = AF_UNSPEC;\n" "req.if.ifi_index = INTERFACE_INDEX;\n" "req.if.ifi_change = 0xffffffff; /* ??? */\n" "rta = (struct rtattr *)(((char *) &req) +\n" " NLMSG_ALIGN(req.nh.nlmsg_len));\n" "rta-Erta_type = IFLA_MTU;\n" "rta-Erta_len = RTA_LENGTH(sizeof(mtu));\n" "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" " RTA_LENGTH(sizeof(mtu));\n" "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" msgstr "" "\tmemset(&req, 0, sizeof(req));\n" "\treq.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); \n" "\treq.nh.nlmsg_flags = NLM_F_REQUEST; \n" "\treq.nh.nlmsg_type = RTML_NEWLINK;\n" "\treq.if.ifi_family = AF_UNSPEC;\n" "\treq.if.ifi_index = INTERFACE_INDEX; \n" "\treq.if.ifi_change = 0xffffffff; /* ???*/\n" "\trta = (struct rtattr *)(((char *) &req) + \n" "\t\t\tNLMSG_ALIGN(n-Enlmsg_len));\n" "\trta-Erta_type = IFLA_MTU;\n" "\trta-Erta_len = sizeof(unsigned int);\n" "\treq.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + \n" "\t\t\tRTA_LENGTH(sizeof(mtu)); \n" "\tmemcpy(RTA_DATA(rta), &mtu, sizeof (mtu));\n" "\tsend(rtnetlink_sk, &req, req.n.nlmsg_len); \n" #. type: TH #: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31 outubro 2023" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Linux man-pages 6.06" #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "Linux man-pages 6.7" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "30 março 2023" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "Linux man-pages 6.04" #. type: TH #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "Linux man-pages 6.7" msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages 6.7"