Debian Codegraph @

po/fr/man7/packet.7.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2013-2014.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010-2014.
18 # Jean-Paul Guillonneau <[email protected]>, 2021.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: perkamon\n"
22 "POT-Creation-Date: 2026-06-05 06:33+0200\n"
23 "PO-Revision-Date: 2021-08-21 09:31+0200\n"
24 "Last-Translator: Jean-Paul Guillonneau <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: vim\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "packet"
38 msgstr "packet"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-08"
45 msgstr "8 février 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
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 "NAME"
58 msgstr "NOM"
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 msgid "packet - packet interface on device level"
64 msgstr "packet – Interface de paquets au niveau du périphérique"
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 "SYNOPSIS"
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>sys/socket.hE<gt>>\n"
79 "B<#include E<lt>linux/if_packet.hE<gt>>\n"
80 "B<#include E<lt>net/ethernet.hE<gt> /* the L2 protocols */>\n"
81 msgstr ""
82 "B<#include E<lt>sys/socket.hE<gt>>\n"
83 "B<#include E<lt>linux/if_packet.hE<gt>>\n"
84 "B<#include E<lt>net/ethernet.hE<gt> /* Les protocoles L2 */>\n"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<packet_socket = socket(AF_PACKET, int >I<socket_type>B<, int >I<protocol>B<);>\n"
91 msgstr "B<packet_socket = socket(AF_PACKET, int >I<type_socket>B<, int >I<protocole>B<);>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "DESCRIPTION"
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 msgid ""
104 "Packet sockets are used to receive or send raw packets at the device driver "
105 "(OSI Layer 2) level. They allow the user to implement protocol modules in "
106 "user space on top of the physical layer."
107 msgstr ""
108 "Les sockets packet sont utilisés pour envoyer ou recevoir des paquets bruts "
109 "au pilote de périphérique (couche 2 OSI). Ils permettent d'implémenter des "
110 "modules de protocole dans l'espace utilisateur au-dessus de la couche "
111 "physique."
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 #, fuzzy
117 #| msgid ""
118 #| "The I<socket_type> is either B<SOCK_RAW> for raw packets including the "
119 #| "link-level header or B<SOCK_DGRAM> for cooked packets with the link-level "
120 #| "header removed. The link-level header information is available in a "
121 #| "common format in a I<sockaddr_ll> structure. I<protocol> is the IEEE "
122 #| "802.3 protocol number in network byte order. See the I<E<lt>linux/"
123 #| "if_ether.hE<gt>> include file for a list of allowed protocols. When "
124 #| "protocol is set to B<htons(ETH_P_ALL)>, then all protocols are received. "
125 #| "All incoming packets of that protocol type will be passed to the packet "
126 #| "socket before they are passed to the protocols implemented in the kernel."
127 msgid ""
128 "The I<socket_type> is either B<SOCK_RAW> for raw packets including the link-"
129 "level header or B<SOCK_DGRAM> for cooked packets with the link-level header "
130 "removed. The link-level header information is available in a common format "
131 "in a I<sockaddr_ll> structure. I<protocol> is the IEEE 802.3 protocol "
132 "number in network byte order. See the I<E<lt>linux/if_ether.hE<gt>> include "
133 "file for a list of allowed protocols. When protocol is set to "
134 "B<htons(ETH_P_ALL)>, then all protocols are received. All incoming packets "
135 "of that protocol type will be passed to the packet socket before they are "
136 "passed to the protocols implemented in the kernel. If I<protocol> is set to "
137 "zero, no packets are received. B<bind>(2) can optionally be called with a "
138 "nonzero I<sll_protocol> to start receiving packets for the protocols "
139 "specified."
140 msgstr ""
141 "L'argument I<type_socket> est soit B<SOCK_RAW> pour les paquets bruts "
142 "incluant l'en-tête de couche liaison, soit B<SOCK_DGRAM> pour les paquets "
143 "préparés sans en-tête de couche liaison. Les informations d’en-tête de "
144 "couche liaison sont disponibles dans un format commun, par l'intermédiaire "
145 "d'une structure I<sockaddr_ll>. I<protocole> est un numéro de protocole "
146 "IEEE 802.3 dans l'ordre des octets du réseau. Consultez le fichier d'en-tête "
147 "I<E<lt>linux/if_ether.hE<gt>> pour avoir une liste des protocoles autorisés. "
148 "Lorsque le protocole demandé est B<htons(ETH_P_ALL)>, alors tous les "
149 "protocoles sont reçus. Tous les paquets entrants du protocole indiqué seront "
150 "passés au socket packet avant d'être transmis aux protocoles implémentés "
151 "dans le noyau."
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "In order to create a packet socket, a process must have the B<CAP_NET_RAW> "
158 "capability in the user namespace that governs its network namespace."
159 msgstr ""
160 "Pour pouvoir créer des sockets packet, un processus doit posséder la "
161 "capacité B<CAP_NET_RAW> dans l’espace de noms utilisateur qui régit son "
162 "espace de noms réseau."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "B<SOCK_RAW> packets are passed to and from the device driver without any "
169 "changes in the packet data. When receiving a packet, the address is still "
170 "parsed and passed in a standard I<sockaddr_ll> address structure. When "
171 "transmitting a packet, the user-supplied buffer should contain the physical-"
172 "layer header. That packet is then queued unmodified to the network driver "
173 "of the interface defined by the destination address. Some device drivers "
174 "always add other headers. B<SOCK_RAW> is similar to but not compatible with "
175 "the obsolete B<AF_INET/SOCK_PACKET> of Linux 2.0."
176 msgstr ""
177 "Les paquets B<SOCK_RAW> sont transmis depuis et vers le pilote de "
178 "périphérique sans aucune modification des données des paquets. Lors de la "
179 "réception d’un paquet, l'adresse est toujours examinée et fournie dans une "
180 "structure standard d’adresse I<sockaddr_ll>. Lors de l'émission d'un paquet, "
181 "le tampon fourni par l'utilisateur doit contenir l'en-tête de couche "
182 "physique. Le paquet est alors mis en attente sans modification à l'attention "
183 "du pilote de périphérique correspondant à l'interface définie par l'adresse "
184 "de destination. Certains pilotes de périphérique ajoutent toujours d'autres "
185 "en-têtes. B<SOCK_RAW> est similaire mais non compatible avec l'ancien "
186 "B<AF_INET/SOCK_PACKET> de Linux 2.0."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "B<SOCK_DGRAM> operates on a slightly higher level. The physical header is "
193 "removed before the packet is passed to the user. Packets sent through a "
194 "B<SOCK_DGRAM> packet socket get a suitable physical-layer header based on "
195 "the information in the I<sockaddr_ll> destination address before they are "
196 "queued."
197 msgstr ""
198 "B<SOCK_DGRAM> opère à un niveau légèrement plus élevé. L'en-tête de couche "
199 "physique est supprimé avant que le paquet ne soit transmis à l'utilisateur. "
200 "Les paquets envoyés par un socket packet B<SOCK_DGRAM> reçoivent un en-tête "
201 "de couche physique correct basé sur les informations dans l'adresse "
202 "destination I<sockaddr_ll> avant d'être mis en attente."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "By default, all packets of the specified protocol type are passed to a "
209 "packet socket. To get packets only from a specific interface use "
210 "B<bind>(2) specifying an address in a I<struct sockaddr_ll> to bind the "
211 "packet socket to an interface. Fields used for binding are I<sll_family> "
212 "(should be B<AF_PACKET>), I<sll_protocol>, and I<sll_ifindex>."
213 msgstr ""
214 "Par défaut, tous les paquets du type de protocole indiqué sont passés au "
215 "socket packet. Pour ne recevoir que les paquets d'une interface donnée, "
216 "utilisez B<bind>(2) en indiquant une adresse dans une I<struct sockaddr_ll> "
217 "pour attacher le socket à une interface. Les champs utilisés pour la liaison "
218 "sont I<sll_family> (devrait être B<AF_PACKET>), I<sll_protocol> et "
219 "I<sll_ifindex>."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid "The B<connect>(2) operation is not supported on packet sockets."
225 msgstr ""
226 "L'opération B<connect>(2) n'est pas prise en charge sur les sockets packet."
227
228 #. type: Plain text
229 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
230 #: opensuse-leap-16-1 opensuse-tumbleweed
231 #, fuzzy
232 #| msgid ""
233 #| "When the B<MSG_TRUNC> flag is passed to B<recvmsg>(2), B<recv>(2), or "
234 #| "B<recvfrom>(2), the real length of the packet on the wire is always "
235 #| "returned, even when it is longer than the buffer."
236 msgid ""
237 "When the B<MSG_TRUNC> flag is passed to B<recvmsg>(2), B<recv>(2), or "
238 "B<recvfrom>(2), the real size of the packet on the wire is always returned, "
239 "even when it is longer than the buffer."
240 msgstr ""
241 "Lorsque l'attribut B<MSG_TRUNC> est transmis à B<recvmsg>(2), B<recv>(2) ou "
242 "B<recvfrom>(2), la véritable longueur du paquet sur le réseau est toujours "
243 "renvoyée, même si elle est plus grande que le tampon."
244
245 #. type: SS
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid "Address types"
250 msgstr "Types d’adresses"
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid ""
256 "The I<sockaddr_ll> structure is a device-independent physical-layer address."
257 msgstr ""
258 "La structure I<sockaddr_ll> est une adresse de couche physique indépendante "
259 "du périphérique."
260
261 #. type: Plain text
262 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
263 #: opensuse-leap-16-1 opensuse-tumbleweed
264 #, fuzzy, no-wrap
265 #| msgid ""
266 #| "struct sockaddr_ll {\n"
267 #| " unsigned short sll_family; /* Always AF_PACKET */\n"
268 #| " unsigned short sll_protocol; /* Physical-layer protocol */\n"
269 #| " int sll_ifindex; /* Interface number */\n"
270 #| " unsigned short sll_hatype; /* ARP hardware type */\n"
271 #| " unsigned char sll_pkttype; /* Packet type */\n"
272 #| " unsigned char sll_halen; /* Length of address */\n"
273 #| " unsigned char sll_addr[8]; /* Physical-layer address */\n"
274 #| "};\n"
275 msgid ""
276 "struct sockaddr_ll {\n"
277 " unsigned short sll_family; /* Always AF_PACKET */\n"
278 " unsigned short sll_protocol; /* Physical-layer protocol */\n"
279 " int sll_ifindex; /* Interface number */\n"
280 " unsigned short sll_hatype; /* ARP hardware type */\n"
281 " unsigned char sll_pkttype; /* Packet type */\n"
282 " unsigned char sll_halen; /* Size of address */\n"
283 " unsigned char sll_addr[8]; /* Physical-layer address */\n"
284 "};\n"
285 msgstr ""
286 "struct sockaddr_ll {\n"
287 " unsigned short sll_family; /* Toujours AF_PACKET */\n"
288 " unsigned short sll_protocol; /* Protocole couche physique */\n"
289 " int sll_ifindex; /* Numéro d'interface */\n"
290 " unsigned short sll_hatype; /* Type de matériel ARP */\n"
291 " unsigned char sll_pkttype; /* Type de paquet */\n"
292 " unsigned char sll_halen; /* Longueur de l'adresse */\n"
293 " unsigned char sll_addr[8]; /* Adresse couche physique */\n"
294 "};\n"
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid "The fields of this structure are as follows:"
300 msgstr "Les membres de cette structure sont les suivants :"
301
302 #. type: TP
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "I<sll_protocol>"
307 msgstr "I<sll_protocol>"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "is the standard ethernet protocol type in network byte order as defined in "
314 "the I<E<lt>linux/if_ether.hE<gt>> include file. It defaults to the socket's "
315 "protocol."
316 msgstr ""
317 "est le type normalisé du protocole Ethernet dans l’ordre des octets du "
318 "réseau tel que défini dans le fichier d’en-tête I<E<lt>linux/"
319 "if_ether.hE<gt>>. C’est par défaut le protocole du socket."
320
321 #. type: TP
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "I<sll_ifindex>"
326 msgstr "I<sll_ifindex>"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "is the interface index of the interface (see B<netdevice>(7)); 0 matches any "
333 "interface (only permitted for binding). I<sll_hatype> is an ARP type as "
334 "defined in the I<E<lt>linux/if_arp.hE<gt>> include file."
335 msgstr ""
336 "est le numéro d’interface (consultez B<netdevice>(7)). 0 correspond à "
337 "n’importe quelle interface (autorisée uniquement pour la liaison). "
338 "I<sll_hatype> est un type ARP tel que défini dans le fichier d’en-tête "
339 "I<E<lt>linux/if_arp.hE<gt>>."
340
341 #. type: TP
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "I<sll_pkttype>"
346 msgstr "I<sll_pkttype>"
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "contains the packet type. Valid types are B<PACKET_HOST> for a packet "
353 "addressed to the local host, B<PACKET_BROADCAST> for a physical-layer "
354 "broadcast packet, B<PACKET_MULTICAST> for a packet sent to a physical-layer "
355 "multicast address, B<PACKET_OTHERHOST> for a packet to some other host that "
356 "has been caught by a device driver in promiscuous mode, and "
357 "B<PACKET_OUTGOING> for a packet originating from the local host that is "
358 "looped back to a packet socket. These types make sense only for receiving."
359 msgstr ""
360 "contient le type de paquet. Les types valables sont B<PACKET_HOST> pour un "
361 "paquet destiné à l'hôte local, B<PACKET_BROADCAST> pour un paquet broadcast "
362 "de couche physique, B<PACKET_MULTICAST> pour un paquet envoyé à une adresse "
363 "multicast de couche physique, B<PACKET_OTHERHOST> pour un paquet destiné à "
364 "un autre hôte capturé par un pilote de périphérique en mode promiscuous et "
365 "B<PACKET_OUTGOING> pour un paquet provenant de l'hôte local rebouclé sur un "
366 "socket packet. Cela n'a de signification qu'en réception."
367
368 #. type: TP
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "I<sll_addr>"
373 msgstr "I<sll_addr>"
374
375 #. type: TQ
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "I<sll_halen>"
380 msgstr "I<sll_halen>"
381
382 #. type: Plain text
383 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
384 #: opensuse-leap-16-1 opensuse-tumbleweed
385 #, fuzzy
386 #| msgid ""
387 #| "contain the physical-layer (e.g., IEEE 802.3) address and its length. "
388 #| "The exact interpretation depends on the device."
389 msgid ""
390 "contain the physical-layer (e.g., IEEE 802.3) address and its size. The "
391 "exact interpretation depends on the device."
392 msgstr ""
393 "contiennent l'adresse de couche physique (par exemple IEEE 802.3) et sa "
394 "longueur. L'interprétation exacte dépend du périphérique."
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "When you send packets, it is enough to specify I<sll_family>, I<sll_addr>, "
401 "I<sll_halen>, I<sll_ifindex>, and I<sll_protocol>. The other fields should "
402 "be 0. I<sll_hatype> and I<sll_pkttype> are set on received packets for your "
403 "information."
404 msgstr ""
405 "Lorsque des paquets sont envoyés, il suffit d'indiquer I<sll_family>, "
406 "I<sll_addr>, I<sll_halen>, I<sll_ifindex> et I<sll_protocol>. Les autres "
407 "champs devraient être à zéro. I<sll_hatype> et I<sll_pkttype> sont remplis "
408 "en réception pour information."
409
410 #. type: SS
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "Socket options"
415 msgstr "Options de socket"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "Packet socket options are configured by calling B<setsockopt>(2) with level "
422 "B<SOL_PACKET>."
423 msgstr ""
424 "Les options du socket packet sont configurées en appelant B<setsockopt>(2) "
425 "avec le niveau B<SOL_PACKET>."
426
427 #. type: TP
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "B<PACKET_ADD_MEMBERSHIP>"
432 msgstr "B<PACKET_ADD_MEMBERSHIP>"
433
434 #. type: TP
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "B<PACKET_DROP_MEMBERSHIP>"
439 msgstr "B<PACKET_DROP_MEMBERSHIP>"
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid ""
445 "Packet sockets can be used to configure physical-layer multicasting and "
446 "promiscuous mode. B<PACKET_ADD_MEMBERSHIP> adds a binding and "
447 "B<PACKET_DROP_MEMBERSHIP> drops it. They both expect a I<packet_mreq> "
448 "structure as argument:"
449 msgstr ""
450 "Les options des sockets packet permettent de configurer le multicasting de "
451 "couche physique et le mode promiscuous. B<PACKET_ADD_MEMBERSHIP> ajoute une "
452 "liaison et B<PACKET_DROP_MEMBERSHIP> la supprime. Les deux options attendent "
453 "une structure B<packet_mreq> en paramètre\\ :"
454
455 #. type: Plain text
456 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
457 #: opensuse-leap-16-1 opensuse-tumbleweed
458 #, fuzzy, no-wrap
459 #| msgid ""
460 #| "struct packet_mreq {\n"
461 #| " int mr_ifindex; /* interface index */\n"
462 #| " unsigned short mr_type; /* action */\n"
463 #| " unsigned short mr_alen; /* address length */\n"
464 #| " unsigned char mr_address[8]; /* physical-layer address */\n"
465 #| "};\n"
466 msgid ""
467 "struct packet_mreq {\n"
468 " int mr_ifindex; /* interface index */\n"
469 " unsigned short mr_type; /* action */\n"
470 " unsigned short mr_alen; /* address size */\n"
471 " unsigned char mr_address[8]; /* physical-layer address */\n"
472 "};\n"
473 msgstr ""
474 "struct packet_mreq {\n"
475 " int mr_ifindex; /* Numéro d'interface */\n"
476 " unsigned short mr_type; /* Action */\n"
477 " unsigned short mr_alen; /* Longueur d'adresse */\n"
478 " unsigned char mr_address[8]; /* Adresse couche physique */\n"
479 "};\n"
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "I<mr_ifindex> contains the interface index for the interface whose status "
486 "should be changed. The I<mr_type> field specifies which action to perform. "
487 "B<PACKET_MR_PROMISC> enables receiving all packets on a shared medium (often "
488 "known as \"promiscuous mode\"), B<PACKET_MR_MULTICAST> binds the socket to "
489 "the physical-layer multicast group specified in I<mr_address> and "
490 "I<mr_alen>, and B<PACKET_MR_ALLMULTI> sets the socket up to receive all "
491 "multicast packets arriving at the interface."
492 msgstr ""
493 "I<mr_ifindex> contient le numéro de l'interface dont l'état doit être "
494 "modifié. Le champ I<mr_type> indique l'action à effectuer. "
495 "B<PACKET_MR_PROMISC> valide la réception de tous les paquets circulant sur "
496 "le segment de réseau commun (souvent appelé «\\ mode promiscuous\\ »), "
497 "B<PACKET_MR_MULTICAST> attache le socket au groupe multicast de couche "
498 "physique indiqué dans I<mr_address> et I<mr_alen>, et B<PACKET_MR_ALLMULTI> "
499 "demande au socket de recevoir tous les paquets multicast arrivant sur "
500 "l'interface."
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "In addition, the traditional ioctls B<SIOCSIFFLAGS>, B<SIOCADDMULTI>, "
507 "B<SIOCDELMULTI> can be used for the same purpose."
508 msgstr ""
509 "De plus, les ioctls classiques B<SIOCSIFFLAGS>, B<SIOCADDMULTI> et "
510 "B<SIOCDELMULTI> peuvent parvenir au même résultat."
511
512 #. type: TP
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "B<PACKET_AUXDATA> (since Linux 2.6.21)"
517 msgstr "B<PACKET_AUXDATA> (depuis Linux 2.6.21)"
518
519 #. commit 8dc4194474159660d7f37c495e3fc3f10d0db8cc
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 msgid ""
524 "If this binary option is enabled, the packet socket passes a metadata "
525 "structure along with each packet in the B<recvmsg>(2) control field. The "
526 "structure can be read with B<cmsg>(3). It is defined as"
527 msgstr ""
528 "Si cette option est activée, le socket packet fournit avec chaque paquet une "
529 "structure de métadonnées à l’aide du champ de contrôle de B<recvmsg>(2). La "
530 "structure peut être lue avec B<cmsg>(3). Elle est définie ci-dessous :"
531
532 #. commit a0cdfcf39362410d5ea983f4daf67b38de129408 added tp_vlan_tpid
533 #. type: Plain text
534 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
535 #: opensuse-leap-16-1 opensuse-tumbleweed
536 #, fuzzy, no-wrap
537 #| msgid ""
538 #| "struct tpacket_auxdata {\n"
539 #| " __u32 tp_status;\n"
540 #| " __u32 tp_len; /* packet length */\n"
541 #| " __u32 tp_snaplen; /* captured length */\n"
542 #| " __u16 tp_mac;\n"
543 #| " __u16 tp_net;\n"
544 #| " __u16 tp_vlan_tci;\n"
545 #| " __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n"
546 #| " were unused padding bytes */\n"
547 #| "};\n"
548 msgid ""
549 "struct tpacket_auxdata {\n"
550 " __u32 tp_status;\n"
551 " __u32 tp_len; /* packet size */\n"
552 " __u32 tp_snaplen; /* captured size */\n"
553 " __u16 tp_mac;\n"
554 " __u16 tp_net;\n"
555 " __u16 tp_vlan_tci;\n"
556 " __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n"
557 " were unused padding bytes */\n"
558 "};\n"
559 msgstr ""
560 "struct tpacket_auxdata {\n"
561 " __u32 tp_status;\n"
562 " __u32 tp_len; /* Longueur du paquet */\n"
563 " __u32 tp_snaplen; /* Longueur capturée */\n"
564 " __u16 tp_mac;\n"
565 " __u16 tp_net;\n"
566 " __u16 tp_vlan_tci;\n"
567 " __u16 tp_vlan_tpid; /* Depuis Linux 3.14 ; précédemment\n"
568 " c’était des octets de remplissage\n"
569 " non utilisés */\n"
570 "};\n"
571
572 #. type: TP
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 #, no-wrap
576 msgid "B<PACKET_FANOUT> (since Linux 3.1)"
577 msgstr "B<PACKET_FANOUT> (depuis Linux 3.1)"
578
579 #. commit dc99f600698dcac69b8f56dda9a8a00d645c5ffc
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid ""
584 "To scale processing across threads, packet sockets can form a fanout group. "
585 "In this mode, each matching packet is enqueued onto only one socket in the "
586 "group. A socket joins a fanout group by calling B<setsockopt>(2) with "
587 "level B<SOL_PACKET> and option B<PACKET_FANOUT>. Each network namespace can "
588 "have up to 65536 independent groups. A socket selects a group by encoding "
589 "the ID in the first 16 bits of the integer option value. The first packet "
590 "socket to join a group implicitly creates it. To successfully join an "
591 "existing group, subsequent packet sockets must have the same protocol, "
592 "device settings, fanout mode, and flags (see below). Packet sockets can "
593 "leave a fanout group only by closing the socket. The group is deleted when "
594 "the last socket is closed."
595 msgstr ""
596 "Pour s’adapter au nombre de traitements des threads, les sockets packet "
597 "peuvent former un groupe de déploiement. Dans ce mode, tous les paquets "
598 "correspondants sont mis en attente dans un seul socket du groupe. Un socket "
599 "rejoint un groupe de déploiement en appelant B<setsockopt>(2) avec le niveau "
600 "B<SOL_PACKET> et l’option B<PACKET_FANOUT>. Tous les espaces de noms réseau "
601 "peuvent avoir jusqu’à 65536 groupes indépendants. Un socket sélectionne un "
602 "groupe en encodant l’identifiant dans les 16 premiers bits de la valeur "
603 "d’entier de cette option. Le premier socket packet à rejoindre un groupe le "
604 "crée implicitement. Pour réussir à rejoindre un groupe existant, les sockets "
605 "packet suivants doivent avoir le même protocole, la même configuration de "
606 "périphérique, le même mode de déploiement et les mêmes attributs (voir ci-"
607 "dessous). Les sockets packet ne peuvent quitter un groupe de déploiement "
608 "qu’en fermant le socket. Le groupe est supprimé quand le dernier socket est "
609 "fermé."
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid ""
615 "Fanout supports multiple algorithms to spread traffic between sockets, as "
616 "follows:"
617 msgstr ""
618 "Le déploiement gère plusieurs algorithmes pour répartir le trafic entre les "
619 "sockets comme suit :"
620
621 #. type: IP
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 #, no-wrap
625 msgid "\\[bu]"
626 msgstr "-"
627
628 #. type: Plain text
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 msgid ""
632 "The default mode, B<PACKET_FANOUT_HASH>, sends packets from the same flow to "
633 "the same socket to maintain per-flow ordering. For each packet, it chooses "
634 "a socket by taking the packet flow hash modulo the number of sockets in the "
635 "group, where a flow hash is a hash over network-layer address and optional "
636 "transport-layer port fields."
637 msgstr ""
638 "Le mode par défaut, B<PACKET_FANOUT_HASH>, envoie les paquets du même flux "
639 "au même socket pour maintenir l’ordre par flux. Pour chaque paquet, il "
640 "choisit un socket en prenant le hachage du flux de paquets modulo le nombre "
641 "de sockets dans le groupe, où le hachage du flux est un hachage sur les "
642 "adresses de la couche réseau et les champs facultatifs de port de la couche "
643 "transport."
644
645 #. type: Plain text
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 msgid ""
649 "The load-balance mode B<PACKET_FANOUT_LB> implements a round-robin algorithm."
650 msgstr ""
651 "Le mode répartition de charge B<PACKET_FANOUT_LB> met en œuvre un algorithme "
652 "de tourniquet (round-robin)."
653
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 msgid ""
658 "B<PACKET_FANOUT_CPU> selects the socket based on the CPU that the packet "
659 "arrived on."
660 msgstr ""
661 "B<PACKET_FANOUT_CPU> sélectionne le socket en se basant sur le CPU sur "
662 "lequel le paquet arrive."
663
664 #. type: Plain text
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 msgid ""
668 "B<PACKET_FANOUT_ROLLOVER> processes all data on a single socket, moving to "
669 "the next when one becomes backlogged."
670 msgstr ""
671 "B<PACKET_FANOUT_ROLLOVER> traite toutes les données sur un seul socket, "
672 "allant sur le suivant quand le socket devient débordé."
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 msgid ""
678 "B<PACKET_FANOUT_RND> selects the socket using a pseudo-random number "
679 "generator."
680 msgstr ""
681 "B<PACKET_FANOUT_RND> sélectionne le socket en utilisant un générateur de "
682 "nombres pseudo-aléatoires."
683
684 #. commit 2d36097d26b5991d71a2cf4a20c1a158f0f1bfcd
685 #. type: Plain text
686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
688 msgid ""
689 "B<PACKET_FANOUT_QM> (available since Linux 3.14) selects the socket using "
690 "the recorded queue_mapping of the received skb."
691 msgstr ""
692 "B<PACKET_FANOUT_QM> (disponible depuis Linux 3.14) sélectionne le socket en "
693 "utilisant le queue_mapping enregistré du tampon de socket (SKB) reçu."
694
695 #. type: Plain text
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
698 msgid ""
699 "Fanout modes can take additional options. IP fragmentation causes packets "
700 "from the same flow to have different flow hashes. The flag "
701 "B<PACKET_FANOUT_FLAG_DEFRAG>, if set, causes packets to be defragmented "
702 "before fanout is applied, to preserve order even in this case. Fanout mode "
703 "and options are communicated in the second 16 bits of the integer option "
704 "value. The flag B<PACKET_FANOUT_FLAG_ROLLOVER> enables the roll over "
705 "mechanism as a backup strategy: if the original fanout algorithm selects a "
706 "backlogged socket, the packet rolls over to the next available one."
707 msgstr ""
708 "Les modes de déploiement acceptent des options supplémentaires. La "
709 "fragmentation d’IP force les paquets du même flux à avoir des hachages de "
710 "flux différents. L’attribut B<PACKET_FANOUT_FLAG_DEFRAG>, si défini, force "
711 "la défragmentation de paquets avant l’application du déploiement, pour "
712 "conserver l’ordre même dans ce cas. Le mode de déploiement et les options "
713 "sont communiqués sur les deuxièmes 16 bits de la valeur d’entier de cette "
714 "option. L’attribut B<PACKET_FANOUT_FLAG_ROLLOVER> active le mécanisme de "
715 "déplacement comme une stratégie de sauvegarde : si l’algorithme de "
716 "déploiement originel sélectionne un socket débordé, le paquet se déplace "
717 "vers le suivant disponible."
718
719 #. type: TP
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 #, no-wrap
723 msgid "B<PACKET_LOSS> (with B<PACKET_TX_RING>)"
724 msgstr "B<PACKET_LOSS> (avec B<PACKET_TX_RING>)"
725
726 #. type: Plain text
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 msgid ""
730 "When a malformed packet is encountered on a transmit ring, the default is to "
731 "reset its I<tp_status> to B<TP_STATUS_WRONG_FORMAT> and abort the "
732 "transmission immediately. The malformed packet blocks itself and "
733 "subsequently enqueued packets from being sent. The format error must be "
734 "fixed, the associated I<tp_status> reset to B<TP_STATUS_SEND_REQUEST>, and "
735 "the transmission process restarted via B<send>(2). However, if "
736 "B<PACKET_LOSS> is set, any malformed packet will be skipped, its "
737 "I<tp_status> reset to B<TP_STATUS_AVAILABLE>, and the transmission process "
738 "continued."
739 msgstr ""
740 "Lorsqu'un paquet malformé est trouvé dans le tampon circulaire de "
741 "transmission, le comportement par défaut est de réinitialiser son "
742 "I<tp_status> à B<TP_STATUS_WRONG_FORMAT> et d'abandonner immédiatement la "
743 "transmission. Le paquet malformé ainsi que les paquets suivants mis en file "
744 "d'attente voient leur transmission bloquée. L'erreur de format doit être "
745 "corrigée, la valeur I<tp_status> associée doit être réinitialisée à "
746 "B<TP_STATUS_SEND_REQUEST> et le processus de transmission redémarré par "
747 "l'intermédiaire de l'interface B<send>(2). Cependant, si B<PACKET_LOSS> est "
748 "défini, tout paquet malformé est ignoré, son I<tp_status> est réinitialisé à "
749 "B<TP_STATUS_AVAILABLE> et le processus de transmission continue."
750
751 #. type: TP
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid "B<PACKET_RESERVE> (with B<PACKET_RX_RING>)"
756 msgstr "B<PACKET_RESERVE> (avec B<PACKET_RX_RING>)"
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 msgid ""
762 "By default, a packet receive ring writes packets immediately following the "
763 "metadata structure and alignment padding. This integer option reserves "
764 "additional headroom."
765 msgstr ""
766 "Par défaut, un tampon circulaire de réception des paquets écrit les paquets "
767 "juste après la structure de métadonnées et le remplissage d'alignement. La "
768 "valeur d’entier de cette option réserve une possibilité de transmission "
769 "supplémentaire."
770
771 #. type: TP
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "B<PACKET_RX_RING>"
776 msgstr "B<PACKET_RX_RING>"
777
778 #. type: Plain text
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 msgid ""
782 "Create a memory-mapped ring buffer for asynchronous packet reception. The "
783 "packet socket reserves a contiguous region of application address space, "
784 "lays it out into an array of packet slots and copies packets (up to "
785 "I<tp_snaplen>) into subsequent slots. Each packet is preceded by a "
786 "metadata structure similar to I<tpacket_auxdata>. The protocol fields "
787 "encode the offset to the data from the start of the metadata header. "
788 "I<tp_net> stores the offset to the network layer. If the packet socket is "
789 "of type B<SOCK_DGRAM>, then I<tp_mac> is the same. If it is of type "
790 "B<SOCK_RAW>, then that field stores the offset to the link-layer frame. "
791 "Packet socket and application communicate the head and tail of the ring "
792 "through the I<tp_status> field. The packet socket owns all slots with "
793 "I<tp_status> equal to B<TP_STATUS_KERNEL>. After filling a slot, it changes "
794 "the status of the slot to transfer ownership to the application. During "
795 "normal operation, the new I<tp_status> value has at least the "
796 "B<TP_STATUS_USER> bit set to signal that a received packet has been stored. "
797 "When the application has finished processing a packet, it transfers "
798 "ownership of the slot back to the socket by setting I<tp_status> equal to "
799 "B<TP_STATUS_KERNEL>."
800 msgstr ""
801 "Créer un tampon circulaire projeté en mémoire pour la réception asynchrone "
802 "de paquets. Le socket packet réserve une zone contiguë d’espace d’adresse "
803 "d’application, la dispose dans un tableau d’emplacements de paquet et copie "
804 "les paquets (jusqu’à I<tp_snaplen>) dans les emplacements suivants. Tous les "
805 "paquets sont précédés d’une structure de métadonnées similaire à "
806 "I<tpacket_auxdata>. Les champs de protocole encodent la position des données "
807 "dès le début de l’en-tête de métadonnées. I<tp_net> stocke la position de la "
808 "couche réseau. Si le socket packet est de type B<SOCK_DGRAM>, alors "
809 "I<tp_mac> est la même. S’il est de type B<SOCK_RAW>, alors ce champ stocke "
810 "la position de la trame de couche liaison. Le socket packet et l’application "
811 "communiquent le début et la fin du tampon circulaire à l’aide du champ "
812 "I<tp_status>. Tous les emplacements avec I<tp_status> valant "
813 "B<TP_STATUS_KERNEL> appartiennent au socket packet. Après avoir rempli un "
814 "emplacement, il modifie l’état de l’emplacement pour qu’il appartienne à "
815 "l’application. Lors d’une opération normale, la nouvelle valeur de "
816 "I<tp_status> a au moins son bit B<TP_STATUS_USER> activé, pour signaler "
817 "qu’un paquet reçu a été stocké. Lorsque l’application a terminé de traiter "
818 "un paquet, elle transfère la propriété de l’emplacement au socket en "
819 "redéfinissant I<tp_status> à B<TP_STATUS_KERNEL>."
820
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 "Packet sockets implement multiple variants of the packet ring. The "
826 "implementation details are described in I<Documentation/networking/"
827 "packet_mmap.rst> in the Linux kernel source tree."
828 msgstr ""
829 "Les sockets packet mettent en œuvre plusieurs variantes du tampon circulaire "
830 "de paquets. Des précisions sur cette mise en place sont disponibles dans "
831 "I<Documentation/networking/packet_mmap.rst> dans l'arborescence des sources "
832 "du noyau Linux."
833
834 #. type: TP
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 #, no-wrap
838 msgid "B<PACKET_STATISTICS>"
839 msgstr "B<PACKET_STATISTICS>"
840
841 #. type: Plain text
842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
844 msgid "Retrieve packet socket statistics in the form of a structure"
845 msgstr ""
846 "Récupérer les statistiques du socket packet sous la forme d'une structure"
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 #, no-wrap
852 msgid ""
853 "struct tpacket_stats {\n"
854 " unsigned int tp_packets; /* Total packet count */\n"
855 " unsigned int tp_drops; /* Dropped packet count */\n"
856 "};\n"
857 msgstr ""
858 "struct tpacket_stats {\n"
859 " unsigned int tp_packets; /* Décompte total des paquets */\n"
860 " unsigned int tp_drops; /* Décompte des paquets jetés */\n"
861 "};\n"
862
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 "Receiving statistics resets the internal counters. The statistics structure "
868 "differs when using a ring of variant B<TPACKET_V3>."
869 msgstr ""
870 "Recevoir les statistiques réinitialise les compteurs internes. La structure "
871 "de statistiques est différente lorsque le tampon circulaire utilisé est de "
872 "type B<TPACKET_V3>."
873
874 #. type: TP
875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
877 #, no-wrap
878 msgid "B<PACKET_TIMESTAMP> (with B<PACKET_RX_RING>; since Linux 2.6.36)"
879 msgstr "B<PACKET_TIMESTAMP> (avec B<PACKET_RX_RING> ; depuis Linux 2.6.36)"
880
881 #. commit 614f60fa9d73a9e8fdff3df83381907fea7c5649
882 #. type: Plain text
883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
885 msgid ""
886 "The packet receive ring always stores a timestamp in the metadata header. "
887 "By default, this is a software generated timestamp generated when the packet "
888 "is copied into the ring. This integer option selects the type of "
889 "timestamp. Besides the default, it support the two hardware formats "
890 "described in I<Documentation/networking/timestamping.rst> in the Linux "
891 "kernel source tree."
892 msgstr ""
893 "Le tampon circulaire de réception des paquets stocke un horodatage dans l’en-"
894 "tête de métadonnées. Par défaut, c’est un horodatage logiciel généré quand "
895 "le paquet est copié dans le tampon circulaire. Cette option d’entier "
896 "sélectionne le type d’horodatage. En plus du fonctionnement par défaut, il "
897 "gère deux formats matériels décrits dans I<Documentation/networking/"
898 "timestamping.rst> dans l'arborescence des sources du noyau Linux."
899
900 #. type: TP
901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
903 #, no-wrap
904 msgid "B<PACKET_TX_RING> (since Linux 2.6.31)"
905 msgstr "B<PACKET_TX_RING> (depuis Linux 2.6.31)"
906
907 #. commit 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1
908 #. type: Plain text
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 msgid ""
912 "Create a memory-mapped ring buffer for packet transmission. This option is "
913 "similar to B<PACKET_RX_RING> and takes the same arguments. The application "
914 "writes packets into slots with I<tp_status> equal to B<TP_STATUS_AVAILABLE> "
915 "and schedules them for transmission by changing I<tp_status> to "
916 "B<TP_STATUS_SEND_REQUEST>. When packets are ready to be transmitted, the "
917 "application calls B<send>(2) or a variant thereof. The I<buf> and I<len> "
918 "fields of this call are ignored. If an address is passed using "
919 "B<sendto>(2) or B<sendmsg>(2), then that overrides the socket default. On "
920 "successful transmission, the socket resets I<tp_status> to "
921 "B<TP_STATUS_AVAILABLE>. It immediately aborts the transmission on error "
922 "unless B<PACKET_LOSS> is set."
923 msgstr ""
924 "Créer un tampon circulaire projeté en mémoire pour la transmission de "
925 "paquets. Cette option est similaire à B<PACKET_RX_RING> et accepte les mêmes "
926 "arguments. L’application écrit des paquets dans des emplacements avec "
927 "I<tp_status> égal à B<TP_STATUS_AVAILABLE> et les programme pour "
928 "transmission en modifiant I<tp_status> à la valeur "
929 "B<TP_STATUS_SEND_REQUEST>. Quand les paquets sont prêts à être transmis, "
930 "l’application appelle B<send>(2) ou une de ses variantes. Les champs I<buf> "
931 "et I<len> de cet appel sont ignorés. Si une adresse est passée en utilisant "
932 "B<sendto>(2) ou B<sendmsg>(2), alors cela écrase le socket par défaut. En "
933 "cas de transmission réussie, le socket réinitialise I<tp_status> à "
934 "B<TP_STATUS_AVAILABLE>. Il interrompt immédiatement la transmission en cas "
935 "d’erreur sauf si B<PACKET_LOSS> est définie."
936
937 #. type: TP
938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
940 #, no-wrap
941 msgid "B<PACKET_VERSION> (with B<PACKET_RX_RING>; since Linux 2.6.27)"
942 msgstr "B<PACKET_VERSION> (avec B<PACKET_RX_RING> ; depuis Linux 2.6.27)"
943
944 #. commit bbd6ef87c544d88c30e4b762b1b61ef267a7d279
945 #. type: Plain text
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 msgid ""
949 "By default, B<PACKET_RX_RING> creates a packet receive ring of variant "
950 "B<TPACKET_V1>. To create another variant, configure the desired variant by "
951 "setting this integer option before creating the ring."
952 msgstr ""
953 "Par défaut, B<PACKET_RX_RING> crée un tampon circulaire de réception des "
954 "paquets de variante B<TPACKET_V1>. Pour créer une autre variante, configurer "
955 "la variante voulue en définissant l’option d’entier avant de créer le tampon "
956 "circulaire."
957
958 #. type: TP
959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
961 #, no-wrap
962 msgid "B<PACKET_QDISC_BYPASS> (since Linux 3.14)"
963 msgstr "B<PACKET_QDISC_BYPASS> (depuis Linux 3.14)"
964
965 #. commit d346a3fae3ff1d99f5d0c819bf86edf9094a26a1
966 #. type: Plain text
967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
968 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
969 msgid ""
970 "By default, packets sent through packet sockets pass through the kernel's "
971 "qdisc (traffic control) layer, which is fine for the vast majority of use "
972 "cases. For traffic generator appliances using packet sockets that intend to "
973 "brute-force flood the network\\[em]for example, to test devices under load "
974 "in a similar fashion to pktgen\\[em]this layer can be bypassed by setting "
975 "this integer option to 1. A side effect is that packet buffering in the "
976 "qdisc layer is avoided, which will lead to increased drops when network "
977 "device transmit queues are busy; therefore, use at your own risk."
978 msgstr ""
979 "Par défaut, les paquets envoyés par un socket packet passent par la couche "
980 "qdisc du noyau, dédiée au contrôle de trafic, ce qui répond bien à la "
981 "majorité des cas d'utilisation. Les équipements de génération de trafic qui "
982 "utilisent des sockets packet pour inonder par force brute le réseau — par "
983 "exemple pour tester des appareils en charge comme le fait pktgen — peuvent "
984 "contourner cette couche de contrôle en définissant cette option à 1. Un "
985 "effet secondaire est l'absence de mise en mémoire tampon des paquets par la "
986 "couche qdisc, ce qui peut provoquer des pertes de paquets lorsque les files "
987 "de transmission du périphérique réseau sont pleines. L'utilisation de cette "
988 "option est à vos risques et périls."
989
990 #. type: SS
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 #, no-wrap
994 msgid "Ioctls"
995 msgstr "Ioctls"
996
997 #. FIXME Document SIOCGSTAMPNS
998 #. type: Plain text
999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1001 msgid ""
1002 "B<SIOCGSTAMP> can be used to receive the timestamp of the last received "
1003 "packet. Argument is a I<struct timeval> variable."
1004 msgstr ""
1005 "B<SIOCGSTAMP> peut servir à obtenir l'horodatage du dernier paquet reçu. Le "
1006 "paramètre est une variable I<struct timeval>."
1007
1008 #. type: Plain text
1009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1011 msgid ""
1012 "In addition, all standard ioctls defined in B<netdevice>(7) and "
1013 "B<socket>(7) are valid on packet sockets."
1014 msgstr ""
1015 "De plus, les ioctls standards définis dans B<netdevice>(7) et B<socket>(7) "
1016 "sont valables sur les sockets packet."
1017
1018 #. type: SS
1019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1021 #, no-wrap
1022 msgid "Error handling"
1023 msgstr "Traitement des erreurs"
1024
1025 #. type: Plain text
1026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1028 msgid ""
1029 "Packet sockets do no error handling other than errors occurred while passing "
1030 "the packet to the device driver. They don't have the concept of a pending "
1031 "error."
1032 msgstr ""
1033 "Les sockets packet ne gèrent pas d'autres erreurs que celles se produisant "
1034 "durant la transmission des paquets au pilote de périphérique. Elles ne "
1035 "traitent pas le concept de file d'erreurs."
1036
1037 #. type: SH
1038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1039 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1040 #, no-wrap
1041 msgid "ERRORS"
1042 msgstr "ERREURS"
1043
1044 #. type: TP
1045 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1046 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1047 #, no-wrap
1048 msgid "B<EADDRNOTAVAIL>"
1049 msgstr "B<EADDRNOTAVAIL>"
1050
1051 #. type: Plain text
1052 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1053 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1054 msgid "Unknown multicast group address passed."
1055 msgstr "Adresse de groupe multicast inconnue."
1056
1057 #. type: TP
1058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1060 #, no-wrap
1061 msgid "B<EFAULT>"
1062 msgstr "B<EFAULT>"
1063
1064 #. type: Plain text
1065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1067 msgid "User passed invalid memory address."
1068 msgstr "Adresse mémoire incorrecte."
1069
1070 #. type: TP
1071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1073 #, no-wrap
1074 msgid "B<EINVAL>"
1075 msgstr "B<EINVAL>"
1076
1077 #. type: Plain text
1078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1079 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1080 msgid "Invalid argument."
1081 msgstr "Argument incorrect."
1082
1083 #. type: TP
1084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1085 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1086 #, no-wrap
1087 msgid "B<EMSGSIZE>"
1088 msgstr "B<EMSGSIZE>"
1089
1090 #. type: Plain text
1091 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1092 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1093 msgid "Packet is bigger than interface MTU."
1094 msgstr "Le paquet est plus grand que le MTU de l'interface."
1095
1096 #. type: TP
1097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1099 #, no-wrap
1100 msgid "B<ENETDOWN>"
1101 msgstr "B<ENETDOWN>"
1102
1103 #. type: Plain text
1104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1106 msgid "Interface is not up."
1107 msgstr "L'interface n'est pas active."
1108
1109 #. type: TP
1110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1112 #, no-wrap
1113 msgid "B<ENOBUFS>"
1114 msgstr "B<ENOBUFS>"
1115
1116 #. type: Plain text
1117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1119 msgid "Not enough memory to allocate the packet."
1120 msgstr "Pas assez de mémoire pour le paquet."
1121
1122 #. type: TP
1123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1125 #, no-wrap
1126 msgid "B<ENODEV>"
1127 msgstr "B<ENODEV>"
1128
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 msgid "Unknown device name or interface index specified in interface address."
1133 msgstr ""
1134 "Le nom du périphérique ou le numéro d’interface indiqué dans l'adresse de "
1135 "l'interface est inconnu."
1136
1137 #. type: TP
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 #, no-wrap
1141 msgid "B<ENOENT>"
1142 msgstr "B<ENOENT>"
1143
1144 #. type: Plain text
1145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1147 msgid "No packet received."
1148 msgstr "Pas de paquet reçu."
1149
1150 #. type: TP
1151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1153 #, no-wrap
1154 msgid "B<ENOTCONN>"
1155 msgstr "B<ENOTCONN>"
1156
1157 #. type: Plain text
1158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1160 msgid "No interface address passed."
1161 msgstr "Aucune adresse d'interface n'a été passée."
1162
1163 #. type: TP
1164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1166 #, no-wrap
1167 msgid "B<ENXIO>"
1168 msgstr "B<ENXIO>"
1169
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1173 msgid "Interface address contained an invalid interface index."
1174 msgstr "Numéro d'interface non valable dans son adresse."
1175
1176 #. type: TP
1177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1179 #, no-wrap
1180 msgid "B<EPERM>"
1181 msgstr "B<EPERM>"
1182
1183 #. type: Plain text
1184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1186 msgid "User has insufficient privileges to carry out this operation."
1187 msgstr "L'utilisateur n'a pas les privilèges nécessaires pour l'opération."
1188
1189 #. type: Plain text
1190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1192 msgid "In addition, other errors may be generated by the low-level driver."
1193 msgstr ""
1194 "De plus, d'autres erreurs peuvent être engendrées par le pilote bas niveau."
1195
1196 #. type: SH
1197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1199 #, no-wrap
1200 msgid "VERSIONS"
1201 msgstr "VERSIONS"
1202
1203 #. type: Plain text
1204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1206 msgid ""
1207 "B<AF_PACKET> is a new feature in Linux 2.2. Earlier Linux versions "
1208 "supported only B<SOCK_PACKET>."
1209 msgstr ""
1210 "B<AF_PACKET> est une nouveauté de Linux 2.2. Les versions précédentes de "
1211 "Linux ne prenaient en charge que B<SOCK_PACKET>."
1212
1213 #. type: SH
1214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1216 #, no-wrap
1217 msgid "NOTES"
1218 msgstr "NOTES"
1219
1220 #. type: Plain text
1221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1223 msgid ""
1224 "For portable programs it is suggested to use B<AF_PACKET> via B<pcap>(3); "
1225 "although this covers only a subset of the B<AF_PACKET> features."
1226 msgstr ""
1227 "Pour la portabilité, il est conseillé d'utiliser les fonctionnalités "
1228 "B<AF_PACKET> par l'intermédiaire de l'interface B<pcap>(3), bien que cela ne "
1229 "couvre qu'un sous-ensemble des possibilités de B<AF_PACKET>."
1230
1231 #. type: Plain text
1232 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1233 #: opensuse-leap-16-1 opensuse-tumbleweed
1234 #, fuzzy
1235 #| msgid ""
1236 #| "The B<SOCK_DGRAM> packet sockets make no attempt to create or parse the "
1237 #| "IEEE 802.2 LLC header for a IEEE 802.3 frame. When B<ETH_P_802_3> is "
1238 #| "specified as protocol for sending the kernel creates the 802.3 frame and "
1239 #| "fills out the length field; the user has to supply the LLC header to get "
1240 #| "a fully conforming packet. Incoming 802.3 packets are not multiplexed on "
1241 #| "the DSAP/SSAP protocol fields; instead they are supplied to the user as "
1242 #| "protocol B<ETH_P_802_2> with the LLC header prefixed. It is thus not "
1243 #| "possible to bind to B<ETH_P_802_3>; bind to B<ETH_P_802_2> instead and do "
1244 #| "the protocol multiplex yourself. The default for sending is the standard "
1245 #| "Ethernet DIX encapsulation with the protocol filled in."
1246 msgid ""
1247 "The B<SOCK_DGRAM> packet sockets make no attempt to create or parse the IEEE "
1248 "802.2 LLC header for a IEEE 802.3 frame. When B<ETH_P_802_3> is specified "
1249 "as protocol for sending the kernel creates the 802.3 frame and fills out the "
1250 "size field; the user has to supply the LLC header to get a fully conforming "
1251 "packet. Incoming 802.3 packets are not multiplexed on the DSAP/SSAP "
1252 "protocol fields; instead they are supplied to the user as protocol "
1253 "B<ETH_P_802_2> with the LLC header prefixed. It is thus not possible to "
1254 "bind to B<ETH_P_802_3>; bind to B<ETH_P_802_2> instead and do the protocol "
1255 "multiplex yourself. The default for sending is the standard Ethernet DIX "
1256 "encapsulation with the protocol filled in."
1257 msgstr ""
1258 "Les sockets packet B<SOCK_DGRAM> n'essayent pas de créer ou de traiter les "
1259 "en-têtes IEEE 802.2 LLC pour une trame IEEE 802.3. Lorsque le protocole "
1260 "B<ETH_P_802_3> est indiqué en émission, le noyau crée la trame 802.3 et "
1261 "remplit le champ de longueur. L'utilisateur doit fournir l'en-tête LLC pour "
1262 "obtenir un paquet entièrement conforme. Les paquets 802.3 entrants ne sont "
1263 "pas multiplexés sur les champs du protocole DSAP/SSAP. À la place, ils sont "
1264 "fournis à l'utilisateur sous le protocole B<ETH_P_802_2> avec un en-tête LLC "
1265 "ajouté. La liaison B<ETH_P_802_3> n’est donc pas possible, la liaison "
1266 "B<ETH_P_802_2> doit être utilisée à la place, et vous devez réaliser le "
1267 "multiplexage de protocoles vous-même. Le comportement par défaut en émission "
1268 "est l’encapsulation Ethernet DIX standard, avec le protocole renseigné."
1269
1270 #. type: Plain text
1271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1273 msgid "Packet sockets are not subject to the input or output firewall chains."
1274 msgstr ""
1275 "Les sockets packet ne sont pas soumis aux chaînes de pare-feu en entrée ou "
1276 "sortie."
1277
1278 #. type: SS
1279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1281 #, no-wrap
1282 msgid "Compatibility"
1283 msgstr "Compatibilité"
1284
1285 #. type: Plain text
1286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1288 msgid "In Linux 2.0, the only way to get a packet socket was with the call:"
1289 msgstr ""
1290 "Avec Linux 2.0, la seule façon d’obtenir un socket paquet était avec "
1291 "l’appel :"
1292
1293 #. type: Plain text
1294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1296 #, no-wrap
1297 msgid "socket(AF_INET, SOCK_PACKET, protocol)\n"
1298 msgstr "socket(AF_INET, SOCK_PACKET, protocole)\n"
1299
1300 #. type: Plain text
1301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1303 msgid ""
1304 "This is still supported, but deprecated and strongly discouraged. The main "
1305 "difference between the two methods is that B<SOCK_PACKET> uses the old "
1306 "I<struct sockaddr_pkt> to specify an interface, which doesn't provide "
1307 "physical-layer independence."
1308 msgstr ""
1309 "C’est encore pris en charge mais obsolète et fortement déconseillé. La "
1310 "principale différence entre les deux méthodes est que B<SOCK_PACKET> utilise "
1311 "l'ancienne I<struct sockaddr_pkt> pour indiquer l'interface, ce qui ne "
1312 "fournit aucune indépendance vis-à-vis de la couche physique."
1313
1314 #. type: Plain text
1315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1317 #, no-wrap
1318 msgid ""
1319 "struct sockaddr_pkt {\n"
1320 " unsigned short spkt_family;\n"
1321 " unsigned char spkt_device[14];\n"
1322 " unsigned short spkt_protocol;\n"
1323 "};\n"
1324 msgstr ""
1325 "struct sockaddr_pkt {\n"
1326 " unsigned short spkt_family;\n"
1327 " unsigned char spkt_device[14];\n"
1328 " unsigned short spkt_protocol;\n"
1329 "};\n"
1330
1331 #. type: Plain text
1332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1334 msgid ""
1335 "I<spkt_family> contains the device type, I<spkt_protocol> is the IEEE 802.3 "
1336 "protocol type as defined in I<E<lt>sys/if_ether.hE<gt>> and I<spkt_device> "
1337 "is the device name as a null-terminated string, for example, eth0."
1338 msgstr ""
1339 "I<spkt_family> contient le type de périphérique, I<spkt_protocol> est le "
1340 "type de protocole IEEE 802.3 comme défini dans I<E<lt>sys/if_ether.hE<gt>> "
1341 "et I<spkt_device> est le nom du périphérique sous forme de chaîne terminée "
1342 "par un octet NULL, par exemple eth0."
1343
1344 #. type: Plain text
1345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1347 msgid "This structure is obsolete and should not be used in new code."
1348 msgstr ""
1349 "Cette structure est obsolète et ne doit pas être employée dans des nouveaux "
1350 "programmes."
1351
1352 #. type: SH
1353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1355 #, no-wrap
1356 msgid "BUGS"
1357 msgstr "BOGUES"
1358
1359 #. type: SS
1360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1362 #, no-wrap
1363 msgid "LLC header handling"
1364 msgstr "Gestion des en-têtes LLC"
1365
1366 #. type: Plain text
1367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1369 msgid "The IEEE 802.2/803.3 LLC handling could be considered as a bug."
1370 msgstr ""
1371 "La gestion des en-têtes LLC IEEE 802.2/802.3 devrait être considérée comme "
1372 "un bogue."
1373
1374 #. type: SS
1375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1377 #, no-wrap
1378 msgid "MSG_TRUNC issues"
1379 msgstr "Problèmes avec MSG_TRUNC"
1380
1381 #. type: Plain text
1382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1384 msgid ""
1385 "The B<MSG_TRUNC> B<recvmsg>(2) extension is an ugly hack and should be "
1386 "replaced by a control message. There is currently no way to get the "
1387 "original destination address of packets via B<SOCK_DGRAM>."
1388 msgstr ""
1389 "L'extension B<MSG_TRUNC> de B<recvmsg>(2) est une bidouille horrible et "
1390 "devrait être remplacée par un message de contrôle. Il n'y a actuellement "
1391 "aucun moyen d'obtenir l'adresse de destination originelle des paquets à "
1392 "l’aide de B<SOCK_DGRAM>."
1393
1394 #. type: SS
1395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1397 #, no-wrap
1398 msgid "spkt_device device name truncation"
1399 msgstr ""
1400
1401 #. type: Plain text
1402 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1403 #: opensuse-leap-16-1 opensuse-tumbleweed
1404 msgid ""
1405 "The I<spkt_device> field of I<sockaddr_pkt> has a size of 14 bytes, which is "
1406 "less than the constant B<IFNAMSIZ> defined in I<E<lt>net/if.hE<gt>> which is "
1407 "16 bytes and describes the system limit for a network interface name. This "
1408 "means the names of network devices longer than 14 bytes will be truncated to "
1409 "fit into I<spkt_device>. All these sizes include the terminating null byte "
1410 "(\\[aq]\\[rs]0\\[aq]))."
1411 msgstr ""
1412
1413 #. type: Plain text
1414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1416 msgid ""
1417 "Issues from this with old code typically show up with very long interface "
1418 "names used by the B<Predictable Network Interface Names> feature enabled by "
1419 "default in many modern Linux distributions."
1420 msgstr ""
1421
1422 #. type: Plain text
1423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1425 msgid ""
1426 "The preferred solution is to rewrite code to avoid B<SOCK_PACKET>. Possible "
1427 "user solutions are to disable B<Predictable Network Interface Names> or to "
1428 "rename the interface to a name of at most 13 bytes, for example using the "
1429 "B<ip>(8) tool."
1430 msgstr ""
1431
1432 #. type: SS
1433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1435 #, no-wrap
1436 msgid "Documentation issues"
1437 msgstr "Problèmes de documentation"
1438
1439 #. .SH CREDITS
1440 #. This man page was written by Andi Kleen with help from Matthew Wilcox.
1441 #. AF_PACKET in Linux 2.2 was implemented
1442 #. by Alexey Kuznetsov, based on code by Alan Cox and others.
1443 #. type: Plain text
1444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1446 msgid "Socket filters are not documented."
1447 msgstr "Les filtres des sockets ne sont pas documentés."
1448
1449 #. type: SH
1450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1452 #, no-wrap
1453 msgid "SEE ALSO"
1454 msgstr "VOIR AUSSI"
1455
1456 #. type: Plain text
1457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1459 msgid ""
1460 "B<socket>(2), B<pcap>(3), B<capabilities>(7), B<ip>(7), B<raw>(7), "
1461 "B<socket>(7), B<ip>(8),"
1462 msgstr ""
1463 "B<socket>(2), B<pcap>(3), B<capabilities>(7), B<ip>(7), B<raw>(7), "
1464 "B<socket>(7), B<ip>(8),"
1465
1466 #. type: Plain text
1467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1469 msgid ""
1470 "RFC\\ 894 for the standard IP Ethernet encapsulation. RFC\\ 1700 for the "
1471 "IEEE 802.3 IP encapsulation."
1472 msgstr ""
1473 "RFC\\ 894 pour l'encapsulation IP Ethernet standard. RFC\\ 1700 pour "
1474 "l'encapsulation IP IEEE 802.3."
1475
1476 #. type: Plain text
1477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1479 msgid ""
1480 "The I<E<lt>linux/if_ether.hE<gt>> include file for physical-layer protocols."
1481 msgstr ""
1482 "Le fichier d'en-tête I<E<lt>linux/if_ether.hE<gt>> pour les protocoles de "
1483 "couche physique."
1484
1485 #. type: Plain text
1486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1488 msgid ""
1489 "The Linux kernel source tree. I<Documentation/networking/filter.rst> "
1490 "describes how to apply Berkeley Packet Filters to packet sockets. I<tools/"
1491 "testing/selftests/net/psock_tpacket.c> contains example source code for all "
1492 "available versions of B<PACKET_RX_RING> and B<PACKET_TX_RING>."
1493 msgstr ""
1494 "L'arbre des sources du noyau Linux. I</Documentation/networking/filter.rst> "
1495 "décrit comment appliquer des filtres Berkeley de paquets aux sockets packet. "
1496 "I</tools/testing/selftests/net/psock_tpacket.c> contient un exemple de code "
1497 "source pour toutes les versions de B<PACKET_RX_RING> et B<PACKET_TX_RING>."
1498
1499 #. type: TH
1500 #: debian-trixie
1501 #, no-wrap
1502 msgid "2024-06-15"
1503 msgstr "15 juin 2024"
1504
1505 #. type: TH
1506 #: debian-trixie
1507 #, no-wrap
1508 msgid "Linux man-pages 6.9.1"
1509 msgstr "Pages du manuel de Linux 6.9.1"
1510
1511 #. type: Plain text
1512 #: debian-trixie
1513 msgid ""
1514 "When the B<MSG_TRUNC> flag is passed to B<recvmsg>(2), B<recv>(2), or "
1515 "B<recvfrom>(2), the real length of the packet on the wire is always "
1516 "returned, even when it is longer than the buffer."
1517 msgstr ""
1518 "Lorsque l'attribut B<MSG_TRUNC> est transmis à B<recvmsg>(2), B<recv>(2) ou "
1519 "B<recvfrom>(2), la véritable longueur du paquet sur le réseau est toujours "
1520 "renvoyée, même si elle est plus grande que le tampon."
1521
1522 #. type: Plain text
1523 #: debian-trixie
1524 #, no-wrap
1525 msgid ""
1526 "struct sockaddr_ll {\n"
1527 " unsigned short sll_family; /* Always AF_PACKET */\n"
1528 " unsigned short sll_protocol; /* Physical-layer protocol */\n"
1529 " int sll_ifindex; /* Interface number */\n"
1530 " unsigned short sll_hatype; /* ARP hardware type */\n"
1531 " unsigned char sll_pkttype; /* Packet type */\n"
1532 " unsigned char sll_halen; /* Length of address */\n"
1533 " unsigned char sll_addr[8]; /* Physical-layer address */\n"
1534 "};\n"
1535 msgstr ""
1536 "struct sockaddr_ll {\n"
1537 " unsigned short sll_family; /* Toujours AF_PACKET */\n"
1538 " unsigned short sll_protocol; /* Protocole couche physique */\n"
1539 " int sll_ifindex; /* Numéro d'interface */\n"
1540 " unsigned short sll_hatype; /* Type de matériel ARP */\n"
1541 " unsigned char sll_pkttype; /* Type de paquet */\n"
1542 " unsigned char sll_halen; /* Longueur de l'adresse */\n"
1543 " unsigned char sll_addr[8]; /* Adresse couche physique */\n"
1544 "};\n"
1545
1546 #. type: Plain text
1547 #: debian-trixie
1548 msgid ""
1549 "contain the physical-layer (e.g., IEEE 802.3) address and its length. The "
1550 "exact interpretation depends on the device."
1551 msgstr ""
1552 "contiennent l'adresse de couche physique (par exemple IEEE 802.3) et sa "
1553 "longueur. L'interprétation exacte dépend du périphérique."
1554
1555 #. type: Plain text
1556 #: debian-trixie
1557 #, no-wrap
1558 msgid ""
1559 "struct packet_mreq {\n"
1560 " int mr_ifindex; /* interface index */\n"
1561 " unsigned short mr_type; /* action */\n"
1562 " unsigned short mr_alen; /* address length */\n"
1563 " unsigned char mr_address[8]; /* physical-layer address */\n"
1564 "};\n"
1565 msgstr ""
1566 "struct packet_mreq {\n"
1567 " int mr_ifindex; /* Numéro d'interface */\n"
1568 " unsigned short mr_type; /* Action */\n"
1569 " unsigned short mr_alen; /* Longueur d'adresse */\n"
1570 " unsigned char mr_address[8]; /* Adresse couche physique */\n"
1571 "};\n"
1572
1573 #. commit a0cdfcf39362410d5ea983f4daf67b38de129408 added tp_vlan_tpid
1574 #. type: Plain text
1575 #: debian-trixie
1576 #, no-wrap
1577 msgid ""
1578 "struct tpacket_auxdata {\n"
1579 " __u32 tp_status;\n"
1580 " __u32 tp_len; /* packet length */\n"
1581 " __u32 tp_snaplen; /* captured length */\n"
1582 " __u16 tp_mac;\n"
1583 " __u16 tp_net;\n"
1584 " __u16 tp_vlan_tci;\n"
1585 " __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n"
1586 " were unused padding bytes */\n"
1587 "};\n"
1588 msgstr ""
1589 "struct tpacket_auxdata {\n"
1590 " __u32 tp_status;\n"
1591 " __u32 tp_len; /* Longueur du paquet */\n"
1592 " __u32 tp_snaplen; /* Longueur capturée */\n"
1593 " __u16 tp_mac;\n"
1594 " __u16 tp_net;\n"
1595 " __u16 tp_vlan_tci;\n"
1596 " __u16 tp_vlan_tpid; /* Depuis Linux 3.14 ; précédemment\n"
1597 " c’était des octets de remplissage\n"
1598 " non utilisés */\n"
1599 "};\n"
1600
1601 #. type: Plain text
1602 #: debian-trixie
1603 msgid ""
1604 "The B<SOCK_DGRAM> packet sockets make no attempt to create or parse the IEEE "
1605 "802.2 LLC header for a IEEE 802.3 frame. When B<ETH_P_802_3> is specified "
1606 "as protocol for sending the kernel creates the 802.3 frame and fills out the "
1607 "length field; the user has to supply the LLC header to get a fully "
1608 "conforming packet. Incoming 802.3 packets are not multiplexed on the DSAP/"
1609 "SSAP protocol fields; instead they are supplied to the user as protocol "
1610 "B<ETH_P_802_2> with the LLC header prefixed. It is thus not possible to "
1611 "bind to B<ETH_P_802_3>; bind to B<ETH_P_802_2> instead and do the protocol "
1612 "multiplex yourself. The default for sending is the standard Ethernet DIX "
1613 "encapsulation with the protocol filled in."
1614 msgstr ""
1615 "Les sockets packet B<SOCK_DGRAM> n'essayent pas de créer ou de traiter les "
1616 "en-têtes IEEE 802.2 LLC pour une trame IEEE 802.3. Lorsque le protocole "
1617 "B<ETH_P_802_3> est indiqué en émission, le noyau crée la trame 802.3 et "
1618 "remplit le champ de longueur. L'utilisateur doit fournir l'en-tête LLC pour "
1619 "obtenir un paquet entièrement conforme. Les paquets 802.3 entrants ne sont "
1620 "pas multiplexés sur les champs du protocole DSAP/SSAP. À la place, ils sont "
1621 "fournis à l'utilisateur sous le protocole B<ETH_P_802_2> avec un en-tête LLC "
1622 "ajouté. La liaison B<ETH_P_802_3> n’est donc pas possible, la liaison "
1623 "B<ETH_P_802_2> doit être utilisée à la place, et vous devez réaliser le "
1624 "multiplexage de protocoles vous-même. Le comportement par défaut en émission "
1625 "est l’encapsulation Ethernet DIX standard, avec le protocole renseigné."
1626
1627 #. type: Plain text
1628 #: debian-trixie
1629 msgid ""
1630 "The I<spkt_device> field of I<sockaddr_pkt> has a size of 14 bytes, which is "
1631 "less than the constant B<IFNAMSIZ> defined in I<E<lt>net/if.hE<gt>> which is "
1632 "16 bytes and describes the system limit for a network interface name. This "
1633 "means the names of network devices longer than 14 bytes will be truncated to "
1634 "fit into I<spkt_device>. All these lengths include the terminating null "
1635 "byte (\\[aq]\\[rs]0\\[aq]))."
1636 msgstr ""
1637
1638 #. type: TH
1639 #: fedora-44 fedora-rawhide
1640 #, no-wrap
1641 msgid "2024-11-17"
1642 msgstr "17 novembre 2024"
1643
1644 #. type: TH
1645 #: fedora-44 fedora-rawhide
1646 #, no-wrap
1647 msgid "Linux man-pages 6.13"
1648 msgstr "Pages du manuel de Linux 6.13"
1649
1650 #. type: TH
1651 #: mageia-cauldron
1652 #, no-wrap
1653 msgid "Linux man-pages 6.17"
1654 msgstr "Pages du manuel de Linux 6.17"
1655
1656 #. type: TH
1657 #: opensuse-leap-16-1 opensuse-tumbleweed
1658 #, no-wrap
1659 msgid "Linux man-pages (unreleased)"
1660 msgstr "Pages du manuel de Linux (non publiées)"