| 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-2000. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:33+0200\n" |
| 9 |
"PO-Revision-Date: 2000-07-03 19:53+0200\n" |
| 10 |
"Last-Translator: Juan Piernas <[email protected]>\n" |
| 11 |
"Language-Team: Spanish <[email protected]>\n" |
| 12 |
"Language: es\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 17 |
"X-Generator: Lokalize 20.04.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 "packet" |
| 24 |
msgstr "" |
| 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 "packet - packet interface on device level" |
| 51 |
msgstr "packet - Interfaz de paquetes a nivel de dispositivo" |
| 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 "SYNOPSIS" |
| 58 |
msgstr "SINOPSIS" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
#, no-wrap |
| 64 |
msgid "" |
| 65 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 66 |
"B<#include E<lt>linux/if_packet.hE<gt>>\n" |
| 67 |
"B<#include E<lt>net/ethernet.hE<gt> /* the L2 protocols */>\n" |
| 68 |
msgstr "" |
| 69 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 70 |
"B<#include E<lt>linux/if_packet.hE<gt>>\n" |
| 71 |
"B<#include E<lt>net/ethernet.hE<gt> /* los protocolos de nivel 2 */>\n" |
| 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 "B<packet_socket = socket(AF_PACKET, int >I<socket_type>B<, int >I<protocol>B<);>\n" |
| 78 |
msgstr "B<packet_socket = socket(AF_PACKET, int >I<socket_type>B<, int >I<protocol>B<);>\n" |
| 79 |
|
| 80 |
#. type: SH |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "DESCRIPTION" |
| 85 |
msgstr "DESCRIPCIÓN" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
msgid "" |
| 91 |
"Packet sockets are used to receive or send raw packets at the device driver " |
| 92 |
"(OSI Layer 2) level. They allow the user to implement protocol modules in " |
| 93 |
"user space on top of the physical layer." |
| 94 |
msgstr "" |
| 95 |
"Los conectores de paquetes (packet sockets) se usan para recibir o enviar " |
| 96 |
"paquetes directos (raw) en el nivel del manejador de dispositivo (Nivel 2 de " |
| 97 |
"OSI). Permiten al usuario implementar módulos de protocolo en el espacio de " |
| 98 |
"usuario por encima de la capa física." |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
#, fuzzy |
| 104 |
#| msgid "" |
| 105 |
#| "The I<socket_type> is either B<SOCK_RAW> for raw packets including the " |
| 106 |
#| "link level header or B<SOCK_DGRAM> for cooked packets with the link level " |
| 107 |
#| "header removed. The link level header information is available in a " |
| 108 |
#| "common format in a B<sockaddr_ll>. I<protocol> is the IEEE 802.3 " |
| 109 |
#| "protocol number in network order. See the B<E<lt>linux/if_ether.hE<gt>> " |
| 110 |
#| "include file for a list of allowed protocols. When protocol is set to " |
| 111 |
#| "B<htons(ETH_P_ALL)> then all protocols are received. All incoming " |
| 112 |
#| "packets of that protocol type will be passed to the packet socket before " |
| 113 |
#| "they are passed to the protocols implemented in the kernel." |
| 114 |
msgid "" |
| 115 |
"The I<socket_type> is either B<SOCK_RAW> for raw packets including the link-" |
| 116 |
"level header or B<SOCK_DGRAM> for cooked packets with the link-level header " |
| 117 |
"removed. The link-level header information is available in a common format " |
| 118 |
"in a I<sockaddr_ll> structure. I<protocol> is the IEEE 802.3 protocol " |
| 119 |
"number in network byte order. See the I<E<lt>linux/if_ether.hE<gt>> include " |
| 120 |
"file for a list of allowed protocols. When protocol is set to " |
| 121 |
"B<htons(ETH_P_ALL)>, then all protocols are received. All incoming packets " |
| 122 |
"of that protocol type will be passed to the packet socket before they are " |
| 123 |
"passed to the protocols implemented in the kernel. If I<protocol> is set to " |
| 124 |
"zero, no packets are received. B<bind>(2) can optionally be called with a " |
| 125 |
"nonzero I<sll_protocol> to start receiving packets for the protocols " |
| 126 |
"specified." |
| 127 |
msgstr "" |
| 128 |
"I<socket_type> es o bien B<SOCK_RAW> para paquetes directos incluyendo la " |
| 129 |
"cabecera del nivel de enlace o bien B<SOCK_DGRAM> para paquetes preparados " |
| 130 |
"con la cabecera del nivel de enlace eliminada. La información de la cabecera " |
| 131 |
"del nivel de enlace está disponible en un formato común en una estructura " |
| 132 |
"B<sockaddr_ll>. I<protocol> es el protocolo IEEE 802.3 con los bytes en " |
| 133 |
"orden de red. Vea el fichero cabecera B<E<lt>linux/if_ether.hE<gt>> para una " |
| 134 |
"lista de los protocolos permitidos. Cuando se asigna a I<protocol> el valor " |
| 135 |
"B<htons(ETH_P_ALL)>, se reciben todos los protocolos. Todos los paquetes de " |
| 136 |
"entrada con el tipo de protocolo indicado se pasarán al conector de paquetes " |
| 137 |
"antes de que sean pasados a los protocolos implementados dentro del núcleo." |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "" |
| 143 |
"In order to create a packet socket, a process must have the B<CAP_NET_RAW> " |
| 144 |
"capability in the user namespace that governs its network namespace." |
| 145 |
msgstr "" |
| 146 |
|
| 147 |
#. type: Plain text |
| 148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
msgid "" |
| 151 |
"B<SOCK_RAW> packets are passed to and from the device driver without any " |
| 152 |
"changes in the packet data. When receiving a packet, the address is still " |
| 153 |
"parsed and passed in a standard I<sockaddr_ll> address structure. When " |
| 154 |
"transmitting a packet, the user-supplied buffer should contain the physical-" |
| 155 |
"layer header. That packet is then queued unmodified to the network driver " |
| 156 |
"of the interface defined by the destination address. Some device drivers " |
| 157 |
"always add other headers. B<SOCK_RAW> is similar to but not compatible with " |
| 158 |
"the obsolete B<AF_INET/SOCK_PACKET> of Linux 2.0." |
| 159 |
msgstr "" |
| 160 |
"Los paquetes B<SOCK_RAW> se pasan a y desde el manejador de dispositivo sin " |
| 161 |
"ningún cambio en los datos del paquete. Cuando se recibe un paquete, la " |
| 162 |
"dirección todavía se analiza y se pasa en una estructura de dirección " |
| 163 |
"I<sockaddr_ll> estándar. Cuando se transmite un paquete, el buffer " |
| 164 |
"proporcionado por el usuario debería contener la cabecera de la capa física. " |
| 165 |
"A continuación, ese paquete se encola sin modificar en la tarjeta de red de " |
| 166 |
"la interfaz definida por la dirección de destino. Algunos manejadores " |
| 167 |
"(`drivers') de dispositivo siempre añaden otras cabeceras. B<SOCK_RAW> es " |
| 168 |
"similar pero no compatible con el obsoleto B<AF_INET/SOCK_PACKET> de la " |
| 169 |
"versión 2.0 de Linux." |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
msgid "" |
| 175 |
"B<SOCK_DGRAM> operates on a slightly higher level. The physical header is " |
| 176 |
"removed before the packet is passed to the user. Packets sent through a " |
| 177 |
"B<SOCK_DGRAM> packet socket get a suitable physical-layer header based on " |
| 178 |
"the information in the I<sockaddr_ll> destination address before they are " |
| 179 |
"queued." |
| 180 |
msgstr "" |
| 181 |
"B<SOCK_DGRAM> opera en un nivel ligeramente superior. Se elimina la cabecera " |
| 182 |
"física antes de que el paquete se pase al usuario. Los paquetes enviados a " |
| 183 |
"través de un conector de paquetes B<SOCK_DGRAM> obtienen una cabecera " |
| 184 |
"adecuada de la capa física según la información de la dirección de destino " |
| 185 |
"I<sockaddr_ll>, antes de ser encolados." |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
#, fuzzy |
| 191 |
#| msgid "" |
| 192 |
#| "By default all packets of the specified protocol type are passed to a " |
| 193 |
#| "packet socket. To only get packets from a specific interface use " |
| 194 |
#| "B<bind>(2) specifying an address in a B<struct sockaddr_ll> to bind the " |
| 195 |
#| "packet socket to an interface. Only the B<sll_protocol> and the " |
| 196 |
#| "B<sll_ifindex> address fields are used for purposes of binding." |
| 197 |
msgid "" |
| 198 |
"By default, all packets of the specified protocol type are passed to a " |
| 199 |
"packet socket. To get packets only from a specific interface use " |
| 200 |
"B<bind>(2) specifying an address in a I<struct sockaddr_ll> to bind the " |
| 201 |
"packet socket to an interface. Fields used for binding are I<sll_family> " |
| 202 |
"(should be B<AF_PACKET>), I<sll_protocol>, and I<sll_ifindex>." |
| 203 |
msgstr "" |
| 204 |
"Por defecto, todos los paquetes del tipo de protocolo especificado se pasan " |
| 205 |
"a un conector de paquetes. Para obtener sólo los paquetes de una interfaz " |
| 206 |
"específica, use B<bind>(2) especificando una dirección en una estructura " |
| 207 |
"B<struct sockaddr_ll> para enlazar el conector de paquetes a una interfaz. " |
| 208 |
"Sólo se usan para propósitos de enlace los campos de dirección " |
| 209 |
"B<sll_protocol> y B<sll_ifindex>." |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
msgid "The B<connect>(2) operation is not supported on packet sockets." |
| 215 |
msgstr "" |
| 216 |
"La operación B<connect>(2) no está soportada en conectores de paquetes." |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 220 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
#, fuzzy |
| 222 |
#| msgid "" |
| 223 |
#| "When the B<MSG_TRUNC> flag is passed to B<recvmsg>(2), B<recv>(2), or " |
| 224 |
#| "B<recvfrom>(2), the real length of the packet on the wire is always " |
| 225 |
#| "returned, even when it is longer than the buffer." |
| 226 |
msgid "" |
| 227 |
"When the B<MSG_TRUNC> flag is passed to B<recvmsg>(2), B<recv>(2), or " |
| 228 |
"B<recvfrom>(2), the real size of the packet on the wire is always returned, " |
| 229 |
"even when it is longer than the buffer." |
| 230 |
msgstr "" |
| 231 |
"Cuando se pasa la opción B<MSG_TRUNC> a B<recvmsg>(2), B<recv>(2) o " |
| 232 |
"B<recvfrom>(2) se devuelve siempre en última instancia la longitud real del " |
| 233 |
"paquete, incluso cuando es mayor que la del buffer." |
| 234 |
|
| 235 |
#. type: SS |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
#, no-wrap |
| 239 |
msgid "Address types" |
| 240 |
msgstr "Tipos de direcciones" |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, fuzzy |
| 246 |
#| msgid "The sockaddr_ll is a device independent physical layer address." |
| 247 |
msgid "" |
| 248 |
"The I<sockaddr_ll> structure is a device-independent physical-layer address." |
| 249 |
msgstr "" |
| 250 |
"sockaddr_ll es una dirección de la capa física independiente del dispositivo." |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 254 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
#, fuzzy, no-wrap |
| 256 |
#| msgid "" |
| 257 |
#| "struct sockaddr_ll {\n" |
| 258 |
#| "\tunsigned short\tsll_family;\t/* Always AF_PACKET */\n" |
| 259 |
#| "\tunsigned short\tsll_protocol;\t/* Physical layer protocol */\n" |
| 260 |
#| "\tint\tsll_ifindex;\t/* Interface number */\n" |
| 261 |
#| "\tunsigned short\tsll_hatype;\t/* Header type */\t\n" |
| 262 |
#| "\tunsigned char\tsll_pkttype;\t/* Packet type */\n" |
| 263 |
#| "\tunsigned char\tsll_halen;\t/* Length of address */ \n" |
| 264 |
#| "\tunsigned char\tsll_addr[8];\t/* Physical layer address */\n" |
| 265 |
#| "};\n" |
| 266 |
msgid "" |
| 267 |
"struct sockaddr_ll {\n" |
| 268 |
" unsigned short sll_family; /* Always AF_PACKET */\n" |
| 269 |
" unsigned short sll_protocol; /* Physical-layer protocol */\n" |
| 270 |
" int sll_ifindex; /* Interface number */\n" |
| 271 |
" unsigned short sll_hatype; /* ARP hardware type */\n" |
| 272 |
" unsigned char sll_pkttype; /* Packet type */\n" |
| 273 |
" unsigned char sll_halen; /* Size of address */\n" |
| 274 |
" unsigned char sll_addr[8]; /* Physical-layer address */\n" |
| 275 |
"};\n" |
| 276 |
msgstr "" |
| 277 |
"struct sockaddr_ll {\n" |
| 278 |
"\tunsigned short\tsll_family;\t/* Siempre es AF_PACKET */\n" |
| 279 |
"\tunsigned short\tsll_protocol;\t/* Protocolo de la capa física */\n" |
| 280 |
"\tint\tsll_ifindex;\t/* Número de la interfaz */\n" |
| 281 |
"\tunsigned short\tsll_hatype;\t/* Tipo de cabecera */\t\n" |
| 282 |
"\tunsigned char\tsll_pkttype;\t/* Tipo de paquete */\n" |
| 283 |
"\tunsigned char\tsll_halen;\t/* Longitud de la dirección */ \n" |
| 284 |
"\tunsigned char\tsll_addr[8];\t/* Dirección de la capa física */\n" |
| 285 |
"};\n" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "The fields of this structure are as follows:" |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
#. type: TP |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, fuzzy, no-wrap |
| 297 |
#| msgid "I<protocol>" |
| 298 |
msgid "I<sll_protocol>" |
| 299 |
msgstr "I<protocol>" |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
msgid "" |
| 305 |
"is the standard ethernet protocol type in network byte order as defined in " |
| 306 |
"the I<E<lt>linux/if_ether.hE<gt>> include file. It defaults to the socket's " |
| 307 |
"protocol." |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
#. type: TP |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "I<sll_ifindex>" |
| 315 |
msgstr "" |
| 316 |
|
| 317 |
#. type: Plain text |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
msgid "" |
| 321 |
"is the interface index of the interface (see B<netdevice>(7)); 0 matches any " |
| 322 |
"interface (only permitted for binding). I<sll_hatype> is an ARP type as " |
| 323 |
"defined in the I<E<lt>linux/if_arp.hE<gt>> include file." |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: TP |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, no-wrap |
| 330 |
msgid "I<sll_pkttype>" |
| 331 |
msgstr "" |
| 332 |
|
| 333 |
#. type: Plain text |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
#, fuzzy |
| 337 |
#| msgid "" |
| 338 |
#| "B<sll_protocol> is the standard ethernet protocol type in network order " |
| 339 |
#| "as defined in the B<linux/if_ether.h> include file. It defaults to the " |
| 340 |
#| "socket's protocol. B<sll_ifindex> is the interface index of the " |
| 341 |
#| "interface (see B<netdevice>(7)); 0 matches any interface (only legal for " |
| 342 |
#| "binding). B<sll_hatype> is a ARP type as defined in the B<linux/" |
| 343 |
#| "if_arp.h> include file. B<sll_pkttype> contains the packet type. Valid " |
| 344 |
#| "types are B<PACKET_HOST> for a packet addressed to the local host, " |
| 345 |
#| "B<PACKET_BROADCAST> for a physical layer broadcast packet, " |
| 346 |
#| "B<PACKET_MULTICAST> for a packet sent to a physical layer multicast " |
| 347 |
#| "address, B<PACKET_OTHERHOST> for a packet to some other host that has " |
| 348 |
#| "been caught by a device driver in promiscuous mode, and " |
| 349 |
#| "B<PACKET_OUTGOING> for a packet originated from the local host that is " |
| 350 |
#| "looped back to a packet socket. These types make only sense for " |
| 351 |
#| "receiving. B<sll_addr> and B<sll_halen> contain the physical layer (e.g. " |
| 352 |
#| "IEEE 802.3) address and its length. The exact interpretation depends on " |
| 353 |
#| "the device." |
| 354 |
msgid "" |
| 355 |
"contains the packet type. Valid types are B<PACKET_HOST> for a packet " |
| 356 |
"addressed to the local host, B<PACKET_BROADCAST> for a physical-layer " |
| 357 |
"broadcast packet, B<PACKET_MULTICAST> for a packet sent to a physical-layer " |
| 358 |
"multicast address, B<PACKET_OTHERHOST> for a packet to some other host that " |
| 359 |
"has been caught by a device driver in promiscuous mode, and " |
| 360 |
"B<PACKET_OUTGOING> for a packet originating from the local host that is " |
| 361 |
"looped back to a packet socket. These types make sense only for receiving." |
| 362 |
msgstr "" |
| 363 |
"B<sll_protocol> es el tipo del protocolo ethernet estándar dado en orden de " |
| 364 |
"red definido en el fichero cabecera B<linux/if_ether.h>. Su valor por " |
| 365 |
"defecto es el protocolo del conector. B<sll_ifindex> es el índice de la " |
| 366 |
"interfaz (vea B<netdevice>(7)); el valor 0 concuerda con cualquier interfaz " |
| 367 |
"(sólo legal para enlazar). B<sll_hatype> es un tipo ARP de los definidos en " |
| 368 |
"el fichero cabecera B<linux/if_arp.h>. B<sll_pkttype> contiene el tipo del " |
| 369 |
"paquete. Los tipos válidos son B<PACKET_HOST> para un paquete aplicado al " |
| 370 |
"anfitrión (host) local, B<PACKET_BROADCAST> para un paquete de difusión de " |
| 371 |
"la capa física, B<PACKET_MULTICAST> para un paquete enviado a una dirección " |
| 372 |
"multidestino de la capa física, B<PACKET_OTHERHOST> para un paquete " |
| 373 |
"destinado a otros anfitriones que ha sido capturado por el manejador del " |
| 374 |
"dispositivo en modo promiscuo y B<PACKET_OUTGOING> para un paquete originado " |
| 375 |
"desde el anfitrión local que es devuelto de regreso a un conector de " |
| 376 |
"paquetes. Estos tipos sólo tienen sentido para recibir. B<sll_addr> y " |
| 377 |
"B<sll_halen> contienen la dirección de la capa física (por ejemplo, IEEE " |
| 378 |
"802.3) y su longitud. La interpretación exacta depende del dispositivo." |
| 379 |
|
| 380 |
#. type: TP |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
#, fuzzy, no-wrap |
| 384 |
#| msgid "I<address>" |
| 385 |
msgid "I<sll_addr>" |
| 386 |
msgstr "I<dirección>" |
| 387 |
|
| 388 |
#. type: TQ |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
#, no-wrap |
| 392 |
msgid "I<sll_halen>" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: Plain text |
| 396 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 397 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
msgid "" |
| 399 |
"contain the physical-layer (e.g., IEEE 802.3) address and its size. The " |
| 400 |
"exact interpretation depends on the device." |
| 401 |
msgstr "" |
| 402 |
|
| 403 |
#. type: Plain text |
| 404 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 405 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
#, fuzzy |
| 407 |
#| msgid "" |
| 408 |
#| "When you send packets it is enough to specify B<sll_family>, B<sll_addr>, " |
| 409 |
#| "B<sll_halen>, B<sll_ifindex>. The other fields should be 0. " |
| 410 |
#| "B<sll_hatype> and B<sll_pkttype> are set on received packets for your " |
| 411 |
#| "information. For bind only B<sll_protocol> and B<sll_ifindex> are used." |
| 412 |
msgid "" |
| 413 |
"When you send packets, it is enough to specify I<sll_family>, I<sll_addr>, " |
| 414 |
"I<sll_halen>, I<sll_ifindex>, and I<sll_protocol>. The other fields should " |
| 415 |
"be 0. I<sll_hatype> and I<sll_pkttype> are set on received packets for your " |
| 416 |
"information." |
| 417 |
msgstr "" |
| 418 |
"Cuando se envían paquetes es suficiente con especificar B<sll_family>, " |
| 419 |
"B<sll_addr>, B<sll_halen>, B<sll_ifindex>. Los otros campos deberían estar a " |
| 420 |
"0. B<sll_hatype> y B<sll_pkttype> toman sus valores en los paquetes " |
| 421 |
"recibidos para su información. Para enlazar sólo se utilizan B<sll_protocol> " |
| 422 |
"y B<sll_ifindex>." |
| 423 |
|
| 424 |
#. type: SS |
| 425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
#, no-wrap |
| 428 |
msgid "Socket options" |
| 429 |
msgstr "Opciones de los conectores" |
| 430 |
|
| 431 |
#. type: Plain text |
| 432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 434 |
msgid "" |
| 435 |
"Packet socket options are configured by calling B<setsockopt>(2) with level " |
| 436 |
"B<SOL_PACKET>." |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
#. type: TP |
| 440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 442 |
#, no-wrap |
| 443 |
msgid "B<PACKET_ADD_MEMBERSHIP>" |
| 444 |
msgstr "B<PACKET_ADD_MEMBERSHIP>" |
| 445 |
|
| 446 |
#. type: TP |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "B<PACKET_DROP_MEMBERSHIP>" |
| 451 |
msgstr "B<PACKET_DROP_MEMBERSHIP>" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
#, fuzzy |
| 457 |
#| msgid "" |
| 458 |
#| "Packet sockets can be used to configure physical layer multicasting and " |
| 459 |
#| "promiscuous mode. It works by calling B<setsockopt>(2) on a packet " |
| 460 |
#| "socket for SOL_PACKET and one of the options B<PACKET_ADD_MEMBERSHIP> to " |
| 461 |
#| "add a binding or B<PACKET_DROP_MEMBERSHIP> to drop it. They both expect " |
| 462 |
#| "a B<packet_mreq> structure as argument:" |
| 463 |
msgid "" |
| 464 |
"Packet sockets can be used to configure physical-layer multicasting and " |
| 465 |
"promiscuous mode. B<PACKET_ADD_MEMBERSHIP> adds a binding and " |
| 466 |
"B<PACKET_DROP_MEMBERSHIP> drops it. They both expect a I<packet_mreq> " |
| 467 |
"structure as argument:" |
| 468 |
msgstr "" |
| 469 |
"Los conectores de paquetes sólo se pueden usar para configurar el envío " |
| 470 |
"multidestino de la capa física y el modo promíscuo. Esto funciona llamando a " |
| 471 |
"B<setsockopt>(2) con SOL_PACKET, para un conector de paquetes, y una de las " |
| 472 |
"opciones B<PACKET_ADD_MEMBERSHIP> para añadir un enlace o " |
| 473 |
"B<PACKET_DROP_MEMBERSHIP> para eliminarlo. Ambas esperan una estructura " |
| 474 |
"B<packet_mreq> como argumento:" |
| 475 |
|
| 476 |
#. type: Plain text |
| 477 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 478 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, fuzzy, no-wrap |
| 480 |
#| msgid "" |
| 481 |
#| "struct packet_mreq\n" |
| 482 |
#| "{\n" |
| 483 |
#| "\tint\tmr_ifindex;\t/* interface index */\n" |
| 484 |
#| "\tunsigned short\tmr_type;\t/* action */\n" |
| 485 |
#| "\tunsigned short\tmr_alen;\t/* address length */\n" |
| 486 |
#| "\tunsigned char\tmr_address[8];\t/* physical layer address */ \n" |
| 487 |
#| "};\n" |
| 488 |
msgid "" |
| 489 |
"struct packet_mreq {\n" |
| 490 |
" int mr_ifindex; /* interface index */\n" |
| 491 |
" unsigned short mr_type; /* action */\n" |
| 492 |
" unsigned short mr_alen; /* address size */\n" |
| 493 |
" unsigned char mr_address[8]; /* physical-layer address */\n" |
| 494 |
"};\n" |
| 495 |
msgstr "" |
| 496 |
"struct packet_mreq\n" |
| 497 |
"{\n" |
| 498 |
"\tint\tmr_ifindex;\t/* índice de la interfaz */\n" |
| 499 |
"\tunsigned short\tmr_type;\t/* acción */\n" |
| 500 |
"\tunsigned short\tmr_alen;\t/* longitud de la dirección */\n" |
| 501 |
"\tunsigned char\tmr_address[8];\t/* dirección de la capa física */ \n" |
| 502 |
"};\n" |
| 503 |
|
| 504 |
#. type: Plain text |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
#, fuzzy |
| 508 |
#| msgid "" |
| 509 |
#| "B<mr_ifindex> contains the interface index for the interface whose status " |
| 510 |
#| "should be changed. The B<mr_type> parameter specifies which action to " |
| 511 |
#| "perform. B<PACKET_MR_PROMISC> enables receiving all packets on a shared " |
| 512 |
#| "medium - often known as ``promiscuous mode'', B<PACKET_MR_MULTICAST> " |
| 513 |
#| "binds the socket to the physical layer multicast group specified in " |
| 514 |
#| "B<mr_address> and B<mr_alen>, and B<PACKET_MR_ALLMULTI> sets the socket " |
| 515 |
#| "up to receive all multicast packets arriving at the interface." |
| 516 |
msgid "" |
| 517 |
"I<mr_ifindex> contains the interface index for the interface whose status " |
| 518 |
"should be changed. The I<mr_type> field specifies which action to perform. " |
| 519 |
"B<PACKET_MR_PROMISC> enables receiving all packets on a shared medium (often " |
| 520 |
"known as \"promiscuous mode\"), B<PACKET_MR_MULTICAST> binds the socket to " |
| 521 |
"the physical-layer multicast group specified in I<mr_address> and " |
| 522 |
"I<mr_alen>, and B<PACKET_MR_ALLMULTI> sets the socket up to receive all " |
| 523 |
"multicast packets arriving at the interface." |
| 524 |
msgstr "" |
| 525 |
"B<mr_ifindex> contien el índice de la interfaz cuyo estado debe cambiarse. " |
| 526 |
"El parámetro B<mr_type> indica la acción a realizar. B<PACKET_MR_PROMISC> " |
| 527 |
"habilita la recepción de todos los paquetes sobre un medio compartido " |
| 528 |
"(conocido normalmente como ``modo promiscuo''), B<PACKET_MR_MULTICAST> " |
| 529 |
"enlaza el conector al grupo multidestino de la capa física indicado en " |
| 530 |
"B<mr_address> y B<mr_alen>, y B<PACKET_MR_ALLMULTI> configura el conector " |
| 531 |
"para recibir todos los paquetes multidestino que lleguen a la interfaz." |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
msgid "" |
| 537 |
"In addition, the traditional ioctls B<SIOCSIFFLAGS>, B<SIOCADDMULTI>, " |
| 538 |
"B<SIOCDELMULTI> can be used for the same purpose." |
| 539 |
msgstr "" |
| 540 |
"Además, se pueden usar las ioctls tradicionales, B<SIOCSIFFLAGS>, " |
| 541 |
"B<SIOCADDMULTI>, B<SIOCDELMULTI> para el mismo propósito." |
| 542 |
|
| 543 |
#. type: TP |
| 544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 546 |
#, no-wrap |
| 547 |
msgid "B<PACKET_AUXDATA> (since Linux 2.6.21)" |
| 548 |
msgstr "B<PACKET_AUXDATA> (desde Linux 2.6.21)" |
| 549 |
|
| 550 |
#. commit 8dc4194474159660d7f37c495e3fc3f10d0db8cc |
| 551 |
#. type: Plain text |
| 552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 554 |
msgid "" |
| 555 |
"If this binary option is enabled, the packet socket passes a metadata " |
| 556 |
"structure along with each packet in the B<recvmsg>(2) control field. The " |
| 557 |
"structure can be read with B<cmsg>(3). It is defined as" |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. commit a0cdfcf39362410d5ea983f4daf67b38de129408 added tp_vlan_tpid |
| 561 |
#. type: Plain text |
| 562 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 563 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 564 |
#, no-wrap |
| 565 |
msgid "" |
| 566 |
"struct tpacket_auxdata {\n" |
| 567 |
" __u32 tp_status;\n" |
| 568 |
" __u32 tp_len; /* packet size */\n" |
| 569 |
" __u32 tp_snaplen; /* captured size */\n" |
| 570 |
" __u16 tp_mac;\n" |
| 571 |
" __u16 tp_net;\n" |
| 572 |
" __u16 tp_vlan_tci;\n" |
| 573 |
" __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n" |
| 574 |
" were unused padding bytes */\n" |
| 575 |
"};\n" |
| 576 |
msgstr "" |
| 577 |
|
| 578 |
#. type: TP |
| 579 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 580 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 581 |
#, no-wrap |
| 582 |
msgid "B<PACKET_FANOUT> (since Linux 3.1)" |
| 583 |
msgstr "B<PACKET_FANOUT> (desde Linux 3.1)" |
| 584 |
|
| 585 |
#. commit dc99f600698dcac69b8f56dda9a8a00d645c5ffc |
| 586 |
#. type: Plain text |
| 587 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 588 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 589 |
msgid "" |
| 590 |
"To scale processing across threads, packet sockets can form a fanout group. " |
| 591 |
"In this mode, each matching packet is enqueued onto only one socket in the " |
| 592 |
"group. A socket joins a fanout group by calling B<setsockopt>(2) with " |
| 593 |
"level B<SOL_PACKET> and option B<PACKET_FANOUT>. Each network namespace can " |
| 594 |
"have up to 65536 independent groups. A socket selects a group by encoding " |
| 595 |
"the ID in the first 16 bits of the integer option value. The first packet " |
| 596 |
"socket to join a group implicitly creates it. To successfully join an " |
| 597 |
"existing group, subsequent packet sockets must have the same protocol, " |
| 598 |
"device settings, fanout mode, and flags (see below). Packet sockets can " |
| 599 |
"leave a fanout group only by closing the socket. The group is deleted when " |
| 600 |
"the last socket is closed." |
| 601 |
msgstr "" |
| 602 |
|
| 603 |
#. type: Plain text |
| 604 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 605 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 606 |
msgid "" |
| 607 |
"Fanout supports multiple algorithms to spread traffic between sockets, as " |
| 608 |
"follows:" |
| 609 |
msgstr "" |
| 610 |
|
| 611 |
#. type: IP |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
#, no-wrap |
| 615 |
msgid "\\[bu]" |
| 616 |
msgstr "\\[bu]" |
| 617 |
|
| 618 |
#. type: Plain text |
| 619 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 620 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 621 |
msgid "" |
| 622 |
"The default mode, B<PACKET_FANOUT_HASH>, sends packets from the same flow to " |
| 623 |
"the same socket to maintain per-flow ordering. For each packet, it chooses " |
| 624 |
"a socket by taking the packet flow hash modulo the number of sockets in the " |
| 625 |
"group, where a flow hash is a hash over network-layer address and optional " |
| 626 |
"transport-layer port fields." |
| 627 |
msgstr "" |
| 628 |
|
| 629 |
#. type: Plain text |
| 630 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 631 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 632 |
msgid "" |
| 633 |
"The load-balance mode B<PACKET_FANOUT_LB> implements a round-robin algorithm." |
| 634 |
msgstr "" |
| 635 |
|
| 636 |
#. type: Plain text |
| 637 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 638 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 639 |
msgid "" |
| 640 |
"B<PACKET_FANOUT_CPU> selects the socket based on the CPU that the packet " |
| 641 |
"arrived on." |
| 642 |
msgstr "" |
| 643 |
|
| 644 |
#. type: Plain text |
| 645 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 646 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 647 |
msgid "" |
| 648 |
"B<PACKET_FANOUT_ROLLOVER> processes all data on a single socket, moving to " |
| 649 |
"the next when one becomes backlogged." |
| 650 |
msgstr "" |
| 651 |
|
| 652 |
#. type: Plain text |
| 653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 655 |
msgid "" |
| 656 |
"B<PACKET_FANOUT_RND> selects the socket using a pseudo-random number " |
| 657 |
"generator." |
| 658 |
msgstr "" |
| 659 |
|
| 660 |
#. commit 2d36097d26b5991d71a2cf4a20c1a158f0f1bfcd |
| 661 |
#. type: Plain text |
| 662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 664 |
msgid "" |
| 665 |
"B<PACKET_FANOUT_QM> (available since Linux 3.14) selects the socket using " |
| 666 |
"the recorded queue_mapping of the received skb." |
| 667 |
msgstr "" |
| 668 |
|
| 669 |
#. type: Plain text |
| 670 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 671 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 672 |
msgid "" |
| 673 |
"Fanout modes can take additional options. IP fragmentation causes packets " |
| 674 |
"from the same flow to have different flow hashes. The flag " |
| 675 |
"B<PACKET_FANOUT_FLAG_DEFRAG>, if set, causes packets to be defragmented " |
| 676 |
"before fanout is applied, to preserve order even in this case. Fanout mode " |
| 677 |
"and options are communicated in the second 16 bits of the integer option " |
| 678 |
"value. The flag B<PACKET_FANOUT_FLAG_ROLLOVER> enables the roll over " |
| 679 |
"mechanism as a backup strategy: if the original fanout algorithm selects a " |
| 680 |
"backlogged socket, the packet rolls over to the next available one." |
| 681 |
msgstr "" |
| 682 |
|
| 683 |
#. type: TP |
| 684 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 685 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 686 |
#, no-wrap |
| 687 |
msgid "B<PACKET_LOSS> (with B<PACKET_TX_RING>)" |
| 688 |
msgstr "" |
| 689 |
|
| 690 |
#. type: Plain text |
| 691 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 692 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 693 |
msgid "" |
| 694 |
"When a malformed packet is encountered on a transmit ring, the default is to " |
| 695 |
"reset its I<tp_status> to B<TP_STATUS_WRONG_FORMAT> and abort the " |
| 696 |
"transmission immediately. The malformed packet blocks itself and " |
| 697 |
"subsequently enqueued packets from being sent. The format error must be " |
| 698 |
"fixed, the associated I<tp_status> reset to B<TP_STATUS_SEND_REQUEST>, and " |
| 699 |
"the transmission process restarted via B<send>(2). However, if " |
| 700 |
"B<PACKET_LOSS> is set, any malformed packet will be skipped, its " |
| 701 |
"I<tp_status> reset to B<TP_STATUS_AVAILABLE>, and the transmission process " |
| 702 |
"continued." |
| 703 |
msgstr "" |
| 704 |
|
| 705 |
#. type: TP |
| 706 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 707 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 708 |
#, no-wrap |
| 709 |
msgid "B<PACKET_RESERVE> (with B<PACKET_RX_RING>)" |
| 710 |
msgstr "" |
| 711 |
|
| 712 |
#. type: Plain text |
| 713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 715 |
msgid "" |
| 716 |
"By default, a packet receive ring writes packets immediately following the " |
| 717 |
"metadata structure and alignment padding. This integer option reserves " |
| 718 |
"additional headroom." |
| 719 |
msgstr "" |
| 720 |
|
| 721 |
#. type: TP |
| 722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 724 |
#, no-wrap |
| 725 |
msgid "B<PACKET_RX_RING>" |
| 726 |
msgstr "B<PACKET_RX_RING>" |
| 727 |
|
| 728 |
#. type: Plain text |
| 729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 731 |
msgid "" |
| 732 |
"Create a memory-mapped ring buffer for asynchronous packet reception. The " |
| 733 |
"packet socket reserves a contiguous region of application address space, " |
| 734 |
"lays it out into an array of packet slots and copies packets (up to " |
| 735 |
"I<tp_snaplen>) into subsequent slots. Each packet is preceded by a " |
| 736 |
"metadata structure similar to I<tpacket_auxdata>. The protocol fields " |
| 737 |
"encode the offset to the data from the start of the metadata header. " |
| 738 |
"I<tp_net> stores the offset to the network layer. If the packet socket is " |
| 739 |
"of type B<SOCK_DGRAM>, then I<tp_mac> is the same. If it is of type " |
| 740 |
"B<SOCK_RAW>, then that field stores the offset to the link-layer frame. " |
| 741 |
"Packet socket and application communicate the head and tail of the ring " |
| 742 |
"through the I<tp_status> field. The packet socket owns all slots with " |
| 743 |
"I<tp_status> equal to B<TP_STATUS_KERNEL>. After filling a slot, it changes " |
| 744 |
"the status of the slot to transfer ownership to the application. During " |
| 745 |
"normal operation, the new I<tp_status> value has at least the " |
| 746 |
"B<TP_STATUS_USER> bit set to signal that a received packet has been stored. " |
| 747 |
"When the application has finished processing a packet, it transfers " |
| 748 |
"ownership of the slot back to the socket by setting I<tp_status> equal to " |
| 749 |
"B<TP_STATUS_KERNEL>." |
| 750 |
msgstr "" |
| 751 |
|
| 752 |
#. type: Plain text |
| 753 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 754 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 755 |
msgid "" |
| 756 |
"Packet sockets implement multiple variants of the packet ring. The " |
| 757 |
"implementation details are described in I<Documentation/networking/" |
| 758 |
"packet_mmap.rst> in the Linux kernel source tree." |
| 759 |
msgstr "" |
| 760 |
|
| 761 |
#. type: TP |
| 762 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 763 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 764 |
#, no-wrap |
| 765 |
msgid "B<PACKET_STATISTICS>" |
| 766 |
msgstr "B<PACKET_STATISTICS>" |
| 767 |
|
| 768 |
#. type: Plain text |
| 769 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 770 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 771 |
msgid "Retrieve packet socket statistics in the form of a structure" |
| 772 |
msgstr "" |
| 773 |
|
| 774 |
#. type: Plain text |
| 775 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 776 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 777 |
#, no-wrap |
| 778 |
msgid "" |
| 779 |
"struct tpacket_stats {\n" |
| 780 |
" unsigned int tp_packets; /* Total packet count */\n" |
| 781 |
" unsigned int tp_drops; /* Dropped packet count */\n" |
| 782 |
"};\n" |
| 783 |
msgstr "" |
| 784 |
|
| 785 |
#. type: Plain text |
| 786 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 787 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 788 |
msgid "" |
| 789 |
"Receiving statistics resets the internal counters. The statistics structure " |
| 790 |
"differs when using a ring of variant B<TPACKET_V3>." |
| 791 |
msgstr "" |
| 792 |
|
| 793 |
#. type: TP |
| 794 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 795 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 796 |
#, no-wrap |
| 797 |
msgid "B<PACKET_TIMESTAMP> (with B<PACKET_RX_RING>; since Linux 2.6.36)" |
| 798 |
msgstr "" |
| 799 |
|
| 800 |
#. commit 614f60fa9d73a9e8fdff3df83381907fea7c5649 |
| 801 |
#. type: Plain text |
| 802 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 803 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 804 |
msgid "" |
| 805 |
"The packet receive ring always stores a timestamp in the metadata header. " |
| 806 |
"By default, this is a software generated timestamp generated when the packet " |
| 807 |
"is copied into the ring. This integer option selects the type of " |
| 808 |
"timestamp. Besides the default, it support the two hardware formats " |
| 809 |
"described in I<Documentation/networking/timestamping.rst> in the Linux " |
| 810 |
"kernel source tree." |
| 811 |
msgstr "" |
| 812 |
|
| 813 |
#. type: TP |
| 814 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 815 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 816 |
#, no-wrap |
| 817 |
msgid "B<PACKET_TX_RING> (since Linux 2.6.31)" |
| 818 |
msgstr "B<PACKET_TX_RING> (desde Linux 2.6.31)" |
| 819 |
|
| 820 |
#. commit 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 |
| 821 |
#. type: Plain text |
| 822 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 823 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 824 |
msgid "" |
| 825 |
"Create a memory-mapped ring buffer for packet transmission. This option is " |
| 826 |
"similar to B<PACKET_RX_RING> and takes the same arguments. The application " |
| 827 |
"writes packets into slots with I<tp_status> equal to B<TP_STATUS_AVAILABLE> " |
| 828 |
"and schedules them for transmission by changing I<tp_status> to " |
| 829 |
"B<TP_STATUS_SEND_REQUEST>. When packets are ready to be transmitted, the " |
| 830 |
"application calls B<send>(2) or a variant thereof. The I<buf> and I<len> " |
| 831 |
"fields of this call are ignored. If an address is passed using " |
| 832 |
"B<sendto>(2) or B<sendmsg>(2), then that overrides the socket default. On " |
| 833 |
"successful transmission, the socket resets I<tp_status> to " |
| 834 |
"B<TP_STATUS_AVAILABLE>. It immediately aborts the transmission on error " |
| 835 |
"unless B<PACKET_LOSS> is set." |
| 836 |
msgstr "" |
| 837 |
|
| 838 |
#. type: TP |
| 839 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 840 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 841 |
#, no-wrap |
| 842 |
msgid "B<PACKET_VERSION> (with B<PACKET_RX_RING>; since Linux 2.6.27)" |
| 843 |
msgstr "" |
| 844 |
|
| 845 |
#. commit bbd6ef87c544d88c30e4b762b1b61ef267a7d279 |
| 846 |
#. type: Plain text |
| 847 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 848 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 849 |
msgid "" |
| 850 |
"By default, B<PACKET_RX_RING> creates a packet receive ring of variant " |
| 851 |
"B<TPACKET_V1>. To create another variant, configure the desired variant by " |
| 852 |
"setting this integer option before creating the ring." |
| 853 |
msgstr "" |
| 854 |
|
| 855 |
#. type: TP |
| 856 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 857 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 858 |
#, no-wrap |
| 859 |
msgid "B<PACKET_QDISC_BYPASS> (since Linux 3.14)" |
| 860 |
msgstr "B<PACKET_QDISC_BYPASS> (desde Linux 3.14)" |
| 861 |
|
| 862 |
#. commit d346a3fae3ff1d99f5d0c819bf86edf9094a26a1 |
| 863 |
#. type: Plain text |
| 864 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 865 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 866 |
msgid "" |
| 867 |
"By default, packets sent through packet sockets pass through the kernel's " |
| 868 |
"qdisc (traffic control) layer, which is fine for the vast majority of use " |
| 869 |
"cases. For traffic generator appliances using packet sockets that intend to " |
| 870 |
"brute-force flood the network\\[em]for example, to test devices under load " |
| 871 |
"in a similar fashion to pktgen\\[em]this layer can be bypassed by setting " |
| 872 |
"this integer option to 1. A side effect is that packet buffering in the " |
| 873 |
"qdisc layer is avoided, which will lead to increased drops when network " |
| 874 |
"device transmit queues are busy; therefore, use at your own risk." |
| 875 |
msgstr "" |
| 876 |
|
| 877 |
#. type: SS |
| 878 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 879 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 880 |
#, no-wrap |
| 881 |
msgid "Ioctls" |
| 882 |
msgstr "Ioctls" |
| 883 |
|
| 884 |
#. FIXME Document SIOCGSTAMPNS |
| 885 |
#. type: Plain text |
| 886 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 887 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 888 |
#, fuzzy |
| 889 |
#| msgid "" |
| 890 |
#| "B<SIOCGSTAMP> can be used to receive the time stamp of the last received " |
| 891 |
#| "packet. Argument is a B<struct timeval.>" |
| 892 |
msgid "" |
| 893 |
"B<SIOCGSTAMP> can be used to receive the timestamp of the last received " |
| 894 |
"packet. Argument is a I<struct timeval> variable." |
| 895 |
msgstr "" |
| 896 |
"B<SIOCGSTAMP> se puede usar para recibir la marca de tiempo del último " |
| 897 |
"paquete recibido. El argumento es una esctructura B<struct timeval>." |
| 898 |
|
| 899 |
#. type: Plain text |
| 900 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 901 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 902 |
msgid "" |
| 903 |
"In addition, all standard ioctls defined in B<netdevice>(7) and " |
| 904 |
"B<socket>(7) are valid on packet sockets." |
| 905 |
msgstr "" |
| 906 |
"Además, todas las ioctls estándares definidas en B<netdevice>(7) y " |
| 907 |
"B<socket>(7) son válidas en los conectores de paquetes." |
| 908 |
|
| 909 |
#. type: SS |
| 910 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 911 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 912 |
#, no-wrap |
| 913 |
msgid "Error handling" |
| 914 |
msgstr "Gestión de errores" |
| 915 |
|
| 916 |
#. type: Plain text |
| 917 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 918 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 919 |
msgid "" |
| 920 |
"Packet sockets do no error handling other than errors occurred while passing " |
| 921 |
"the packet to the device driver. They don't have the concept of a pending " |
| 922 |
"error." |
| 923 |
msgstr "" |
| 924 |
"Los conectores de paquetes no manejan otros errores que los ocurridos al " |
| 925 |
"pasar el paquete al manejador del dispositivo. No poseen el concepto de " |
| 926 |
"error pendiente." |
| 927 |
|
| 928 |
#. type: SH |
| 929 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 930 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 931 |
#, no-wrap |
| 932 |
msgid "ERRORS" |
| 933 |
msgstr "ERRORES" |
| 934 |
|
| 935 |
#. type: TP |
| 936 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 937 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 938 |
#, no-wrap |
| 939 |
msgid "B<EADDRNOTAVAIL>" |
| 940 |
msgstr "B<EADDRNOTAVAIL>" |
| 941 |
|
| 942 |
#. type: Plain text |
| 943 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 944 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 945 |
msgid "Unknown multicast group address passed." |
| 946 |
msgstr "Se ha pasado una dirección desconocida de grupo multidestino." |
| 947 |
|
| 948 |
#. type: TP |
| 949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 951 |
#, no-wrap |
| 952 |
msgid "B<EFAULT>" |
| 953 |
msgstr "B<EFAULT>" |
| 954 |
|
| 955 |
#. type: Plain text |
| 956 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 957 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 958 |
msgid "User passed invalid memory address." |
| 959 |
msgstr "El usuario ha pasado una dirección de memoria inválida." |
| 960 |
|
| 961 |
#. type: TP |
| 962 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 963 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 964 |
#, no-wrap |
| 965 |
msgid "B<EINVAL>" |
| 966 |
msgstr "B<EINVAL>" |
| 967 |
|
| 968 |
#. type: Plain text |
| 969 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 970 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 971 |
msgid "Invalid argument." |
| 972 |
msgstr "Argumento inválido." |
| 973 |
|
| 974 |
#. type: TP |
| 975 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 976 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 977 |
#, no-wrap |
| 978 |
msgid "B<EMSGSIZE>" |
| 979 |
msgstr "B<EMSGSIZE>" |
| 980 |
|
| 981 |
#. type: Plain text |
| 982 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 983 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 984 |
msgid "Packet is bigger than interface MTU." |
| 985 |
msgstr "El paquete es más grande que la MTU de la interfaz." |
| 986 |
|
| 987 |
#. type: TP |
| 988 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 989 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 990 |
#, no-wrap |
| 991 |
msgid "B<ENETDOWN>" |
| 992 |
msgstr "B<ENETDOWN>" |
| 993 |
|
| 994 |
#. type: Plain text |
| 995 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 996 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 997 |
msgid "Interface is not up." |
| 998 |
msgstr "La interfaz no está activa." |
| 999 |
|
| 1000 |
#. type: TP |
| 1001 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1002 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1003 |
#, no-wrap |
| 1004 |
msgid "B<ENOBUFS>" |
| 1005 |
msgstr "B<ENOBUFS>" |
| 1006 |
|
| 1007 |
#. type: Plain text |
| 1008 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1009 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1010 |
msgid "Not enough memory to allocate the packet." |
| 1011 |
msgstr "No hay suficiente memoria para colocar el paquete." |
| 1012 |
|
| 1013 |
#. type: TP |
| 1014 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1015 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1016 |
#, no-wrap |
| 1017 |
msgid "B<ENODEV>" |
| 1018 |
msgstr "B<ENODEV>" |
| 1019 |
|
| 1020 |
#. type: Plain text |
| 1021 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1022 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1023 |
msgid "Unknown device name or interface index specified in interface address." |
| 1024 |
msgstr "" |
| 1025 |
"Nombre de dispositivo o índice de interfaz, especificados en la dirección de " |
| 1026 |
"interfaz, desconocidos." |
| 1027 |
|
| 1028 |
#. type: TP |
| 1029 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1030 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1031 |
#, no-wrap |
| 1032 |
msgid "B<ENOENT>" |
| 1033 |
msgstr "B<ENOENT>" |
| 1034 |
|
| 1035 |
#. type: Plain text |
| 1036 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1037 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1038 |
msgid "No packet received." |
| 1039 |
msgstr "No se ha recibido ningún paquete." |
| 1040 |
|
| 1041 |
#. type: TP |
| 1042 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1043 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1044 |
#, no-wrap |
| 1045 |
msgid "B<ENOTCONN>" |
| 1046 |
msgstr "B<ENOTCONN>" |
| 1047 |
|
| 1048 |
#. type: Plain text |
| 1049 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1050 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1051 |
msgid "No interface address passed." |
| 1052 |
msgstr "No se ha pasado una dirección de interfaz." |
| 1053 |
|
| 1054 |
#. type: TP |
| 1055 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1056 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1057 |
#, no-wrap |
| 1058 |
msgid "B<ENXIO>" |
| 1059 |
msgstr "B<ENXIO>" |
| 1060 |
|
| 1061 |
#. type: Plain text |
| 1062 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1063 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1064 |
#, fuzzy |
| 1065 |
#| msgid "Interface address contained illegal interface index." |
| 1066 |
msgid "Interface address contained an invalid interface index." |
| 1067 |
msgstr "La dirección de interfaz contiene un índice de interfaz ilegal." |
| 1068 |
|
| 1069 |
#. type: TP |
| 1070 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1071 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1072 |
#, no-wrap |
| 1073 |
msgid "B<EPERM>" |
| 1074 |
msgstr "B<EPERM>" |
| 1075 |
|
| 1076 |
#. type: Plain text |
| 1077 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1078 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1079 |
msgid "User has insufficient privileges to carry out this operation." |
| 1080 |
msgstr "" |
| 1081 |
"El usuario no tiene privilegios suficientes para llevar a cabo esta " |
| 1082 |
"operación." |
| 1083 |
|
| 1084 |
#. type: Plain text |
| 1085 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1086 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1087 |
msgid "In addition, other errors may be generated by the low-level driver." |
| 1088 |
msgstr "Además, el manejador de bajo nivel puede generar otros errores." |
| 1089 |
|
| 1090 |
#. type: SH |
| 1091 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1092 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1093 |
#, no-wrap |
| 1094 |
msgid "VERSIONS" |
| 1095 |
msgstr "VERSIONES" |
| 1096 |
|
| 1097 |
#. type: Plain text |
| 1098 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1099 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1100 |
msgid "" |
| 1101 |
"B<AF_PACKET> is a new feature in Linux 2.2. Earlier Linux versions " |
| 1102 |
"supported only B<SOCK_PACKET>." |
| 1103 |
msgstr "" |
| 1104 |
"B<AF_PACKET> es una nueva característica de la versión 2.2 de Linux. Las " |
| 1105 |
"primeras versiones de Linux sólo soportaban B<SOCK_PACKET>." |
| 1106 |
|
| 1107 |
#. type: SH |
| 1108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1110 |
#, no-wrap |
| 1111 |
msgid "NOTES" |
| 1112 |
msgstr "NOTAS" |
| 1113 |
|
| 1114 |
#. type: Plain text |
| 1115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1117 |
msgid "" |
| 1118 |
"For portable programs it is suggested to use B<AF_PACKET> via B<pcap>(3); " |
| 1119 |
"although this covers only a subset of the B<AF_PACKET> features." |
| 1120 |
msgstr "" |
| 1121 |
"Se sugiere que los programas transportables usen B<AF_PACKET> a través de " |
| 1122 |
"B<pcap>(3), aunque esto sólo cubre un subconjunto de las características de " |
| 1123 |
"B<AF_PACKET>." |
| 1124 |
|
| 1125 |
#. type: Plain text |
| 1126 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1127 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1128 |
#, fuzzy |
| 1129 |
#| msgid "" |
| 1130 |
#| "The B<SOCK_DGRAM> packet sockets make no attempt to create or parse the " |
| 1131 |
#| "IEEE 802.2 LLC header for a IEEE 802.3 frame. When B<ETH_P_802_3> is " |
| 1132 |
#| "specified as protocol for sending the kernel creates the 802.3 frame and " |
| 1133 |
#| "fills out the length field; the user has to supply the LLC header to get " |
| 1134 |
#| "a fully conforming packet. Incoming 802.3 packets are not multiplexed on " |
| 1135 |
#| "the DSAP/SSAP protocol fields; instead they are supplied to the user as " |
| 1136 |
#| "protocol B<ETH_P_802_2> with the LLC header prefixed. It is thus not " |
| 1137 |
#| "possible to bind to B<ETH_P_802_3>; bind to B<ETH_P_802_2> instead and do " |
| 1138 |
#| "the protocol multiplex yourself. The default for sending is the standard " |
| 1139 |
#| "Ethernet DIX encapsulation with the protocol filled in." |
| 1140 |
msgid "" |
| 1141 |
"The B<SOCK_DGRAM> packet sockets make no attempt to create or parse the IEEE " |
| 1142 |
"802.2 LLC header for a IEEE 802.3 frame. When B<ETH_P_802_3> is specified " |
| 1143 |
"as protocol for sending the kernel creates the 802.3 frame and fills out the " |
| 1144 |
"size field; the user has to supply the LLC header to get a fully conforming " |
| 1145 |
"packet. Incoming 802.3 packets are not multiplexed on the DSAP/SSAP " |
| 1146 |
"protocol fields; instead they are supplied to the user as protocol " |
| 1147 |
"B<ETH_P_802_2> with the LLC header prefixed. It is thus not possible to " |
| 1148 |
"bind to B<ETH_P_802_3>; bind to B<ETH_P_802_2> instead and do the protocol " |
| 1149 |
"multiplex yourself. The default for sending is the standard Ethernet DIX " |
| 1150 |
"encapsulation with the protocol filled in." |
| 1151 |
msgstr "" |
| 1152 |
"Los conectores de paquetes B<SOCK_DGRAM> no intentan crear o analizar la " |
| 1153 |
"cabecera LLC IEEE 802.2 para una trama IEEE 802.3. Cuando se especifica " |
| 1154 |
"B<ETH_P_802_3> como protocolo para enviar, el núcleo crea la trama 802.3 y " |
| 1155 |
"rellena el campo de longitud. El usuario tiene que proporcionar la cabecera " |
| 1156 |
"LLC para obtener un paquete totalmente conforme. Los paquetes 802.3 de " |
| 1157 |
"entrada no son multiplexados en los campos DSAP/SSAP del protocolo. En su " |
| 1158 |
"lugar, se entregan al usuario como protocolo B<ETH_P_802_2> con la cabecera " |
| 1159 |
"LLC añadida. Por tanto, es imposible enlazar con B<ETH_P_802_3>. Enlace en " |
| 1160 |
"su lugar con B<ETH_P_802_2> y haga usted mismo la multiplexación del " |
| 1161 |
"protocolo. Para enviar por omisión se utiliza la encapsulación estándar " |
| 1162 |
"Ethernet DIX con el dato del protocolo lleno." |
| 1163 |
|
| 1164 |
#. type: Plain text |
| 1165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1167 |
msgid "Packet sockets are not subject to the input or output firewall chains." |
| 1168 |
msgstr "" |
| 1169 |
"Los conectores de paquetes no están sujetos a las cadenas de entrada ni de " |
| 1170 |
"salida del cortafuegos." |
| 1171 |
|
| 1172 |
#. type: SS |
| 1173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1175 |
#, no-wrap |
| 1176 |
msgid "Compatibility" |
| 1177 |
msgstr "Compatibilidad" |
| 1178 |
|
| 1179 |
#. type: Plain text |
| 1180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1182 |
msgid "In Linux 2.0, the only way to get a packet socket was with the call:" |
| 1183 |
msgstr "" |
| 1184 |
|
| 1185 |
#. type: Plain text |
| 1186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1188 |
#, fuzzy, no-wrap |
| 1189 |
#| msgid " socket(AF_INET, SOCK_PACKET, protocol)\n" |
| 1190 |
msgid "socket(AF_INET, SOCK_PACKET, protocol)\n" |
| 1191 |
msgstr " socket(AF_INET, SOCK_PACKET, protocol)\n" |
| 1192 |
|
| 1193 |
#. type: Plain text |
| 1194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1196 |
#, fuzzy |
| 1197 |
#| msgid "" |
| 1198 |
#| "In Linux 2.0, the only way to get a packet socket was by calling " |
| 1199 |
#| "B<socket(PF_INET, SOCK_PACKET, >I<protocol>B<)>. This is still supported " |
| 1200 |
#| "but strongly deprecated. The main difference between the two methods is " |
| 1201 |
#| "that B<SOCK_PACKET> uses the old B<struct sockaddr_pkt> to specify an " |
| 1202 |
#| "interface, which doesn't provide physical layer independence." |
| 1203 |
msgid "" |
| 1204 |
"This is still supported, but deprecated and strongly discouraged. The main " |
| 1205 |
"difference between the two methods is that B<SOCK_PACKET> uses the old " |
| 1206 |
"I<struct sockaddr_pkt> to specify an interface, which doesn't provide " |
| 1207 |
"physical-layer independence." |
| 1208 |
msgstr "" |
| 1209 |
"En la versión 2.0 de Linux, la única forma de obtener un conector de " |
| 1210 |
"paquetes era llamando a B<socket(PF_INET, SOCK_PACKET, >I<protocol>B<)>. " |
| 1211 |
"Esto todavía está soportado pero se desaprueba fuertemente. La principal " |
| 1212 |
"diferencia entre los dos métodos es que B<SOCK_PACKET>, para especificar una " |
| 1213 |
"interfaz, usa la antigua B<struct sockaddr_pkt> que no proporciona " |
| 1214 |
"independencia de la capa física." |
| 1215 |
|
| 1216 |
#. type: Plain text |
| 1217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1219 |
#, no-wrap |
| 1220 |
msgid "" |
| 1221 |
"struct sockaddr_pkt {\n" |
| 1222 |
" unsigned short spkt_family;\n" |
| 1223 |
" unsigned char spkt_device[14];\n" |
| 1224 |
" unsigned short spkt_protocol;\n" |
| 1225 |
"};\n" |
| 1226 |
msgstr "" |
| 1227 |
"struct sockaddr_pkt {\n" |
| 1228 |
" unsigned short spkt_family;\n" |
| 1229 |
" unsigned char spkt_device[14];\n" |
| 1230 |
" unsigned short spkt_protocol;\n" |
| 1231 |
"};\n" |
| 1232 |
|
| 1233 |
#. type: Plain text |
| 1234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1236 |
msgid "" |
| 1237 |
"I<spkt_family> contains the device type, I<spkt_protocol> is the IEEE 802.3 " |
| 1238 |
"protocol type as defined in I<E<lt>sys/if_ether.hE<gt>> and I<spkt_device> " |
| 1239 |
"is the device name as a null-terminated string, for example, eth0." |
| 1240 |
msgstr "" |
| 1241 |
"I<spkt_family> contiene el tipo del dispositivo, I<spkt_protocol> es el tipo " |
| 1242 |
"del protocolo IEEE 802.3 de los definidos en I<E<lt>sys/if_ether.hE<gt>> y " |
| 1243 |
"I<spkt_device> es el nombre del dispositivo dado como una cadena terminada " |
| 1244 |
"en un nulo, por ejemplo, eth0." |
| 1245 |
|
| 1246 |
#. type: Plain text |
| 1247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1249 |
msgid "This structure is obsolete and should not be used in new code." |
| 1250 |
msgstr "Esta estructura está obsoleta y no debería usarse en código nuevo." |
| 1251 |
|
| 1252 |
#. type: SH |
| 1253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1255 |
#, no-wrap |
| 1256 |
msgid "BUGS" |
| 1257 |
msgstr "ERRORES" |
| 1258 |
|
| 1259 |
#. type: SS |
| 1260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1262 |
#, fuzzy, no-wrap |
| 1263 |
#| msgid "Error handling" |
| 1264 |
msgid "LLC header handling" |
| 1265 |
msgstr "Gestión de errores" |
| 1266 |
|
| 1267 |
#. type: Plain text |
| 1268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1270 |
msgid "The IEEE 802.2/803.3 LLC handling could be considered as a bug." |
| 1271 |
msgstr "El tratamiento del IEEE 802.2/803.3 LLC se podría considerar un fallo." |
| 1272 |
|
| 1273 |
#. type: SS |
| 1274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1276 |
#, no-wrap |
| 1277 |
msgid "MSG_TRUNC issues" |
| 1278 |
msgstr "" |
| 1279 |
|
| 1280 |
#. type: Plain text |
| 1281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1283 |
msgid "" |
| 1284 |
"The B<MSG_TRUNC> B<recvmsg>(2) extension is an ugly hack and should be " |
| 1285 |
"replaced by a control message. There is currently no way to get the " |
| 1286 |
"original destination address of packets via B<SOCK_DGRAM>." |
| 1287 |
msgstr "" |
| 1288 |
"La extensión B<MSG_TRUNC> de B<recvmsg>(2) es una solución chapucera y " |
| 1289 |
"debería ser reemplazada por un mensaje de control. Actualmente no hay " |
| 1290 |
"ninguna manera de obtener la dirección de destino original de paquetes via " |
| 1291 |
"B<SOCK_DGRAM>." |
| 1292 |
|
| 1293 |
#. type: SS |
| 1294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1296 |
#, no-wrap |
| 1297 |
msgid "spkt_device device name truncation" |
| 1298 |
msgstr "" |
| 1299 |
|
| 1300 |
#. type: Plain text |
| 1301 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1302 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1303 |
msgid "" |
| 1304 |
"The I<spkt_device> field of I<sockaddr_pkt> has a size of 14 bytes, which is " |
| 1305 |
"less than the constant B<IFNAMSIZ> defined in I<E<lt>net/if.hE<gt>> which is " |
| 1306 |
"16 bytes and describes the system limit for a network interface name. This " |
| 1307 |
"means the names of network devices longer than 14 bytes will be truncated to " |
| 1308 |
"fit into I<spkt_device>. All these sizes include the terminating null byte " |
| 1309 |
"(\\[aq]\\[rs]0\\[aq]))." |
| 1310 |
msgstr "" |
| 1311 |
|
| 1312 |
#. type: Plain text |
| 1313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1315 |
msgid "" |
| 1316 |
"Issues from this with old code typically show up with very long interface " |
| 1317 |
"names used by the B<Predictable Network Interface Names> feature enabled by " |
| 1318 |
"default in many modern Linux distributions." |
| 1319 |
msgstr "" |
| 1320 |
|
| 1321 |
#. type: Plain text |
| 1322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1324 |
msgid "" |
| 1325 |
"The preferred solution is to rewrite code to avoid B<SOCK_PACKET>. Possible " |
| 1326 |
"user solutions are to disable B<Predictable Network Interface Names> or to " |
| 1327 |
"rename the interface to a name of at most 13 bytes, for example using the " |
| 1328 |
"B<ip>(8) tool." |
| 1329 |
msgstr "" |
| 1330 |
|
| 1331 |
#. type: SS |
| 1332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1334 |
#, no-wrap |
| 1335 |
msgid "Documentation issues" |
| 1336 |
msgstr "" |
| 1337 |
|
| 1338 |
#. .SH CREDITS |
| 1339 |
#. This man page was written by Andi Kleen with help from Matthew Wilcox. |
| 1340 |
#. AF_PACKET in Linux 2.2 was implemented |
| 1341 |
#. by Alexey Kuznetsov, based on code by Alan Cox and others. |
| 1342 |
#. type: Plain text |
| 1343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1345 |
msgid "Socket filters are not documented." |
| 1346 |
msgstr "No se han documentado los filtros de los conectores." |
| 1347 |
|
| 1348 |
#. type: SH |
| 1349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1351 |
#, no-wrap |
| 1352 |
msgid "SEE ALSO" |
| 1353 |
msgstr "VÉASE TAMBIÉN" |
| 1354 |
|
| 1355 |
#. type: Plain text |
| 1356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1358 |
#, fuzzy |
| 1359 |
#| msgid "" |
| 1360 |
#| "B<socket>(2), B<pcap>(3), B<capabilities>(7), B<ip>(7), B<raw>(7), " |
| 1361 |
#| "B<socket>(7)" |
| 1362 |
msgid "" |
| 1363 |
"B<socket>(2), B<pcap>(3), B<capabilities>(7), B<ip>(7), B<raw>(7), " |
| 1364 |
"B<socket>(7), B<ip>(8)," |
| 1365 |
msgstr "" |
| 1366 |
"B<socket>(2), B<pcap>(3), B<capabilities>(7), B<ip>(7), B<raw>(7), " |
| 1367 |
"B<socket>(7)" |
| 1368 |
|
| 1369 |
#. type: Plain text |
| 1370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1372 |
msgid "" |
| 1373 |
"RFC\\ 894 for the standard IP Ethernet encapsulation. RFC\\ 1700 for the " |
| 1374 |
"IEEE 802.3 IP encapsulation." |
| 1375 |
msgstr "" |
| 1376 |
"RFC\\ 894 for the standard IP Ethernet encapsulation. RFC\\ 1700 for the " |
| 1377 |
"IEEE 802.3 IP encapsulation." |
| 1378 |
|
| 1379 |
#. type: Plain text |
| 1380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1382 |
msgid "" |
| 1383 |
"The I<E<lt>linux/if_ether.hE<gt>> include file for physical-layer protocols." |
| 1384 |
msgstr "" |
| 1385 |
"El fichero cabecera I<E<lt>linux/if_ether.hE<gt>> para los protocolos de la " |
| 1386 |
"capa física." |
| 1387 |
|
| 1388 |
#. type: Plain text |
| 1389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1391 |
msgid "" |
| 1392 |
"The Linux kernel source tree. I<Documentation/networking/filter.rst> " |
| 1393 |
"describes how to apply Berkeley Packet Filters to packet sockets. I<tools/" |
| 1394 |
"testing/selftests/net/psock_tpacket.c> contains example source code for all " |
| 1395 |
"available versions of B<PACKET_RX_RING> and B<PACKET_TX_RING>." |
| 1396 |
msgstr "" |
| 1397 |
|
| 1398 |
#. type: TH |
| 1399 |
#: debian-trixie |
| 1400 |
#, no-wrap |
| 1401 |
msgid "2024-06-15" |
| 1402 |
msgstr "15 Junio 2024" |
| 1403 |
|
| 1404 |
#. type: TH |
| 1405 |
#: debian-trixie |
| 1406 |
#, no-wrap |
| 1407 |
msgid "Linux man-pages 6.9.1" |
| 1408 |
msgstr "Páginas de Manual de Linux 6.9.1" |
| 1409 |
|
| 1410 |
#. type: Plain text |
| 1411 |
#: debian-trixie |
| 1412 |
msgid "" |
| 1413 |
"When the B<MSG_TRUNC> flag is passed to B<recvmsg>(2), B<recv>(2), or " |
| 1414 |
"B<recvfrom>(2), the real length of the packet on the wire is always " |
| 1415 |
"returned, even when it is longer than the buffer." |
| 1416 |
msgstr "" |
| 1417 |
"Cuando se pasa la opción B<MSG_TRUNC> a B<recvmsg>(2), B<recv>(2) o " |
| 1418 |
"B<recvfrom>(2) se devuelve siempre en última instancia la longitud real del " |
| 1419 |
"paquete, incluso cuando es mayor que la del buffer." |
| 1420 |
|
| 1421 |
#. type: Plain text |
| 1422 |
#: debian-trixie |
| 1423 |
#, fuzzy, no-wrap |
| 1424 |
#| msgid "" |
| 1425 |
#| "struct sockaddr_ll {\n" |
| 1426 |
#| "\tunsigned short\tsll_family;\t/* Always AF_PACKET */\n" |
| 1427 |
#| "\tunsigned short\tsll_protocol;\t/* Physical layer protocol */\n" |
| 1428 |
#| "\tint\tsll_ifindex;\t/* Interface number */\n" |
| 1429 |
#| "\tunsigned short\tsll_hatype;\t/* Header type */\t\n" |
| 1430 |
#| "\tunsigned char\tsll_pkttype;\t/* Packet type */\n" |
| 1431 |
#| "\tunsigned char\tsll_halen;\t/* Length of address */ \n" |
| 1432 |
#| "\tunsigned char\tsll_addr[8];\t/* Physical layer address */\n" |
| 1433 |
#| "};\n" |
| 1434 |
msgid "" |
| 1435 |
"struct sockaddr_ll {\n" |
| 1436 |
" unsigned short sll_family; /* Always AF_PACKET */\n" |
| 1437 |
" unsigned short sll_protocol; /* Physical-layer protocol */\n" |
| 1438 |
" int sll_ifindex; /* Interface number */\n" |
| 1439 |
" unsigned short sll_hatype; /* ARP hardware type */\n" |
| 1440 |
" unsigned char sll_pkttype; /* Packet type */\n" |
| 1441 |
" unsigned char sll_halen; /* Length of address */\n" |
| 1442 |
" unsigned char sll_addr[8]; /* Physical-layer address */\n" |
| 1443 |
"};\n" |
| 1444 |
msgstr "" |
| 1445 |
"struct sockaddr_ll {\n" |
| 1446 |
"\tunsigned short\tsll_family;\t/* Siempre es AF_PACKET */\n" |
| 1447 |
"\tunsigned short\tsll_protocol;\t/* Protocolo de la capa física */\n" |
| 1448 |
"\tint\tsll_ifindex;\t/* Número de la interfaz */\n" |
| 1449 |
"\tunsigned short\tsll_hatype;\t/* Tipo de cabecera */\t\n" |
| 1450 |
"\tunsigned char\tsll_pkttype;\t/* Tipo de paquete */\n" |
| 1451 |
"\tunsigned char\tsll_halen;\t/* Longitud de la dirección */ \n" |
| 1452 |
"\tunsigned char\tsll_addr[8];\t/* Dirección de la capa física */\n" |
| 1453 |
"};\n" |
| 1454 |
|
| 1455 |
#. type: Plain text |
| 1456 |
#: debian-trixie |
| 1457 |
msgid "" |
| 1458 |
"contain the physical-layer (e.g., IEEE 802.3) address and its length. The " |
| 1459 |
"exact interpretation depends on the device." |
| 1460 |
msgstr "" |
| 1461 |
|
| 1462 |
#. type: Plain text |
| 1463 |
#: debian-trixie |
| 1464 |
#, fuzzy, no-wrap |
| 1465 |
#| msgid "" |
| 1466 |
#| "struct packet_mreq\n" |
| 1467 |
#| "{\n" |
| 1468 |
#| "\tint\tmr_ifindex;\t/* interface index */\n" |
| 1469 |
#| "\tunsigned short\tmr_type;\t/* action */\n" |
| 1470 |
#| "\tunsigned short\tmr_alen;\t/* address length */\n" |
| 1471 |
#| "\tunsigned char\tmr_address[8];\t/* physical layer address */ \n" |
| 1472 |
#| "};\n" |
| 1473 |
msgid "" |
| 1474 |
"struct packet_mreq {\n" |
| 1475 |
" int mr_ifindex; /* interface index */\n" |
| 1476 |
" unsigned short mr_type; /* action */\n" |
| 1477 |
" unsigned short mr_alen; /* address length */\n" |
| 1478 |
" unsigned char mr_address[8]; /* physical-layer address */\n" |
| 1479 |
"};\n" |
| 1480 |
msgstr "" |
| 1481 |
"struct packet_mreq\n" |
| 1482 |
"{\n" |
| 1483 |
"\tint\tmr_ifindex;\t/* índice de la interfaz */\n" |
| 1484 |
"\tunsigned short\tmr_type;\t/* acción */\n" |
| 1485 |
"\tunsigned short\tmr_alen;\t/* longitud de la dirección */\n" |
| 1486 |
"\tunsigned char\tmr_address[8];\t/* dirección de la capa física */ \n" |
| 1487 |
"};\n" |
| 1488 |
|
| 1489 |
#. commit a0cdfcf39362410d5ea983f4daf67b38de129408 added tp_vlan_tpid |
| 1490 |
#. type: Plain text |
| 1491 |
#: debian-trixie |
| 1492 |
#, no-wrap |
| 1493 |
msgid "" |
| 1494 |
"struct tpacket_auxdata {\n" |
| 1495 |
" __u32 tp_status;\n" |
| 1496 |
" __u32 tp_len; /* packet length */\n" |
| 1497 |
" __u32 tp_snaplen; /* captured length */\n" |
| 1498 |
" __u16 tp_mac;\n" |
| 1499 |
" __u16 tp_net;\n" |
| 1500 |
" __u16 tp_vlan_tci;\n" |
| 1501 |
" __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n" |
| 1502 |
" were unused padding bytes */\n" |
| 1503 |
"};\n" |
| 1504 |
msgstr "" |
| 1505 |
|
| 1506 |
#. type: Plain text |
| 1507 |
#: debian-trixie |
| 1508 |
msgid "" |
| 1509 |
"The B<SOCK_DGRAM> packet sockets make no attempt to create or parse the IEEE " |
| 1510 |
"802.2 LLC header for a IEEE 802.3 frame. When B<ETH_P_802_3> is specified " |
| 1511 |
"as protocol for sending the kernel creates the 802.3 frame and fills out the " |
| 1512 |
"length field; the user has to supply the LLC header to get a fully " |
| 1513 |
"conforming packet. Incoming 802.3 packets are not multiplexed on the DSAP/" |
| 1514 |
"SSAP protocol fields; instead they are supplied to the user as protocol " |
| 1515 |
"B<ETH_P_802_2> with the LLC header prefixed. It is thus not possible to " |
| 1516 |
"bind to B<ETH_P_802_3>; bind to B<ETH_P_802_2> instead and do the protocol " |
| 1517 |
"multiplex yourself. The default for sending is the standard Ethernet DIX " |
| 1518 |
"encapsulation with the protocol filled in." |
| 1519 |
msgstr "" |
| 1520 |
"Los conectores de paquetes B<SOCK_DGRAM> no intentan crear o analizar la " |
| 1521 |
"cabecera LLC IEEE 802.2 para una trama IEEE 802.3. Cuando se especifica " |
| 1522 |
"B<ETH_P_802_3> como protocolo para enviar, el núcleo crea la trama 802.3 y " |
| 1523 |
"rellena el campo de longitud. El usuario tiene que proporcionar la cabecera " |
| 1524 |
"LLC para obtener un paquete totalmente conforme. Los paquetes 802.3 de " |
| 1525 |
"entrada no son multiplexados en los campos DSAP/SSAP del protocolo. En su " |
| 1526 |
"lugar, se entregan al usuario como protocolo B<ETH_P_802_2> con la cabecera " |
| 1527 |
"LLC añadida. Por tanto, es imposible enlazar con B<ETH_P_802_3>. Enlace en " |
| 1528 |
"su lugar con B<ETH_P_802_2> y haga usted mismo la multiplexación del " |
| 1529 |
"protocolo. Para enviar por omisión se utiliza la encapsulación estándar " |
| 1530 |
"Ethernet DIX con el dato del protocolo lleno." |
| 1531 |
|
| 1532 |
#. type: Plain text |
| 1533 |
#: debian-trixie |
| 1534 |
msgid "" |
| 1535 |
"The I<spkt_device> field of I<sockaddr_pkt> has a size of 14 bytes, which is " |
| 1536 |
"less than the constant B<IFNAMSIZ> defined in I<E<lt>net/if.hE<gt>> which is " |
| 1537 |
"16 bytes and describes the system limit for a network interface name. This " |
| 1538 |
"means the names of network devices longer than 14 bytes will be truncated to " |
| 1539 |
"fit into I<spkt_device>. All these lengths include the terminating null " |
| 1540 |
"byte (\\[aq]\\[rs]0\\[aq]))." |
| 1541 |
msgstr "" |
| 1542 |
|
| 1543 |
#. type: TH |
| 1544 |
#: fedora-44 fedora-rawhide |
| 1545 |
#, no-wrap |
| 1546 |
msgid "2024-11-17" |
| 1547 |
msgstr "17 Noviembre 2024" |
| 1548 |
|
| 1549 |
#. type: TH |
| 1550 |
#: fedora-44 fedora-rawhide |
| 1551 |
#, no-wrap |
| 1552 |
msgid "Linux man-pages 6.13" |
| 1553 |
msgstr "Páginas de Manual de Linux 6.13" |
| 1554 |
|
| 1555 |
#. type: TH |
| 1556 |
#: mageia-cauldron |
| 1557 |
#, no-wrap |
| 1558 |
msgid "Linux man-pages 6.17" |
| 1559 |
msgstr "Páginas de Manual de Linux 6.17" |
| 1560 |
|
| 1561 |
#. type: TH |
| 1562 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1563 |
#, no-wrap |
| 1564 |
msgid "Linux man-pages (unreleased)" |
| 1565 |
msgstr "Páginas de Manual de Linux (no publicadas)" |