# Spanish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Juan Piernas , 1999. # Marcos Fouces , 2023. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2024-06-01 06:16+0200\n" "PO-Revision-Date: 2023-03-05 22:54+0100\n" "Last-Translator: Marcos Fouces \n" "Language-Team: Spanish \n" "Language: es\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" #. 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 Mayo 2024" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.8" msgstr "Páginas de Manual de Linux 6.8" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NOMBRE" #. 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 mensajes 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 Estándar C (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 "SINOPSIS" #. 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 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\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<);>\n" "BIB<);>\n" msgstr "" "BIB<);>\n" "BIB<);>\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<, unsigned int >IB<);>\n" msgstr "BIB<, unsigned int >IB<);>\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<);>\n" "BIB<);>\n" msgstr "" "BIB<);>\n" "BIB<);>\n" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "DESCRIPCIÓN" #. 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 "" "Todos los mensajes B(7) están formados por una cabecera de " "mensaje B(7) y atributos añadidos. Los atributos sólo deberían ser " "manipulados usando las macros suministradas aquí." #. 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<)> devuelve verdadero si I apunta a un " "atributo de enrutamiento válido. I es la longitud actual del " "buffer de atributos. Cuando es falso debe asumir que no hay más atributos " "en el mensaje, aunque I no sea cero." #. 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<)> devuelve un puntero al principio de los datos de este " "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<)> devuelve la longitud de los datos de este atributo." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed 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<)> obtiene el siguiente atributo después " "de I. Al llamar a esta macro se actualizará I. Debería usar " "B para comprobar la validez del puntero devuelto." #. 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<)> devuelve la longitud que se necesita para I " "bytes de datos más la cabecera." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "BIB<)> returns the amount of space which will be needed in " "a message with I bytes of data." msgstr "" "BIB<)> devuelve la cantidad de espacio que se necesitarán " "en el mensaje con I bytes de datos." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "ESTÁNDARES" #. 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 "ERRORES" #. 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 "Esta página de manual esta incompleta." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "EJEMPLOS" #. 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 msgid "Creating a rtnetlink message to set the MTU of a device:" msgstr "Crear un mensaje rtnetlink para configurar la MTU de un dispositivo:" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "memset(&req, 0, sizeof(req));\n" #| "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\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(unsigned int));\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" 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 "" "memset(&req, 0, sizeof(req));\n" "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\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(unsigned int));\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" #. 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 "VÉASE TAMBIÉN" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B(3), B(7), B(7)" msgstr "B(3), B(7), B(7)" #. type: TH #: debian-bookworm #, no-wrap msgid "2022-10-30" msgstr "30 Octubre 2022" #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "Páginas de Manual de Linux 6.03" #. type: Plain text #: debian-bookworm msgid "These macros are nonstandard Linux extensions." msgstr "Estas macros son extensiones no estándar de Linux" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "#include Elinux/rtnetlink.hE\n" msgstr "#include Elinux/rtnetlink.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "\\&...\n" msgstr "\\&...\n" #. 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 "" "struct {\n" " struct nlmsghdr nh;\n" " struct ifinfomsg if;\n" " char attrbuf[512];\n" "} req;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "struct rtattr *rta;\n" "unsigned int mtu = 1000;\n" msgstr "" "struct rtattr *rta;\n" "unsigned int mtu = 1000;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" msgstr "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "memset(&req, 0, sizeof(req));\n" #| "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\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(unsigned int));\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" 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 "" "memset(&req, 0, sizeof(req));\n" "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\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(unsigned int));\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" #. type: TH #: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31 Octubre 2023" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Páginas de Manual de Linux 6.06" #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "Páginas de Manual de Linux 6.7" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "30 Marzo 2023" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "Páginas de Manual de Linux 6.04" #. type: TH #: opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Páginas de Manual de Linux (no publicadas)"