| 1 |
# Spanish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Juan Piernas <[email protected]>, 1999. |
| 5 |
# Marcos Fouces <[email protected]>, 2023. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:40+0200\n" |
| 10 |
"PO-Revision-Date: 2023-03-05 22:54+0100\n" |
| 11 |
"Last-Translator: Marcos Fouces <[email protected]>\n" |
| 12 |
"Language-Team: Spanish <[email protected]>\n" |
| 13 |
"Language: es\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "rtnetlink" |
| 24 |
msgstr "rtnetlink" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "8 Febrero 2026" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, fuzzy, no-wrap |
| 36 |
#| msgid "Linux man-pages 6.17" |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Páginas de Manual de Linux 6.17" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NOMBRE" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "rtnetlink - macros to manipulate rtnetlink messages" |
| 51 |
msgstr "rtnetlink - macros para manipular mensajes rtnetlink" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "BIBLIOTECA" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "SINOPSIS" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "" |
| 78 |
"B<#include E<lt>asm/types.hE<gt>>\n" |
| 79 |
"B<#include E<lt>linux/netlink.hE<gt>>\n" |
| 80 |
"B<#include E<lt>linux/rtnetlink.hE<gt>>\n" |
| 81 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 82 |
msgstr "" |
| 83 |
"B<#include E<lt>asm/types.hE<gt>>\n" |
| 84 |
"B<#include E<lt>linux/netlink.hE<gt>>\n" |
| 85 |
"B<#include E<lt>linux/rtnetlink.hE<gt>>\n" |
| 86 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "B<rtnetlink_socket = socket(AF_NETLINK, int >I<socket_type>B<, NETLINK_ROUTE);>\n" |
| 93 |
msgstr "B<rtnetlink_socket = socket(AF_NETLINK, int >I<tipo_conector>B<, NETLINK_ROUTE);>\n" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 97 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
#, fuzzy, no-wrap |
| 99 |
#| msgid "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<rtabuflen>B<);>\n" |
| 100 |
msgid "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<size>B<);>\n" |
| 101 |
msgstr "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<rtabuflen>B<);>\n" |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 105 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 106 |
#, no-wrap |
| 107 |
msgid "" |
| 108 |
"B<void *RTA_DATA(struct rtattr *>I<rta>B<);>\n" |
| 109 |
"B<unsigned int RTA_PAYLOAD(struct rtattr *>I<rta>B<);>\n" |
| 110 |
msgstr "" |
| 111 |
"B<void *RTA_DATA(struct rtattr *>I<rta>B<);>\n" |
| 112 |
"B<unsigned int RTA_PAYLOAD(struct rtattr *>I<rta>B<);>\n" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 116 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
#, fuzzy, no-wrap |
| 118 |
#| msgid "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<rtabuflen>B<);>\n" |
| 119 |
msgid "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<size>B<);>\n" |
| 120 |
msgstr "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<rtabuflen>B<);>\n" |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 124 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
#, fuzzy, no-wrap |
| 126 |
#| msgid "" |
| 127 |
#| "B<unsigned int RTA_LENGTH(unsigned int >I<length>B<);>\n" |
| 128 |
#| "B<unsigned int RTA_SPACE(unsigned int >I<length>B<);>\n" |
| 129 |
msgid "" |
| 130 |
"B<unsigned int RTA_LENGTH(unsigned int >I<size>B<);>\n" |
| 131 |
"B<unsigned int RTA_SPACE(unsigned int >I<size>B<);>\n" |
| 132 |
msgstr "" |
| 133 |
"B<unsigned int RTA_LENGTH(unsigned int >I<longitud>B<);>\n" |
| 134 |
"B<unsigned int RTA_SPACE(unsigned int >I<longitud>B<);>\n" |
| 135 |
|
| 136 |
#. type: SH |
| 137 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 138 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 139 |
#, no-wrap |
| 140 |
msgid "DESCRIPTION" |
| 141 |
msgstr "DESCRIPCIÓN" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "" |
| 147 |
"All B<rtnetlink>(7) messages consist of a B<netlink>(7) message header and " |
| 148 |
"appended attributes. The attributes should be manipulated only using the " |
| 149 |
"macros provided here." |
| 150 |
msgstr "" |
| 151 |
"Todos los mensajes B<rtnetlink>(7) están formados por una cabecera de " |
| 152 |
"mensaje B<netlink>(7) y atributos añadidos. Los atributos sólo deberían ser " |
| 153 |
"manipulados usando las macros suministradas aquí." |
| 154 |
|
| 155 |
#. type: Plain text |
| 156 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 157 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 158 |
#, fuzzy |
| 159 |
#| msgid "" |
| 160 |
#| "B<RTA_OK(>I<rta>B<, >I<attrlen>B<)> returns true if I<rta> points to a " |
| 161 |
#| "valid routing attribute; I<attrlen> is the running length of the " |
| 162 |
#| "attribute buffer. When not true then you must assume there are no more " |
| 163 |
#| "attributes in the message, even if I<attrlen> is nonzero." |
| 164 |
msgid "" |
| 165 |
"B<RTA_OK(>I<rta>B<, >I<size>B<)> returns true if I<rta> points to a valid " |
| 166 |
"routing attribute; I<size> is the running size of the attribute buffer. " |
| 167 |
"When not true then you must assume there are no more attributes in the " |
| 168 |
"message, even if I<size> is nonzero." |
| 169 |
msgstr "" |
| 170 |
"B<RTA_OK(>I<rta>B<, >I<attrlen>B<)> devuelve verdadero si I<rta> apunta a un " |
| 171 |
"atributo de enrutamiento válido. I<attrlen> es la longitud actual del " |
| 172 |
"buffer de atributos. Cuando es falso debe asumir que no hay más atributos " |
| 173 |
"en el mensaje, aunque I<attrlen> no sea cero." |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
msgid "" |
| 179 |
"B<RTA_DATA(>I<rta>B<)> returns a pointer to the start of this attribute's " |
| 180 |
"data." |
| 181 |
msgstr "" |
| 182 |
"B<RTA_DATA(>I<rta>B<)> devuelve un puntero al principio de los datos de este " |
| 183 |
"atributo." |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 187 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
#, fuzzy |
| 189 |
#| msgid "" |
| 190 |
#| "B<RTA_PAYLOAD(>I<rta>B<)> returns the length of this attribute's data." |
| 191 |
msgid "B<RTA_PAYLOAD(>I<rta>B<)> returns the size of this attribute's data." |
| 192 |
msgstr "" |
| 193 |
"B<RTA_PAYLOAD(>I<rta>B<)> devuelve la longitud de los datos de este atributo." |
| 194 |
|
| 195 |
#. type: Plain text |
| 196 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 197 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 198 |
#, fuzzy |
| 199 |
#| msgid "" |
| 200 |
#| "B<RTA_NEXT(>I<rta>B<, >I<attrlen>B<)> gets the next attribute after " |
| 201 |
#| "I<rta>. Calling this macro will update I<attrlen>. You should use " |
| 202 |
#| "B<RTA_OK> to check the validity of the returned pointer." |
| 203 |
msgid "" |
| 204 |
"B<RTA_NEXT(>I<rta>B<, >I<size>B<)> gets the next attribute after I<rta>. " |
| 205 |
"Calling this macro will update I<size>. You should use B<RTA_OK> to check " |
| 206 |
"the validity of the returned pointer." |
| 207 |
msgstr "" |
| 208 |
"B<RTA_NEXT(>I<rta>B<, >I<attrlen>B<)> obtiene el siguiente atributo después " |
| 209 |
"de I<rta>. Al llamar a esta macro se actualizará I<attrlen>. Debería usar " |
| 210 |
"B<RTA_OK> para comprobar la validez del puntero devuelto." |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 214 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
#, fuzzy |
| 216 |
#| msgid "" |
| 217 |
#| "B<RTA_LENGTH(>I<len>B<)> returns the length which is required for I<len> " |
| 218 |
#| "bytes of data plus the header." |
| 219 |
msgid "" |
| 220 |
"B<RTA_LENGTH(>I<size>B<)> returns the size which is required for I<size> " |
| 221 |
"bytes of data plus the header." |
| 222 |
msgstr "" |
| 223 |
"B<RTA_LENGTH(>I<len>B<)> devuelve la longitud que se necesita para I<len> " |
| 224 |
"bytes de datos más la cabecera." |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 228 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
#, fuzzy |
| 230 |
#| msgid "" |
| 231 |
#| "B<RTA_SPACE(>I<len>B<)> returns the amount of space which will be needed " |
| 232 |
#| "in a message with I<len> bytes of data." |
| 233 |
msgid "" |
| 234 |
"B<RTA_SPACE(>I<size>B<)> returns the amount of space which will be needed in " |
| 235 |
"a message with I<size> bytes of data." |
| 236 |
msgstr "" |
| 237 |
"B<RTA_SPACE(>I<len>B<)> devuelve la cantidad de espacio que se necesitarán " |
| 238 |
"en el mensaje con I<len> bytes de datos." |
| 239 |
|
| 240 |
#. type: SH |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
#, no-wrap |
| 244 |
msgid "STANDARDS" |
| 245 |
msgstr "ESTÁNDARES" |
| 246 |
|
| 247 |
#. type: Plain text |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
msgid "Linux." |
| 251 |
msgstr "Linux." |
| 252 |
|
| 253 |
#. type: SH |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "BUGS" |
| 258 |
msgstr "ERRORES" |
| 259 |
|
| 260 |
#. type: Plain text |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
msgid "This manual page is incomplete." |
| 264 |
msgstr "Esta página de manual esta incompleta." |
| 265 |
|
| 266 |
#. type: SH |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
#, no-wrap |
| 270 |
msgid "EXAMPLES" |
| 271 |
msgstr "EJEMPLOS" |
| 272 |
|
| 273 |
#. FIXME . ? would be better to use libnetlink in the EXAMPLE code here |
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "Creating a rtnetlink message to set the MTU of a device:" |
| 278 |
msgstr "Crear un mensaje rtnetlink para configurar la MTU de un dispositivo:" |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 282 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, fuzzy, no-wrap |
| 284 |
#| msgid "" |
| 285 |
#| "memset(&req, 0, sizeof(req));\n" |
| 286 |
#| "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\n" |
| 287 |
#| "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" |
| 288 |
#| "req.nh.nlmsg_type = RTM_NEWLINK;\n" |
| 289 |
#| "req.if.ifi_family = AF_UNSPEC;\n" |
| 290 |
#| "req.if.ifi_index = INTERFACE_INDEX;\n" |
| 291 |
#| "req.if.ifi_change = 0xffffffff; /* ??? */\n" |
| 292 |
#| "rta = (struct rtattr *)(((char *) &req) +\n" |
| 293 |
#| " NLMSG_ALIGN(req.nh.nlmsg_len));\n" |
| 294 |
#| "rta-E<gt>rta_type = IFLA_MTU;\n" |
| 295 |
#| "rta-E<gt>rta_len = RTA_LENGTH(sizeof(unsigned int));\n" |
| 296 |
#| "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" |
| 297 |
#| " RTA_LENGTH(sizeof(mtu));\n" |
| 298 |
#| "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" |
| 299 |
#| "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" |
| 300 |
msgid "" |
| 301 |
"#include E<lt>linux/rtnetlink.hE<gt>\n" |
| 302 |
"\\&\n" |
| 303 |
"\\&...\n" |
| 304 |
"\\&\n" |
| 305 |
"struct {\n" |
| 306 |
" struct nlmsghdr nh;\n" |
| 307 |
" struct ifinfomsg if;\n" |
| 308 |
" char attrbuf[512];\n" |
| 309 |
"} req;\n" |
| 310 |
"\\&\n" |
| 311 |
"struct rtattr *rta;\n" |
| 312 |
"unsigned int mtu = 1000;\n" |
| 313 |
"\\&\n" |
| 314 |
"int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" |
| 315 |
"\\&\n" |
| 316 |
"memset(&req, 0, sizeof(req));\n" |
| 317 |
"req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n" |
| 318 |
"req.nh.nlmsg_flags = NLM_F_REQUEST;\n" |
| 319 |
"req.nh.nlmsg_type = RTM_NEWLINK;\n" |
| 320 |
"req.if.ifi_family = AF_UNSPEC;\n" |
| 321 |
"req.if.ifi_index = INTERFACE_INDEX;\n" |
| 322 |
"req.if.ifi_change = 0xffffffff; /* ??? */\n" |
| 323 |
"rta = (struct rtattr *) ((char *) &req +\n" |
| 324 |
" NLMSG_ALIGN(req.nh.nlmsg_len));\n" |
| 325 |
"rta-E<gt>rta_type = IFLA_MTU;\n" |
| 326 |
"rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n" |
| 327 |
"req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" |
| 328 |
" RTA_LENGTH(sizeof(mtu));\n" |
| 329 |
"memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" |
| 330 |
"send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" |
| 331 |
msgstr "" |
| 332 |
"memset(&req, 0, sizeof(req));\n" |
| 333 |
"req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\n" |
| 334 |
"req.nh.nlmsg_flags = NLM_F_REQUEST;\n" |
| 335 |
"req.nh.nlmsg_type = RTM_NEWLINK;\n" |
| 336 |
"req.if.ifi_family = AF_UNSPEC;\n" |
| 337 |
"req.if.ifi_index = INTERFACE_INDEX;\n" |
| 338 |
"req.if.ifi_change = 0xffffffff; /* ??? */\n" |
| 339 |
"rta = (struct rtattr *)(((char *) &req) +\n" |
| 340 |
" NLMSG_ALIGN(req.nh.nlmsg_len));\n" |
| 341 |
"rta-E<gt>rta_type = IFLA_MTU;\n" |
| 342 |
"rta-E<gt>rta_len = RTA_LENGTH(sizeof(unsigned int));\n" |
| 343 |
"req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" |
| 344 |
" RTA_LENGTH(sizeof(mtu));\n" |
| 345 |
"memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" |
| 346 |
"send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" |
| 347 |
|
| 348 |
#. type: SH |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "SEE ALSO" |
| 353 |
msgstr "VÉASE TAMBIÉN" |
| 354 |
|
| 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 "B<netlink>(3), B<netlink>(7), B<rtnetlink>(7)" |
| 359 |
msgstr "B<netlink>(3), B<netlink>(7), B<rtnetlink>(7)" |
| 360 |
|
| 361 |
#. type: TH |
| 362 |
#: debian-trixie |
| 363 |
#, no-wrap |
| 364 |
msgid "2024-05-02" |
| 365 |
msgstr "2 Mayo 2024" |
| 366 |
|
| 367 |
#. type: TH |
| 368 |
#: debian-trixie |
| 369 |
#, no-wrap |
| 370 |
msgid "Linux man-pages 6.9.1" |
| 371 |
msgstr "Páginas de Manual de Linux 6.9.1" |
| 372 |
|
| 373 |
#. type: Plain text |
| 374 |
#: debian-trixie |
| 375 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 376 |
msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)" |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
#: debian-trixie |
| 380 |
#, no-wrap |
| 381 |
msgid "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<rtabuflen>B<);>\n" |
| 382 |
msgstr "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<rtabuflen>B<);>\n" |
| 383 |
|
| 384 |
#. type: Plain text |
| 385 |
#: debian-trixie |
| 386 |
#, no-wrap |
| 387 |
msgid "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<rtabuflen>B<);>\n" |
| 388 |
msgstr "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<rtabuflen>B<);>\n" |
| 389 |
|
| 390 |
#. type: Plain text |
| 391 |
#: debian-trixie |
| 392 |
#, no-wrap |
| 393 |
msgid "" |
| 394 |
"B<unsigned int RTA_LENGTH(unsigned int >I<length>B<);>\n" |
| 395 |
"B<unsigned int RTA_SPACE(unsigned int >I<length>B<);>\n" |
| 396 |
msgstr "" |
| 397 |
"B<unsigned int RTA_LENGTH(unsigned int >I<longitud>B<);>\n" |
| 398 |
"B<unsigned int RTA_SPACE(unsigned int >I<longitud>B<);>\n" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: debian-trixie |
| 402 |
msgid "" |
| 403 |
"B<RTA_OK(>I<rta>B<, >I<attrlen>B<)> returns true if I<rta> points to a valid " |
| 404 |
"routing attribute; I<attrlen> is the running length of the attribute " |
| 405 |
"buffer. When not true then you must assume there are no more attributes in " |
| 406 |
"the message, even if I<attrlen> is nonzero." |
| 407 |
msgstr "" |
| 408 |
"B<RTA_OK(>I<rta>B<, >I<attrlen>B<)> devuelve verdadero si I<rta> apunta a un " |
| 409 |
"atributo de enrutamiento válido. I<attrlen> es la longitud actual del " |
| 410 |
"buffer de atributos. Cuando es falso debe asumir que no hay más atributos " |
| 411 |
"en el mensaje, aunque I<attrlen> no sea cero." |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: debian-trixie |
| 415 |
msgid "B<RTA_PAYLOAD(>I<rta>B<)> returns the length of this attribute's data." |
| 416 |
msgstr "" |
| 417 |
"B<RTA_PAYLOAD(>I<rta>B<)> devuelve la longitud de los datos de este atributo." |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: debian-trixie |
| 421 |
msgid "" |
| 422 |
"B<RTA_NEXT(>I<rta>B<, >I<attrlen>B<)> gets the next attribute after I<rta>. " |
| 423 |
"Calling this macro will update I<attrlen>. You should use B<RTA_OK> to " |
| 424 |
"check the validity of the returned pointer." |
| 425 |
msgstr "" |
| 426 |
"B<RTA_NEXT(>I<rta>B<, >I<attrlen>B<)> obtiene el siguiente atributo después " |
| 427 |
"de I<rta>. Al llamar a esta macro se actualizará I<attrlen>. Debería usar " |
| 428 |
"B<RTA_OK> para comprobar la validez del puntero devuelto." |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: debian-trixie |
| 432 |
msgid "" |
| 433 |
"B<RTA_LENGTH(>I<len>B<)> returns the length which is required for I<len> " |
| 434 |
"bytes of data plus the header." |
| 435 |
msgstr "" |
| 436 |
"B<RTA_LENGTH(>I<len>B<)> devuelve la longitud que se necesita para I<len> " |
| 437 |
"bytes de datos más la cabecera." |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: debian-trixie |
| 441 |
msgid "" |
| 442 |
"B<RTA_SPACE(>I<len>B<)> returns the amount of space which will be needed in " |
| 443 |
"a message with I<len> bytes of data." |
| 444 |
msgstr "" |
| 445 |
"B<RTA_SPACE(>I<len>B<)> devuelve la cantidad de espacio que se necesitarán " |
| 446 |
"en el mensaje con I<len> bytes de datos." |
| 447 |
|
| 448 |
#. type: Plain text |
| 449 |
#: debian-trixie |
| 450 |
#, fuzzy, no-wrap |
| 451 |
#| msgid "" |
| 452 |
#| "memset(&req, 0, sizeof(req));\n" |
| 453 |
#| "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\n" |
| 454 |
#| "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" |
| 455 |
#| "req.nh.nlmsg_type = RTM_NEWLINK;\n" |
| 456 |
#| "req.if.ifi_family = AF_UNSPEC;\n" |
| 457 |
#| "req.if.ifi_index = INTERFACE_INDEX;\n" |
| 458 |
#| "req.if.ifi_change = 0xffffffff; /* ??? */\n" |
| 459 |
#| "rta = (struct rtattr *)(((char *) &req) +\n" |
| 460 |
#| " NLMSG_ALIGN(req.nh.nlmsg_len));\n" |
| 461 |
#| "rta-E<gt>rta_type = IFLA_MTU;\n" |
| 462 |
#| "rta-E<gt>rta_len = RTA_LENGTH(sizeof(unsigned int));\n" |
| 463 |
#| "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" |
| 464 |
#| " RTA_LENGTH(sizeof(mtu));\n" |
| 465 |
#| "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" |
| 466 |
#| "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" |
| 467 |
msgid "" |
| 468 |
"#include E<lt>linux/rtnetlink.hE<gt>\n" |
| 469 |
"\\&\n" |
| 470 |
"\\&...\n" |
| 471 |
"\\&\n" |
| 472 |
"struct {\n" |
| 473 |
" struct nlmsghdr nh;\n" |
| 474 |
" struct ifinfomsg if;\n" |
| 475 |
" char attrbuf[512];\n" |
| 476 |
"} req;\n" |
| 477 |
"\\&\n" |
| 478 |
"struct rtattr *rta;\n" |
| 479 |
"unsigned int mtu = 1000;\n" |
| 480 |
"\\&\n" |
| 481 |
"int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" |
| 482 |
"\\&\n" |
| 483 |
"memset(&req, 0, sizeof(req));\n" |
| 484 |
"req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n" |
| 485 |
"req.nh.nlmsg_flags = NLM_F_REQUEST;\n" |
| 486 |
"req.nh.nlmsg_type = RTM_NEWLINK;\n" |
| 487 |
"req.if.ifi_family = AF_UNSPEC;\n" |
| 488 |
"req.if.ifi_index = INTERFACE_INDEX;\n" |
| 489 |
"req.if.ifi_change = 0xffffffff; /* ??? */\n" |
| 490 |
"rta = (struct rtattr *)(((char *) &req) +\n" |
| 491 |
" NLMSG_ALIGN(req.nh.nlmsg_len));\n" |
| 492 |
"rta-E<gt>rta_type = IFLA_MTU;\n" |
| 493 |
"rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n" |
| 494 |
"req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" |
| 495 |
" RTA_LENGTH(sizeof(mtu));\n" |
| 496 |
"memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" |
| 497 |
"send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" |
| 498 |
msgstr "" |
| 499 |
"memset(&req, 0, sizeof(req));\n" |
| 500 |
"req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\n" |
| 501 |
"req.nh.nlmsg_flags = NLM_F_REQUEST;\n" |
| 502 |
"req.nh.nlmsg_type = RTM_NEWLINK;\n" |
| 503 |
"req.if.ifi_family = AF_UNSPEC;\n" |
| 504 |
"req.if.ifi_index = INTERFACE_INDEX;\n" |
| 505 |
"req.if.ifi_change = 0xffffffff; /* ??? */\n" |
| 506 |
"rta = (struct rtattr *)(((char *) &req) +\n" |
| 507 |
" NLMSG_ALIGN(req.nh.nlmsg_len));\n" |
| 508 |
"rta-E<gt>rta_type = IFLA_MTU;\n" |
| 509 |
"rta-E<gt>rta_len = RTA_LENGTH(sizeof(unsigned int));\n" |
| 510 |
"req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" |
| 511 |
" RTA_LENGTH(sizeof(mtu));\n" |
| 512 |
"memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" |
| 513 |
"send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" |
| 514 |
|
| 515 |
#. type: TH |
| 516 |
#: fedora-44 fedora-rawhide |
| 517 |
#, no-wrap |
| 518 |
msgid "2025-01-05" |
| 519 |
msgstr "5 Enero 2025" |
| 520 |
|
| 521 |
#. type: TH |
| 522 |
#: fedora-44 fedora-rawhide |
| 523 |
#, no-wrap |
| 524 |
msgid "Linux man-pages 6.13" |
| 525 |
msgstr "Páginas de Manual de Linux 6.13" |
| 526 |
|
| 527 |
#. type: TH |
| 528 |
#: mageia-cauldron |
| 529 |
#, no-wrap |
| 530 |
msgid "Linux man-pages 6.17" |
| 531 |
msgstr "Páginas de Manual de Linux 6.17" |
| 532 |
|
| 533 |
#. type: TH |
| 534 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 535 |
#, no-wrap |
| 536 |
msgid "Linux man-pages (unreleased)" |
| 537 |
msgstr "Páginas de Manual de Linux (no publicadas)" |