Debian Codegraph @

po/fr/man7/sock_diag.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.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012.
18 # Jean-Paul Guillonneau <[email protected]>, 2021.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.22.0\n"
22 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
23 "PO-Revision-Date: 2024-04-24 13:49+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 "sock_diag"
38 msgstr "sock_diag"
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 "sock_diag - obtaining information about sockets"
64 msgstr "sock_diag – Obtention d’informations à propos des sockets"
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/sock_diag.hE<gt>>\n"
80 "B<#include E<lt>linux/unix_diag.hE<gt>> /* for UNIX domain sockets */\n"
81 "B<#include E<lt>linux/inet_diag.hE<gt>> /* for IPv4 and IPv6 sockets */\n"
82 msgstr ""
83 "B<#include E<lt>sys/socket.hE<gt>>\n"
84 "B<#include E<lt>linux/sock_diag.hE<gt>>\n"
85 "B<#include E<lt>linux/unix_diag.hE<gt>> /* pour sockets de domaine UNIX */\n"
86 "B<#include E<lt>linux/inet_diag.hE<gt>> /* pour sockets IPv4 et IPv6 */\n"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "B<diag_socket = socket(AF_NETLINK, >I<socket_type>B<, NETLINK_SOCK_DIAG);>\n"
93 msgstr "B<diag_socket = socket(AF_NETLINK, >I<socket_type>B<, NETLINK_SOCK_DIAG);>\n"
94
95 #. type: SH
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid "DESCRIPTION"
100 msgstr "DESCRIPTION"
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid ""
106 "The sock_diag netlink subsystem provides a mechanism for obtaining "
107 "information about sockets of various address families from the kernel. This "
108 "subsystem can be used to obtain information about individual sockets or "
109 "request a list of sockets."
110 msgstr ""
111 "Le sous-système netlink de B<sock_diag> fournit un mécanisme pour obtenir "
112 "les informations sur les sockets de diverses familles d’adresses du noyau. "
113 "Ce sous-système peut être utilisé pour obtenir des informations à propos de "
114 "sockets particuliers ou pour obtenir la liste des sockets."
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "In the request, the caller can specify additional information it would like "
121 "to obtain about the socket, for example, memory information or information "
122 "specific to the address family."
123 msgstr ""
124 "Dans la requête, l’appelant peut indiquer les informations supplémentaires "
125 "qu’il désire obtenir à propos du socket, par exemple, les informations sur "
126 "la mémoire ou les informations spécifiques à une famille d’adresses."
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "When requesting a list of sockets, the caller can specify filters that would "
133 "be applied by the kernel to select a subset of sockets to report. For now, "
134 "there is only the ability to filter sockets by state (connected, listening, "
135 "and so on.)"
136 msgstr ""
137 "Lors d’une requête d’une liste de sockets, l’appelant peut indiquer des "
138 "filtres à appliquer par le noyau pour sélectionner un sous-ensemble de "
139 "sockets. Pour l’instant, il est seulement possible de filtrer les sockets "
140 "par état (connecté, à l’écoute, etc)."
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "Note that sock_diag reports only those sockets that have a name; that is, "
147 "either sockets bound explicitly with B<bind>(2) or sockets that were "
148 "automatically bound to an address (e.g., by B<connect>(2)). This is the "
149 "same set of sockets that is available via I</proc/net/unix>, I</proc/net/"
150 "tcp>, I</proc/net/udp>, and so on."
151 msgstr ""
152 "Remarquez que B<sock_diag> rapporte seulement les sockets ayant un nom. "
153 "C’est-à-dire soit les sockets liés explicitement avec B<bind>(2) ou les "
154 "sockets qui ont été automatiquement liés à une adresse (par exemple, par "
155 "B<connect>(2)). C’est le même ensemble de sockets disponible à l’aide de I</"
156 "proc/net/unix>, I</proc/net/tcp>, I</proc/net/udp>, etc."
157
158 #. type: SS
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "Request"
163 msgstr "Requête"
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "The request starts with a I<struct nlmsghdr> header described in "
170 "B<netlink>(7) with I<nlmsg_type> field set to B<SOCK_DIAG_BY_FAMILY>. It "
171 "is followed by a header specific to the address family that starts with a "
172 "common part shared by all address families:"
173 msgstr ""
174 "La requête débute par un en-tête I<struct\\ nlmsghdr> décrit dans "
175 "B<netlink>(7) avec un champ I<nlmsg_type> réglé à B<SOCK_DIAG_BY_FAMILY>. Il "
176 "est suivi par un en-tête spécifique à une famille d’adresses qui débute par "
177 "une partie commune partagée par toutes les familles d’adresses :"
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid ""
184 "struct sock_diag_req {\n"
185 " __u8 sdiag_family;\n"
186 " __u8 sdiag_protocol;\n"
187 "};\n"
188 msgstr ""
189 "struct sock_diag_req {\n"
190 " __u8 sdiag_family;\n"
191 " __u8 sdiag_protocol;\n"
192 "};\n"
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid "The fields of this structure are as follows:"
198 msgstr "Les membres de cette structure sont les suivants :"
199
200 #. type: TP
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "I<sdiag_family>"
205 msgstr "I<sdiag_family>"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "An address family. It should be set to the appropriate B<AF_*> constant."
212 msgstr ""
213 "Une famille d’adresses. Elle devrait être réglée à la constante B<AF_*> "
214 "appropriée."
215
216 #. type: TP
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "I<sdiag_protocol>"
221 msgstr "I<sdiag_protocol>"
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "Depends on I<sdiag_family>. It should be set to the appropriate "
228 "B<IPPROTO_*> constant for B<AF_INET> and B<AF_INET6>, and to 0 otherwise."
229 msgstr ""
230 "Fonction de I<sdiag_family>. Il devrait être réglé à la constante "
231 "B<IPPROTO_*> appropriée pour B<AF_INET> et B<AF_INET6>, et à 0 autrement."
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "If the I<nlmsg_flags> field of the I<struct nlmsghdr> header has the "
238 "B<NLM_F_DUMP> flag set, it means that a list of sockets is being requested; "
239 "otherwise it is a query about an individual socket."
240 msgstr ""
241 "Si le champ I<nlmsg_flags> de l’en-tête I<struct\\ nlmsghdr> a l’indicateur "
242 "B<NLM_F_DUMP> défini, cela signifie qu’une liste de sockets est demandée. "
243 "Sinon, il s’agit d’une requête concernant un socket particulier."
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 "Response"
250 msgstr "Réponse"
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 response starts with a I<struct nlmsghdr> header and is followed by an "
257 "array of objects specific to the address family. The array is to be "
258 "accessed with the standard B<NLMSG_*> macros from the B<netlink>(3) API."
259 msgstr ""
260 "La réponse débute avec un en-tête I<struct\\ nlmsghdr> et est suivie par un "
261 "tableau d’objets spécifique à la famille d’adresses. Le tableau est "
262 "accessible avec les macros B<NLMSG_*> standards de l’API de B<netlink>(3)."
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "Each object is the NLA (netlink attributes) list that is to be accessed with "
269 "the B<RTA_*> macros from B<rtnetlink>(3) API."
270 msgstr ""
271 "Chaque objet est la liste NLA (attributs netlink) accessible avec les macros "
272 "B<RTA_*> de l’API de B<rtnetlink>(3)."
273
274 #. type: SS
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "UNIX domain sockets"
279 msgstr "Sockets de domaine UNIX"
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid ""
285 "For UNIX domain sockets the request is represented in the following "
286 "structure:"
287 msgstr ""
288 "Pour les sockets de domaine UNIX, la requête est décrite dans la structure "
289 "suivante :"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid ""
296 "struct unix_diag_req {\n"
297 " __u8 sdiag_family;\n"
298 " __u8 sdiag_protocol;\n"
299 " __u16 pad;\n"
300 " __u32 udiag_states;\n"
301 " __u32 udiag_ino;\n"
302 " __u32 udiag_show;\n"
303 " __u32 udiag_cookie[2];\n"
304 "};\n"
305 msgstr ""
306 "struct unix_diag_req {\n"
307 " __u8 sdiag_family;\n"
308 " __u8 sdiag_protocol;\n"
309 " __u16 pad;\n"
310 " __u32 udiag_states;\n"
311 " __u32 udiag_ino;\n"
312 " __u32 udiag_show;\n"
313 " __u32 udiag_cookie[2];\n"
314 "};\n"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "The address family; it should be set to B<AF_UNIX>."
320 msgstr "La famille d’adresses. Elle devrait être B<AF_UNIX>."
321
322 #. type: TP
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "I<pad>"
327 msgstr "I<pad>"
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid "These fields should be set to 0."
333 msgstr "Ces champs devraient être réglés à 0."
334
335 #. type: TP
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "I<udiag_states>"
340 msgstr "I<udiag_states>"
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid ""
346 "This is a bit mask that defines a filter of sockets states. Only those "
347 "sockets whose states are in this mask will be reported. Ignored when "
348 "querying for an individual socket. Supported values are:"
349 msgstr ""
350 "C’est un masque de bits définissant un filtre d’états des sockets. Seuls les "
351 "sockets dont les états sont dans le masque seront rapportés. Il est ignoré "
352 "lors d’une requête pour un socket particulier. Les valeurs autorisées sont :"
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid "1 E<lt>E<lt> B<TCP_ESTABLISHED>"
358 msgstr "1 E<lt>E<lt> B<TCP_ESTABLISHED>"
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid "1 E<lt>E<lt> B<TCP_LISTEN>"
364 msgstr "1 E<lt>E<lt> B<TCP_LISTEN>"
365
366 #. type: TP
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "I<udiag_ino>"
371 msgstr "I<udiag_ino>"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid ""
377 "This is an inode number when querying for an individual socket. Ignored "
378 "when querying for a list of sockets."
379 msgstr ""
380 "C’est un numéro d’inœud lors d’une requête pour un socket particulier. Il "
381 "est ignoré lors d’une requête pour une liste de sockets."
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "I<udiag_show>"
388 msgstr "I<udiag_show>"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "This is a set of flags defining what kind of information to report. Each "
395 "requested kind of information is reported back as a netlink attribute as "
396 "described below:"
397 msgstr ""
398 "C’est un ensemble d’indicateurs définissant quelle sorte d’information "
399 "rapporter. Chaque sorte d’information est rapportée sous forme d’attribut "
400 "netlink comme décrit ci-dessous :"
401
402 #. type: TP
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "B<UDIAG_SHOW_NAME>"
407 msgstr "B<UDIAG_SHOW_NAME>"
408
409 #. type: Plain text
410 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
411 #: opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "The attribute reported in answer to this request is B<UNIX_DIAG_NAME>. The "
414 "payload associated with this attribute is the pathname to which the socket "
415 "was bound (a sequence of bytes up to B<UNIX_PATH_MAX> size)."
416 msgstr ""
417 "L’attribut rapporté dans la réponse à cette requête est B<UNIX_DIAG_NAME>. "
418 "La charge utile associée à cet attribut est le nom de chemin auquel le "
419 "socket a été lié (une séquence d’octets de taille maximale B<UNIX_PATH_MAX>)."
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<UDIAG_SHOW_VFS>"
426 msgstr "B<UDIAG_SHOW_VFS>"
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid ""
432 "The attribute reported in answer to this request is B<UNIX_DIAG_VFS>. The "
433 "payload associated with this attribute is represented in the following "
434 "structure:"
435 msgstr ""
436 "L’attribut rapporté dans la réponse à cette requête est B<UNIX_DIAG_VFS>. La "
437 "charge utile associée à cet attribut est décrite dans la structure suivante :"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid ""
444 "struct unix_diag_vfs {\n"
445 " __u32 udiag_vfs_dev;\n"
446 " __u32 udiag_vfs_ino;\n"
447 "};\n"
448 msgstr ""
449 "struct unix_diag_vfs {\n"
450 " __u32 udiag_vfs_dev;\n"
451 " __u32 udiag_vfs_ino;\n"
452 "};\n"
453
454 #. type: TP
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "I<udiag_vfs_dev>"
459 msgstr "I<udiag_vfs_dev>"
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid "The device number of the corresponding on-disk socket inode."
465 msgstr ""
466 "Le numéro de périphérique de l’inœud correspondant de socket sur le disque. "
467
468 #. type: TP
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 #, no-wrap
472 msgid "I<udiag_vfs_ino>"
473 msgstr "I<udiag_vfs_ino>"
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid "The inode number of the corresponding on-disk socket inode."
479 msgstr "Le numéro d’inœud de l’inœud correspondant de socket sur le disque. "
480
481 #. type: TP
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "B<UDIAG_SHOW_PEER>"
486 msgstr "B<UDIAG_SHOW_PEER>"
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid ""
492 "The attribute reported in answer to this request is B<UNIX_DIAG_PEER>. The "
493 "payload associated with this attribute is a __u32 value which is the peer's "
494 "inode number. This attribute is reported for connected sockets only."
495 msgstr ""
496 "L’attribut rapporté dans la réponse à cette requête est B<UNIX_DIAG_PEER>. "
497 "La charge utile associée à cet attribut est une valeur __u32 qui est le "
498 "numéro d’inœud du pair. Cet attribut est rapporté seulement pour les sockets "
499 "connectés."
500
501 #. type: TP
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 #, no-wrap
505 msgid "B<UDIAG_SHOW_ICONS>"
506 msgstr "B<UDIAG_SHOW_ICONS>"
507
508 #. type: Plain text
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 msgid ""
512 "The attribute reported in answer to this request is B<UNIX_DIAG_ICONS>. The "
513 "payload associated with this attribute is an array of __u32 values which are "
514 "inode numbers of sockets that has passed the B<connect>(2) call, but hasn't "
515 "been processed with B<accept>(2) yet. This attribute is reported for "
516 "listening sockets only."
517 msgstr ""
518 "L’attribut rapporté dans la réponse à cette requête est B<UNIX_DIAG_ICONS>. "
519 "La charge utile associée à cet attribut est un tableau de valeurs __u32 qui "
520 "sont des numéros d’inœuds de sockets qui ont passé l’appel B<connect>(2), "
521 "mais qui n’ont pas encore été traités par B<accept>(2). Cet attribut est "
522 "rapporté seulement pour les sockets à l’écoute."
523
524 #. type: TP
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "B<UDIAG_SHOW_RQLEN>"
529 msgstr "B<UDIAG_SHOW_RQLEN>"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "The attribute reported in answer to this request is B<UNIX_DIAG_RQLEN>. The "
536 "payload associated with this attribute is represented in the following "
537 "structure:"
538 msgstr ""
539 "L’attribut rapporté dans la réponse à cette requête est B<UNIX_DIAG_RQLEN>. "
540 "La charge utile associée à cet attribut est décrite dans la structure "
541 "suivante :"
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid ""
548 "struct unix_diag_rqlen {\n"
549 " __u32 udiag_rqueue;\n"
550 " __u32 udiag_wqueue;\n"
551 "};\n"
552 msgstr ""
553 "struct unix_diag_rqlen {\n"
554 " __u32 udiag_rqueue;\n"
555 " __u32 udiag_wqueue;\n"
556 "};\n"
557
558 #. type: TP
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid "I<udiag_rqueue>"
563 msgstr "I<udiag_rqueue>"
564
565 #. type: Plain text
566 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
567 #: opensuse-leap-16-1 opensuse-tumbleweed
568 msgid ""
569 "For listening sockets: the number of pending connections. The size of the "
570 "array associated with the B<UNIX_DIAG_ICONS> response attribute is equal to "
571 "this value."
572 msgstr ""
573 "Pour les sockets à l’écoute : le nombre de connexions en attente. La taille "
574 "du tableau associé à l’attribut de la réponse B<UNIX_DIAG_ICONS> est égale à "
575 "cette valeur."
576
577 #. type: Plain text
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 msgid "For established sockets: the amount of data in incoming queue."
581 msgstr ""
582 "Pour les sockets établis : la quantité de données dans la file d’attente "
583 "entrante."
584
585 #. type: TP
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 #, no-wrap
589 msgid "I<udiag_wqueue>"
590 msgstr "I<udiag_wqueue>"
591
592 #. type: Plain text
593 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
594 #: opensuse-leap-16-1 opensuse-tumbleweed
595 msgid ""
596 "For listening sockets: the backlog size which equals to the value passed as "
597 "the second argument to B<listen>(2)."
598 msgstr ""
599 "Pour les sockets à l’écoute : la taille de l’arriéré qui est égale à la "
600 "valeur passée comme second argument à B<listen>(2)."
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid "For established sockets: the amount of memory available for sending."
606 msgstr ""
607 "Pour les sockets établis : la quantité de mémoire disponible pour l’émission."
608
609 #. type: TP
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 #, no-wrap
613 msgid "B<UDIAG_SHOW_MEMINFO>"
614 msgstr "B<UDIAG_SHOW_MEMINFO>"
615
616 #. type: Plain text
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 msgid ""
620 "The attribute reported in answer to this request is B<UNIX_DIAG_MEMINFO>. "
621 "The payload associated with this attribute is an array of __u32 values "
622 "described below in the subsection \"Socket memory information\"."
623 msgstr ""
624 "L’attribut rapporté dans la réponse à cette requête est "
625 "B<UNIX_DIAG_MEMINFO>. La charge utile associée à cet attribut est un tableau "
626 "de valeurs __u32 décrites dans la sous-section « Informations sur la mémoire "
627 "de socket »."
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 following attributes are reported back without any specific request:"
634 msgstr "Les attributs suivants sont rapportés sans requête particulière :"
635
636 #. type: TP
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 #, no-wrap
640 msgid "B<UNIX_DIAG_SHUTDOWN>"
641 msgstr "B<UNIX_DIAG_SHUTDOWN>"
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "The payload associated with this attribute is __u8 value which represents "
648 "bits of B<shutdown>(2) state."
649 msgstr ""
650 "La charge utile associée à cet attribut est une valeur __u8 représentant les "
651 "bits de l’état de B<shutdown>(2)."
652
653 #. type: TP
654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
656 #, no-wrap
657 msgid "I<udiag_cookie>"
658 msgstr "I<udiag_cookie>"
659
660 #. type: Plain text
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 msgid ""
664 "This is an array of opaque identifiers that could be used along with "
665 "I<udiag_ino> to specify an individual socket. It is ignored when querying "
666 "for a list of sockets, as well as when all its elements are set to -1."
667 msgstr ""
668 "C’est un tableau d’identificateurs opaques pouvant être utilisés avec "
669 "I<udiag_ino> pour indiquer un socket particulier. Il est ignoré lors de la "
670 "requête d’une liste de sockets ainsi que lorsque ses éléments sont réglés "
671 "à -1."
672
673 #. type: Plain text
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 msgid ""
677 "The response to a query for UNIX domain sockets is represented as an array of"
678 msgstr ""
679 "La réponse à une requête de sockets de domaine UNIX est décrite sous forme "
680 "de tableau de"
681
682 #. type: Plain text
683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
685 #, no-wrap
686 msgid ""
687 "struct unix_diag_msg {\n"
688 " __u8 udiag_family;\n"
689 " __u8 udiag_type;\n"
690 " __u8 udiag_state;\n"
691 " __u8 pad;\n"
692 " __u32 udiag_ino;\n"
693 " __u32 udiag_cookie[2];\n"
694 "};\n"
695 msgstr ""
696 "struct unix_diag_msg {\n"
697 " __u8 udiag_family;\n"
698 " __u8 udiag_type;\n"
699 " __u8 udiag_state;\n"
700 " __u8 pad;\n"
701 " __u32 udiag_ino;\n"
702 " __u32 udiag_cookie[2];\n"
703 "};\n"
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 msgid "followed by netlink attributes."
709 msgstr "suivis par les attributs de netlink."
710
711 #. type: TP
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid "I<udiag_family>"
716 msgstr "I<udiag_family>"
717
718 #. type: Plain text
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 msgid "This field has the same meaning as in I<struct unix_diag_req>."
722 msgstr "Ce champ a la même signification que I<struct unix_diag_req>."
723
724 #. type: TP
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 #, no-wrap
728 msgid "I<udiag_type>"
729 msgstr "I<udiag_type>"
730
731 #. type: Plain text
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 msgid ""
735 "This is set to one of B<SOCK_PACKET>, B<SOCK_STREAM>, or B<SOCK_SEQPACKET>."
736 msgstr ""
737 "Ce champ est réglé à B<SOCK_PACKET>, B<SOCK_STREAM> ou B<SOCK_SEQPACKET>."
738
739 #. type: TP
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 #, no-wrap
743 msgid "I<udiag_state>"
744 msgstr "I<udiag_state>"
745
746 #. type: Plain text
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
749 msgid "This is set to one of B<TCP_LISTEN> or B<TCP_ESTABLISHED>."
750 msgstr "Ce champ est réglé à B<TCP_LISTEN> ou B<TCP_ESTABLISHED>."
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 "This field is set to 0."
756 msgstr "Ce champ est réglé à 0."
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 "This is the socket inode number."
762 msgstr "Ce champ est le numéro d’inœud de socket."
763
764 #. type: Plain text
765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
767 msgid ""
768 "This is an array of opaque identifiers that could be used in subsequent "
769 "queries."
770 msgstr ""
771 "Ce champ est un tableau d’identificateurs opaques pouvant être utilisés dans "
772 "des requêtes ultérieures."
773
774 #. type: SS
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 #, no-wrap
778 msgid "IPv4 and IPv6 sockets"
779 msgstr "Sockets IPv4 et IPv6"
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 msgid ""
785 "For IPv4 and IPv6 sockets, the request is represented in the following "
786 "structure:"
787 msgstr ""
788 "Pour les sockets IPv4 et IPv6, la requête est décrite dans la structure "
789 "suivante :"
790
791 #. type: Plain text
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 #, no-wrap
795 msgid ""
796 "struct inet_diag_req_v2 {\n"
797 " __u8 sdiag_family;\n"
798 " __u8 sdiag_protocol;\n"
799 " __u8 idiag_ext;\n"
800 " __u8 pad;\n"
801 " __u32 idiag_states;\n"
802 " struct inet_diag_sockid id;\n"
803 "};\n"
804 msgstr ""
805 "struct inet_diag_req_v2 {\n"
806 " __u8 sdiag_family;\n"
807 " __u8 sdiag_protocol;\n"
808 " __u8 idiag_ext;\n"
809 " __u8 pad;\n"
810 " __u32 idiag_states;\n"
811 " struct inet_diag_sockid id;\n"
812 "};\n"
813
814 #. type: Plain text
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 msgid "where I<struct inet_diag_sockid> is defined as follows:"
818 msgstr "où I<struct inet_diag_sockid> est défini comme suit :"
819
820 #. type: Plain text
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 #, no-wrap
824 msgid ""
825 "struct inet_diag_sockid {\n"
826 " __be16 idiag_sport;\n"
827 " __be16 idiag_dport;\n"
828 " __be32 idiag_src[4];\n"
829 " __be32 idiag_dst[4];\n"
830 " __u32 idiag_if;\n"
831 " __u32 idiag_cookie[2];\n"
832 "};\n"
833 msgstr ""
834 "struct inet_diag_sockid {\n"
835 " __be16 idiag_sport;\n"
836 " __be16 idiag_dport;\n"
837 " __be32 idiag_src[4];\n"
838 " __be32 idiag_dst[4];\n"
839 " __u32 idiag_if;\n"
840 " __u32 idiag_cookie[2];\n"
841 "};\n"
842
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 msgid "The fields of I<struct inet_diag_req_v2> are as follows:"
847 msgstr "Les champs de I<struct inet_diag_req_v2> sont comme suit :"
848
849 #. type: Plain text
850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
851 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
852 msgid ""
853 "This should be set to either B<AF_INET> or B<AF_INET6> for IPv4 or IPv6 "
854 "sockets respectively."
855 msgstr ""
856 "Cela devrait être soit B<AF_INET> ou B<AF_INET6> pour les sockets IPv4 ou "
857 "IPv6 respectivement."
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 msgid ""
863 "This should be set to one of B<IPPROTO_TCP>, B<IPPROTO_UDP>, or "
864 "B<IPPROTO_UDPLITE>."
865 msgstr ""
866 "Cela devrait être réglé à B<IPPROTO_TCP>, B<IPPROTO_UDP> ou "
867 "B<IPPROTO_UDPLITE>."
868
869 #. type: TP
870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
872 #, no-wrap
873 msgid "I<idiag_ext>"
874 msgstr "I<idiag_ext>"
875
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 msgid ""
880 "This is a set of flags defining what kind of extended information to "
881 "report. Each requested kind of information is reported back as a netlink "
882 "attribute as described below:"
883 msgstr ""
884 "C’est un ensemble d’indicateurs définissant quelle sorte d’informations "
885 "étendues à rapporter. Chaque sorte d’informations est rapportée sous forme "
886 "d’attribut de netlink comme décrit ci-dessous :"
887
888 #. type: TP
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 #, no-wrap
892 msgid "B<INET_DIAG_TOS>"
893 msgstr "B<INET_DIAG_TOS>"
894
895 #. type: Plain text
896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
898 msgid ""
899 "The payload associated with this attribute is a __u8 value which is the TOS "
900 "of the socket."
901 msgstr ""
902 "La charge utile associée à cet attribut est une valeur __u8 qui est le TOS "
903 "du socket."
904
905 #. type: TP
906 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
907 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
908 #, no-wrap
909 msgid "B<INET_DIAG_TCLASS>"
910 msgstr "B<INET_DIAG_TCLASS>"
911
912 #. type: Plain text
913 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
914 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
915 msgid ""
916 "The payload associated with this attribute is a __u8 value which is the "
917 "TClass of the socket. IPv6 sockets only. For LISTEN and CLOSE sockets, "
918 "this is followed by B<INET_DIAG_SKV6ONLY> attribute with associated __u8 "
919 "payload value meaning whether the socket is IPv6-only or not."
920 msgstr ""
921 "La charge utile associée à cet attribut est une valeur __u8 qui est la "
922 "TClass du socket — sockets IPv6 uniquement. Pour les sockets LISTEN et "
923 "CLOSE, cela est suivi par l’attribut B<INET_DIAG_SKV6ONLY> avec la valeur "
924 "associée __u8 de charge utile signifiant si le socket est seulement IPv6 ou "
925 "non."
926
927 #. type: TP
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 #, no-wrap
931 msgid "B<INET_DIAG_MEMINFO>"
932 msgstr "B<INET_DIAG_MEMINFO>"
933
934 #. type: Plain text
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 msgid ""
938 "The payload associated with this attribute is represented in the following "
939 "structure:"
940 msgstr ""
941 "La charge utile associée à cet attribut est décrite dans la structure "
942 "suivante :"
943
944 #. type: Plain text
945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
947 #, no-wrap
948 msgid ""
949 "struct inet_diag_meminfo {\n"
950 " __u32 idiag_rmem;\n"
951 " __u32 idiag_wmem;\n"
952 " __u32 idiag_fmem;\n"
953 " __u32 idiag_tmem;\n"
954 "};\n"
955 msgstr ""
956 "struct inet_diag_meminfo {\n"
957 " __u32 idiag_rmem;\n"
958 " __u32 idiag_wmem;\n"
959 " __u32 idiag_fmem;\n"
960 " __u32 idiag_tmem;\n"
961 "};\n"
962
963 #. type: TP
964 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
965 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
966 #, no-wrap
967 msgid "I<idiag_rmem>"
968 msgstr "I<idiag_rmem>"
969
970 #. type: Plain text
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 msgid "The amount of data in the receive queue."
974 msgstr "La quantité de données dans la file de réception."
975
976 #. type: TP
977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
979 #, no-wrap
980 msgid "I<idiag_wmem>"
981 msgstr "I<idiag_wmem>"
982
983 #. type: Plain text
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 msgid "The amount of data that is queued by TCP but not yet sent."
987 msgstr ""
988 "La quantité de données mises dans la file par TCP mais non encore envoyées."
989
990 #. type: TP
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 #, no-wrap
994 msgid "I<idiag_fmem>"
995 msgstr "I<idiag_fmem>"
996
997 #. type: Plain text
998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1000 msgid "The amount of memory scheduled for future use (TCP only)."
1001 msgstr ""
1002 "La quantité de mémoire prévue pour une utilisation future (TCP uniquement)."
1003
1004 #. type: TP
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 #, no-wrap
1008 msgid "I<idiag_tmem>"
1009 msgstr "I<idiag_tmem>"
1010
1011 #. type: Plain text
1012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1014 msgid "The amount of data in send queue."
1015 msgstr "La quantité de données dans la file d’émission."
1016
1017 #. type: TP
1018 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1019 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1020 #, no-wrap
1021 msgid "B<INET_DIAG_SKMEMINFO>"
1022 msgstr "B<INET_DIAG_SKMEMINFO>"
1023
1024 #. type: Plain text
1025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1027 msgid ""
1028 "The payload associated with this attribute is an array of __u32 values "
1029 "described below in the subsection \"Socket memory information\"."
1030 msgstr ""
1031 "La charge utile associée à cet attribut est un tableau de valeurs __u32 "
1032 "décrites ci-dessous dans la sous-section « Informations sur la mémoire de "
1033 "socket »."
1034
1035 #. type: TP
1036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1037 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1038 #, no-wrap
1039 msgid "B<INET_DIAG_INFO>"
1040 msgstr "B<INET_DIAG_INFO>"
1041
1042 #. type: Plain text
1043 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1044 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1045 msgid ""
1046 "The payload associated with this attribute is specific to the address "
1047 "family. For TCP sockets, it is an object of type I<struct tcp_info>."
1048 msgstr ""
1049 "La charge utile associée à cet attribut est spécifique à la famille "
1050 "d’adresses. Pour les sockets TCP, c’est un objet de type I<struct\\ "
1051 "tcp_info>."
1052
1053 #. type: TP
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1056 #, no-wrap
1057 msgid "B<INET_DIAG_CONG>"
1058 msgstr "B<INET_DIAG_CONG>"
1059
1060 #. type: Plain text
1061 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1062 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1063 msgid ""
1064 "The payload associated with this attribute is a string that describes the "
1065 "congestion control algorithm used. For TCP sockets only."
1066 msgstr ""
1067 "La charge utile associée avec cet attribut est une chaîne décrivant "
1068 "l’algorithme de contrôle de congestion utilisé. Uniquement pour les sockets "
1069 "TCP."
1070
1071 #. type: Plain text
1072 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1073 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1074 msgid "This should be set to 0."
1075 msgstr "Cela devrait être réglé à 0."
1076
1077 #. type: TP
1078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1079 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1080 #, no-wrap
1081 msgid "I<idiag_states>"
1082 msgstr "I<idiag_states>"
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 ""
1088 "This is a bit mask that defines a filter of socket states. Only those "
1089 "sockets whose states are in this mask will be reported. Ignored when "
1090 "querying for an individual socket."
1091 msgstr ""
1092 "C’est un masque de bits définissant un filtre d’états des sockets. Seuls les "
1093 "sockets dont les états sont dans le masque seront rapportés. Il est ignoré "
1094 "lors d’une requête pour un socket particulier."
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 "I<id>"
1101 msgstr "I<id>"
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 ""
1107 "This is a socket ID object that is used in dump requests, in queries about "
1108 "individual sockets, and is reported back in each response. Unlike UNIX "
1109 "domain sockets, IPv4 and IPv6 sockets are identified using addresses and "
1110 "ports. All values are in network byte order."
1111 msgstr ""
1112 "C’est un objet d’ID de socket utilisé dans les requêtes de vidage, dans les "
1113 "requêtes à propos de sockets particuliers et qui est rapporté dans chaque "
1114 "réponse. Au contraire des sockets de domaine UNIX, les sockets IPv4 et IPv6 "
1115 "sont identifiés en utilisant des adresses et des ports. Toutes les valeurs "
1116 "sont dans l’ordre d’octets du réseau."
1117
1118 #. type: Plain text
1119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1121 msgid "The fields of I<struct inet_diag_sockid> are as follows:"
1122 msgstr "Les champs de I<struct inet_diag_sockid> sont comme suit :"
1123
1124 #. type: TP
1125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1127 #, no-wrap
1128 msgid "I<idiag_sport>"
1129 msgstr "I<idiag_sport>"
1130
1131 #. type: Plain text
1132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1134 msgid "The source port."
1135 msgstr "Le port de la source."
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 "I<idiag_dport>"
1142 msgstr "I<idiag_dport>"
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 "The destination port."
1148 msgstr "Le port de la destination."
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 "I<idiag_src>"
1155 msgstr "I<idiag_src>"
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 "The source address."
1161 msgstr "L’adresse de la source."
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 "I<idiag_dst>"
1168 msgstr "I<idiag_dst>"
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 "The destination address."
1174 msgstr "L’adresse de la destination."
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 "I<idiag_if>"
1181 msgstr "I<idiag_if>"
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 "The interface number the socket is bound to."
1187 msgstr "Le numéro d’interface auquel le socket est lié."
1188
1189 #. type: TP
1190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1192 #, no-wrap
1193 msgid "I<idiag_cookie>"
1194 msgstr "I<idiag_cookie>"
1195
1196 #. type: Plain text
1197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1199 msgid ""
1200 "This is an array of opaque identifiers that could be used along with other "
1201 "fields of this structure to specify an individual socket. It is ignored "
1202 "when querying for a list of sockets, as well as when all its elements are "
1203 "set to -1."
1204 msgstr ""
1205 "C’est un tableau d’identificateurs opaques pouvant être utilisés dans "
1206 "d’autres champs de cette structure pour indiquer un socket particulier. Il "
1207 "est ignoré lors d’une requête pour une liste de sockets, de même que lorsque "
1208 "tous ses éléments sont réglés à -1."
1209
1210 #. type: Plain text
1211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1213 msgid ""
1214 "The response to a query for IPv4 or IPv6 sockets is represented as an array "
1215 "of"
1216 msgstr ""
1217 "La réponse à une requête de sockets IPv4 ou IPv6 est décrite sous forme d'un "
1218 "tableau de"
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 #, no-wrap
1224 msgid ""
1225 "struct inet_diag_msg {\n"
1226 " __u8 idiag_family;\n"
1227 " __u8 idiag_state;\n"
1228 " __u8 idiag_timer;\n"
1229 " __u8 idiag_retrans;\n"
1230 "\\&\n"
1231 " struct inet_diag_sockid id;\n"
1232 "\\&\n"
1233 " __u32 idiag_expires;\n"
1234 " __u32 idiag_rqueue;\n"
1235 " __u32 idiag_wqueue;\n"
1236 " __u32 idiag_uid;\n"
1237 " __u32 idiag_inode;\n"
1238 "};\n"
1239 msgstr ""
1240 "struct inet_diag_msg {\n"
1241 " __u8 idiag_family;\n"
1242 " __u8 idiag_state;\n"
1243 " __u8 idiag_timer;\n"
1244 " __u8 idiag_retrans;\n"
1245 "\\&\n"
1246 " struct inet_diag_sockid id;\n"
1247 "\\&\n"
1248 " __u32 idiag_expires;\n"
1249 " __u32 idiag_rqueue;\n"
1250 " __u32 idiag_wqueue;\n"
1251 " __u32 idiag_uid;\n"
1252 " __u32 idiag_inode;\n"
1253 "};\n"
1254
1255 #. type: TP
1256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1258 #, no-wrap
1259 msgid "I<idiag_family>"
1260 msgstr "I<idiag_family>"
1261
1262 #. type: Plain text
1263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1265 msgid "This is the same field as in I<struct inet_diag_req_v2>."
1266 msgstr "c’est le même champ que dans I<struct inet_diag_req_v2>."
1267
1268 #. type: TP
1269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1271 #, no-wrap
1272 msgid "I<idiag_state>"
1273 msgstr "I<idiag_state>"
1274
1275 #. type: Plain text
1276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1278 msgid "This denotes socket state as in I<struct inet_diag_req_v2>."
1279 msgstr "Cela indique l’état comme dans I<struct inet_diag_req_v2>."
1280
1281 #. type: TP
1282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1284 #, no-wrap
1285 msgid "I<idiag_timer>"
1286 msgstr "I<idiag_timer>"
1287
1288 #. type: Plain text
1289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1291 msgid ""
1292 "For TCP sockets, this field describes the type of timer that is currently "
1293 "active for the socket. It is set to one of the following constants:"
1294 msgstr ""
1295 "Pour les sockets TCP, ce champ décrit le type de temporisateur actuellement "
1296 "actif pour le socket. Il est réglé à une des constantes suivantes :"
1297
1298 #. type: TP
1299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1301 #, no-wrap
1302 msgid "B<0>"
1303 msgstr "B<0>"
1304
1305 #. type: Plain text
1306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1308 msgid "no timer is active"
1309 msgstr "aucun temporisateur actif"
1310
1311 #. type: TP
1312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1314 #, no-wrap
1315 msgid "B<1>"
1316 msgstr "B<1>"
1317
1318 #. type: Plain text
1319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1321 msgid "a retransmit timer"
1322 msgstr "un temporisateur de retransmission"
1323
1324 #. type: TP
1325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1327 #, no-wrap
1328 msgid "B<2>"
1329 msgstr "B<2>"
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 "a keep-alive timer"
1335 msgstr "un temporisateur d’entretien"
1336
1337 #. type: TP
1338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1340 #, no-wrap
1341 msgid "B<3>"
1342 msgstr "B<3>"
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 "a TIME_WAIT timer"
1348 msgstr "un temporisateur TIME_WAIT"
1349
1350 #. type: TP
1351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1353 #, no-wrap
1354 msgid "B<4>"
1355 msgstr "B<4>"
1356
1357 #. type: Plain text
1358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1360 msgid "a zero window probe timer"
1361 msgstr "un temporisateur de sonde de fenêtre nulle"
1362
1363 #. type: Plain text
1364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1366 msgid "For non-TCP sockets, this field is set to 0."
1367 msgstr "Pour les sockets non TCP, ce champ doit être réglé à 0."
1368
1369 #. type: TP
1370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1372 #, no-wrap
1373 msgid "I<idiag_retrans>"
1374 msgstr "I<idiag_retrans>"
1375
1376 #. type: Plain text
1377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1379 msgid ""
1380 "For I<idiag_timer> values 1, 2, and 4, this field contains the number of "
1381 "retransmits. For other I<idiag_timer> values, this field is set to 0."
1382 msgstr ""
1383 "Pour les valeurs 1, 2 et 4 d’I<idiag_timer>, ce champ contient le nombre de "
1384 "retransmissions. Pour les autres valeurs d’I<idiag_timer>, ce champ est "
1385 "réglé à 0."
1386
1387 #. type: TP
1388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1390 #, no-wrap
1391 msgid "I<idiag_expires>"
1392 msgstr "I<idiag_expires>"
1393
1394 #. type: Plain text
1395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1397 msgid ""
1398 "For TCP sockets that have an active timer, this field describes its "
1399 "expiration time in milliseconds. For other sockets, this field is set to 0."
1400 msgstr ""
1401 "Pour les sockets TCP ayant un temporisateur actif, ce champ indique son "
1402 "délai d’expiration en milliseconde. Pour les autres sockets, ce champ est "
1403 "réglé à 0."
1404
1405 #. type: TP
1406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1408 #, no-wrap
1409 msgid "I<idiag_rqueue>"
1410 msgstr "I<idiag_rqueue>"
1411
1412 #. type: Plain text
1413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1415 msgid "For listening sockets: the number of pending connections."
1416 msgstr "Pour les sockets à l’écoute : le nombre de connexions en attente."
1417
1418 #. type: Plain text
1419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1421 msgid "For other sockets: the amount of data in the incoming queue."
1422 msgstr ""
1423 "Pour les autres sockets : la quantité de données dans la file d’attente "
1424 "entrante."
1425
1426 #. type: TP
1427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1429 #, no-wrap
1430 msgid "I<idiag_wqueue>"
1431 msgstr "I<idiag_wqueue>"
1432
1433 #. type: Plain text
1434 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1435 #: opensuse-leap-16-1 opensuse-tumbleweed
1436 msgid "For listening sockets: the backlog size."
1437 msgstr "Pour les sockets à l’écoute : la taille de l’arriéré."
1438
1439 #. type: Plain text
1440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1442 msgid "For other sockets: the amount of memory available for sending."
1443 msgstr ""
1444 "Pour les autres sockets : la quantité de mémoire disponible pour l’envoi."
1445
1446 #. type: TP
1447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1449 #, no-wrap
1450 msgid "I<idiag_uid>"
1451 msgstr "I<idiag_uid>"
1452
1453 #. type: Plain text
1454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1456 msgid "This is the socket owner UID."
1457 msgstr "C’est l’UID du propriétaire du socket."
1458
1459 #. type: TP
1460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1462 #, no-wrap
1463 msgid "I<idiag_inode>"
1464 msgstr "I<idiag_inode>"
1465
1466 #. type: SS
1467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1469 #, no-wrap
1470 msgid "Socket memory information"
1471 msgstr "Informations sur la mémoire du socket"
1472
1473 #. type: Plain text
1474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1476 msgid ""
1477 "The payload associated with B<UNIX_DIAG_MEMINFO> and B<INET_DIAG_SKMEMINFO> "
1478 "netlink attributes is an array of the following __u32 values:"
1479 msgstr ""
1480 "La charge utile associée avec les attributs B<UNIX_DIAG_MEMINFO> et "
1481 "B<INET_DIAG_SKMEMINFO> de netlink est un tableau des valeurs __u32 "
1482 "suivantes :"
1483
1484 #. type: TP
1485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1487 #, no-wrap
1488 msgid "B<SK_MEMINFO_RMEM_ALLOC>"
1489 msgstr "B<SK_MEMINFO_RMEM_ALLOC>"
1490
1491 #. type: Plain text
1492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1494 msgid "The amount of data in receive queue."
1495 msgstr "La quantité de données dans la file d’attente de réception."
1496
1497 #. type: TP
1498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1500 #, no-wrap
1501 msgid "B<SK_MEMINFO_RCVBUF>"
1502 msgstr "B<SK_MEMINFO_RCVBUF>"
1503
1504 #. type: Plain text
1505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1507 msgid "The receive socket buffer as set by B<SO_RCVBUF>."
1508 msgstr "Le tampon de réception de socket comme réglé par B<SO_RCVBUF>."
1509
1510 #. type: TP
1511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1513 #, no-wrap
1514 msgid "B<SK_MEMINFO_WMEM_ALLOC>"
1515 msgstr "B<SK_MEMINFO_WMEM_ALLOC>"
1516
1517 #. type: TP
1518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1520 #, no-wrap
1521 msgid "B<SK_MEMINFO_SNDBUF>"
1522 msgstr "B<SK_MEMINFO_SNDBUF>"
1523
1524 #. type: Plain text
1525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1527 msgid "The send socket buffer as set by B<SO_SNDBUF>."
1528 msgstr "Le tampon d’émission de socket comme réglé par B<SO_SNDBUF>."
1529
1530 #. type: TP
1531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1533 #, no-wrap
1534 msgid "B<SK_MEMINFO_FWD_ALLOC>"
1535 msgstr "B<SK_MEMINFO_FWD_ALLOC>"
1536
1537 #. type: TP
1538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1540 #, no-wrap
1541 msgid "B<SK_MEMINFO_WMEM_QUEUED>"
1542 msgstr "B<SK_MEMINFO_WMEM_QUEUED>"
1543
1544 #. type: Plain text
1545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1547 msgid "The amount of data queued by TCP, but not yet sent."
1548 msgstr ""
1549 "La quantité de données mises en attente par TCP, mais pas encore envoyées."
1550
1551 #. type: TP
1552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1554 #, no-wrap
1555 msgid "B<SK_MEMINFO_OPTMEM>"
1556 msgstr "B<SK_MEMINFO_OPTMEM>"
1557
1558 #. type: Plain text
1559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1561 msgid ""
1562 "The amount of memory allocated for the socket's service needs (e.g., socket "
1563 "filter)."
1564 msgstr ""
1565 "La quantité de mémoire allouée pour les besoins du service du socket (par "
1566 "exemple, filtre du socket)."
1567
1568 #. type: TP
1569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1571 #, no-wrap
1572 msgid "B<SK_MEMINFO_BACKLOG>"
1573 msgstr "B<SK_MEMINFO_BACKLOG>"
1574
1575 #. type: Plain text
1576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1578 msgid "The amount of packets in the backlog (not yet processed)."
1579 msgstr "La quantité de paquets dans l’arriéré (pas encore traité)."
1580
1581 #. type: SH
1582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1584 #, no-wrap
1585 msgid "VERSIONS"
1586 msgstr "VERSIONS"
1587
1588 #. type: Plain text
1589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1591 msgid ""
1592 "B<NETLINK_INET_DIAG> was introduced in Linux 2.6.14 and supported B<AF_INET> "
1593 "and B<AF_INET6> sockets only. In Linux 3.3, it was renamed to "
1594 "B<NETLINK_SOCK_DIAG> and extended to support B<AF_UNIX> sockets."
1595 msgstr ""
1596 "B<NETLINK_INET_DIAG> a été introduit dans Linux 2.6.14 et ne gère que les "
1597 "sockets B<AF_INET> et B<AF_INET6>. Dans Linux 3.3, il a été renommé "
1598 "B<NETLINK_SOCK_DIAG> et étendu pour gérer les sockets B<AF_UNIX>."
1599
1600 #. type: Plain text
1601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1603 msgid ""
1604 "B<UNIX_DIAG_MEMINFO> and B<INET_DIAG_SKMEMINFO> were introduced in Linux 3.6."
1605 msgstr ""
1606 "B<UNIX_DIAG_MEMINFO> et B<INET_DIAG_SKMEMINFO> ont été introduits dans "
1607 "Linux 3.6."
1608
1609 #. type: SH
1610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1612 #, no-wrap
1613 msgid "STANDARDS"
1614 msgstr "NORMES"
1615
1616 #. type: Plain text
1617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1619 msgid "Linux."
1620 msgstr "Linux."
1621
1622 #. type: SH
1623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1625 #, no-wrap
1626 msgid "EXAMPLES"
1627 msgstr "EXEMPLES"
1628
1629 #. type: Plain text
1630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1632 msgid ""
1633 "The following example program prints inode number, peer's inode number, and "
1634 "name of all UNIX domain sockets in the current namespace."
1635 msgstr ""
1636 "L’exemple suivant affiche le numéro d’inœud, le numéro d’inœud du pair et le "
1637 "nom de tous les sockets de domaine UNIX dans l’espace de noms en cours."
1638
1639 #. type: Plain text
1640 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1641 #: opensuse-leap-16-1 opensuse-tumbleweed
1642 #, no-wrap
1643 msgid ""
1644 "#include E<lt>errno.hE<gt>\n"
1645 "#include E<lt>stdio.hE<gt>\n"
1646 "#include E<lt>string.hE<gt>\n"
1647 "#include E<lt>unistd.hE<gt>\n"
1648 "#include E<lt>sys/socket.hE<gt>\n"
1649 "#include E<lt>sys/un.hE<gt>\n"
1650 "#include E<lt>linux/netlink.hE<gt>\n"
1651 "#include E<lt>linux/rtnetlink.hE<gt>\n"
1652 "#include E<lt>linux/sock_diag.hE<gt>\n"
1653 "#include E<lt>linux/unix_diag.hE<gt>\n"
1654 "\\&\n"
1655 "static int\n"
1656 "send_query(int fd)\n"
1657 "{\n"
1658 " struct sockaddr_nl nladdr = {\n"
1659 " .nl_family = AF_NETLINK\n"
1660 " };\n"
1661 " struct\n"
1662 " {\n"
1663 " struct nlmsghdr nlh;\n"
1664 " struct unix_diag_req udr;\n"
1665 " } req = {\n"
1666 " .nlh = {\n"
1667 " .nlmsg_len = sizeof(req),\n"
1668 " .nlmsg_type = SOCK_DIAG_BY_FAMILY,\n"
1669 " .nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP\n"
1670 " },\n"
1671 " .udr = {\n"
1672 " .sdiag_family = AF_UNIX,\n"
1673 " .udiag_states = -1,\n"
1674 " .udiag_show = UDIAG_SHOW_NAME | UDIAG_SHOW_PEER\n"
1675 " }\n"
1676 " };\n"
1677 " struct iovec iov = {\n"
1678 " .iov_base = &req,\n"
1679 " .iov_len = sizeof(req)\n"
1680 " };\n"
1681 " struct msghdr msg = {\n"
1682 " .msg_name = &nladdr,\n"
1683 " .msg_namelen = sizeof(nladdr),\n"
1684 " .msg_iov = &iov,\n"
1685 " .msg_iovlen = 1\n"
1686 " };\n"
1687 "\\&\n"
1688 " for (;;) {\n"
1689 " if (sendmsg(fd, &msg, 0) E<lt> 0) {\n"
1690 " if (errno == EINTR)\n"
1691 " continue;\n"
1692 "\\&\n"
1693 " perror(\"sendmsg\");\n"
1694 " return -1;\n"
1695 " }\n"
1696 "\\&\n"
1697 " return 0;\n"
1698 " }\n"
1699 "}\n"
1700 "\\&\n"
1701 "static int\n"
1702 "print_diag(const struct unix_diag_msg *diag, unsigned int size)\n"
1703 "{\n"
1704 " if (size E<lt> NLMSG_LENGTH(sizeof(*diag))) {\n"
1705 " fputs(\"short response\\[rs]n\", stderr);\n"
1706 " return -1;\n"
1707 " }\n"
1708 " if (diag-E<gt>udiag_family != AF_UNIX) {\n"
1709 " fprintf(stderr, \"unexpected family %u\\[rs]n\", diag-E<gt>udiag_family);\n"
1710 " return -1;\n"
1711 " }\n"
1712 "\\&\n"
1713 " unsigned int rta_len = size - NLMSG_LENGTH(sizeof(*diag));\n"
1714 " unsigned int peer = 0;\n"
1715 " size_t path_len = 0;\n"
1716 " char path[sizeof(((struct sockaddr_un *) 0)-E<gt>sun_path) + 1];\n"
1717 "\\&\n"
1718 " for (struct rtattr *attr = (struct rtattr *) (diag + 1);\n"
1719 " RTA_OK(attr, rta_len); attr = RTA_NEXT(attr, rta_len)) {\n"
1720 " switch (attr-E<gt>rta_type) {\n"
1721 " case UNIX_DIAG_NAME:\n"
1722 " if (!path_len) {\n"
1723 " path_len = RTA_PAYLOAD(attr);\n"
1724 " if (path_len E<gt> sizeof(path) - 1)\n"
1725 " path_len = sizeof(path) - 1;\n"
1726 " memcpy(path, RTA_DATA(attr), path_len);\n"
1727 " path[path_len] = \\[aq]\\[rs]0\\[aq];\n"
1728 " }\n"
1729 " break;\n"
1730 "\\&\n"
1731 " case UNIX_DIAG_PEER:\n"
1732 " if (RTA_PAYLOAD(attr) E<gt>= sizeof(peer))\n"
1733 " peer = *(unsigned int *) RTA_DATA(attr);\n"
1734 " break;\n"
1735 " }\n"
1736 " }\n"
1737 "\\&\n"
1738 " printf(\"inode=%u\", diag-E<gt>udiag_ino);\n"
1739 "\\&\n"
1740 " if (peer)\n"
1741 " printf(\", peer=%u\", peer);\n"
1742 "\\&\n"
1743 " if (path_len)\n"
1744 " printf(\", name=%s%s\", *path ? \"\" : \"@\",\n"
1745 " *path ? path : path + 1);\n"
1746 "\\&\n"
1747 " putchar(\\[aq]\\[rs]n\\[aq]);\n"
1748 " return 0;\n"
1749 "}\n"
1750 "\\&\n"
1751 "static int\n"
1752 "receive_responses(int fd)\n"
1753 "{\n"
1754 " long buf[8192 / sizeof(long)];\n"
1755 " struct sockaddr_nl nladdr;\n"
1756 " struct iovec iov = {\n"
1757 " .iov_base = buf,\n"
1758 " .iov_len = sizeof(buf)\n"
1759 " };\n"
1760 " int flags = 0;\n"
1761 "\\&\n"
1762 " for (;;) {\n"
1763 " struct msghdr msg = {\n"
1764 " .msg_name = &nladdr,\n"
1765 " .msg_namelen = sizeof(nladdr),\n"
1766 " .msg_iov = &iov,\n"
1767 " .msg_iovlen = 1\n"
1768 " };\n"
1769 "\\&\n"
1770 " ssize_t ret = recvmsg(fd, &msg, flags);\n"
1771 "\\&\n"
1772 " if (ret E<lt> 0) {\n"
1773 " if (errno == EINTR)\n"
1774 " continue;\n"
1775 "\\&\n"
1776 " perror(\"recvmsg\");\n"
1777 " return -1;\n"
1778 " }\n"
1779 " if (ret == 0)\n"
1780 " return 0;\n"
1781 "\\&\n"
1782 " if (nladdr.nl_family != AF_NETLINK) {\n"
1783 " fputs(\"!AF_NETLINK\\[rs]n\", stderr);\n"
1784 " return -1;\n"
1785 " }\n"
1786 "\\&\n"
1787 " const struct nlmsghdr *h = (struct nlmsghdr *) buf;\n"
1788 "\\&\n"
1789 " if (!NLMSG_OK(h, ret)) {\n"
1790 " fputs(\"!NLMSG_OK\\[rs]n\", stderr);\n"
1791 " return -1;\n"
1792 " }\n"
1793 "\\&\n"
1794 " for (; NLMSG_OK(h, ret); h = NLMSG_NEXT(h, ret)) {\n"
1795 " if (h-E<gt>nlmsg_type == NLMSG_DONE)\n"
1796 " return 0;\n"
1797 "\\&\n"
1798 " if (h-E<gt>nlmsg_type == NLMSG_ERROR) {\n"
1799 " const struct nlmsgerr *err = NLMSG_DATA(h);\n"
1800 "\\&\n"
1801 " if (h-E<gt>nlmsg_len E<lt> NLMSG_LENGTH(sizeof(*err))) {\n"
1802 " fputs(\"NLMSG_ERROR\\[rs]n\", stderr);\n"
1803 " } else {\n"
1804 " errno = -err-E<gt>error;\n"
1805 " perror(\"NLMSG_ERROR\");\n"
1806 " }\n"
1807 "\\&\n"
1808 " return -1;\n"
1809 " }\n"
1810 "\\&\n"
1811 " if (h-E<gt>nlmsg_type != SOCK_DIAG_BY_FAMILY) {\n"
1812 " fprintf(stderr, \"unexpected nlmsg_type %u\\[rs]n\",\n"
1813 " (unsigned) h-E<gt>nlmsg_type);\n"
1814 " return -1;\n"
1815 " }\n"
1816 "\\&\n"
1817 " if (print_diag(NLMSG_DATA(h), h-E<gt>nlmsg_len))\n"
1818 " return -1;\n"
1819 " }\n"
1820 " }\n"
1821 "}\n"
1822 "\\&\n"
1823 "int\n"
1824 "main(void)\n"
1825 "{\n"
1826 " int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG);\n"
1827 "\\&\n"
1828 " if (fd E<lt> 0) {\n"
1829 " perror(\"socket\");\n"
1830 " return 1;\n"
1831 " }\n"
1832 "\\&\n"
1833 " int ret = send_query(fd) || receive_responses(fd);\n"
1834 "\\&\n"
1835 " close(fd);\n"
1836 " return ret;\n"
1837 "}\n"
1838 msgstr ""
1839 "#include E<lt>errno.hE<gt>\n"
1840 "#include E<lt>stdio.hE<gt>\n"
1841 "#include E<lt>string.hE<gt>\n"
1842 "#include E<lt>unistd.hE<gt>\n"
1843 "#include E<lt>sys/socket.hE<gt>\n"
1844 "#include E<lt>sys/un.hE<gt>\n"
1845 "#include E<lt>linux/netlink.hE<gt>\n"
1846 "#include E<lt>linux/rtnetlink.hE<gt>\n"
1847 "#include E<lt>linux/sock_diag.hE<gt>\n"
1848 "#include E<lt>linux/unix_diag.hE<gt>\n"
1849 "\\&\n"
1850 "static int\n"
1851 "send_query(int fd)\n"
1852 "{\n"
1853 " struct sockaddr_nl nladdr = {\n"
1854 " .nl_family = AF_NETLINK\n"
1855 " };\n"
1856 " struct\n"
1857 " {\n"
1858 " struct nlmsghdr nlh;\n"
1859 " struct unix_diag_req udr;\n"
1860 " } req = {\n"
1861 " .nlh = {\n"
1862 " .nlmsg_len = sizeof(req),\n"
1863 " .nlmsg_type = SOCK_DIAG_BY_FAMILY,\n"
1864 " .nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP\n"
1865 " },\n"
1866 " .udr = {\n"
1867 " .sdiag_family = AF_UNIX,\n"
1868 " .udiag_states = -1,\n"
1869 " .udiag_show = UDIAG_SHOW_NAME | UDIAG_SHOW_PEER\n"
1870 " }\n"
1871 " };\n"
1872 " struct iovec iov = {\n"
1873 " .iov_base = &req,\n"
1874 " .iov_len = sizeof(req)\n"
1875 " };\n"
1876 " struct msghdr msg = {\n"
1877 " .msg_name = &nladdr,\n"
1878 " .msg_namelen = sizeof(nladdr),\n"
1879 " .msg_iov = &iov,\n"
1880 " .msg_iovlen = 1\n"
1881 " };\n"
1882 "\\&\n"
1883 " for (;;) {\n"
1884 " if (sendmsg(fd, &msg, 0) E<lt> 0) {\n"
1885 " if (errno == EINTR)\n"
1886 " continue;\n"
1887 "\\&\n"
1888 " perror(\"sendmsg\");\n"
1889 " return -1;\n"
1890 " }\n"
1891 "\\&\n"
1892 " return 0;\n"
1893 " }\n"
1894 "}\n"
1895 "\\&\n"
1896 "static int\n"
1897 "print_diag(const struct unix_diag_msg *diag, unsigned int size)\n"
1898 "{\n"
1899 " if (size E<lt> NLMSG_LENGTH(sizeof(*diag))) {\n"
1900 " fputs(\"short response\\[rs]n\", stderr);\n"
1901 " return -1;\n"
1902 " }\n"
1903 " if (diag-E<gt>udiag_family != AF_UNIX) {\n"
1904 " fprintf(stderr, \"unexpected family %u\\[rs]n\", diag-E<gt>udiag_family);\n"
1905 " return -1;\n"
1906 " }\n"
1907 "\\&\n"
1908 " unsigned int rta_len = size - NLMSG_LENGTH(sizeof(*diag));\n"
1909 " unsigned int peer = 0;\n"
1910 " size_t path_len = 0;\n"
1911 " char path[sizeof(((struct sockaddr_un *) 0)-E<gt>sun_path) + 1];\n"
1912 "\\&\n"
1913 " for (struct rtattr *attr = (struct rtattr *) (diag + 1);\n"
1914 " RTA_OK(attr, rta_len); attr = RTA_NEXT(attr, rta_len)) {\n"
1915 " switch (attr-E<gt>rta_type) {\n"
1916 " case UNIX_DIAG_NAME:\n"
1917 " if (!path_len) {\n"
1918 " path_len = RTA_PAYLOAD(attr);\n"
1919 " if (path_len E<gt> sizeof(path) - 1)\n"
1920 " path_len = sizeof(path) - 1;\n"
1921 " memcpy(path, RTA_DATA(attr), path_len);\n"
1922 " path[path_len] = \\[aq]\\[rs]0\\[aq];\n"
1923 " }\n"
1924 " break;\n"
1925 "\\&\n"
1926 " case UNIX_DIAG_PEER:\n"
1927 " if (RTA_PAYLOAD(attr) E<gt>= sizeof(peer))\n"
1928 " peer = *(unsigned int *) RTA_DATA(attr);\n"
1929 " break;\n"
1930 " }\n"
1931 " }\n"
1932 "\\&\n"
1933 " printf(\"inode=%u\", diag-E<gt>udiag_ino);\n"
1934 "\\&\n"
1935 " if (peer)\n"
1936 " printf(\", peer=%u\", peer);\n"
1937 "\\&\n"
1938 " if (path_len)\n"
1939 " printf(\", name=%s%s\", *path ? \"\" : \"@\",\n"
1940 " *path ? path : path + 1);\n"
1941 "\\&\n"
1942 " putchar(\\[aq]\\[rs]n\\[aq]);\n"
1943 " return 0;\n"
1944 "}\n"
1945 "\\&\n"
1946 "static int\n"
1947 "receive_responses(int fd)\n"
1948 "{\n"
1949 " long buf[8192 / sizeof(long)];\n"
1950 " struct sockaddr_nl nladdr;\n"
1951 " struct iovec iov = {\n"
1952 " .iov_base = buf,\n"
1953 " .iov_len = sizeof(buf)\n"
1954 " };\n"
1955 " int flags = 0;\n"
1956 "\\&\n"
1957 " for (;;) {\n"
1958 " struct msghdr msg = {\n"
1959 " .msg_name = &nladdr,\n"
1960 " .msg_namelen = sizeof(nladdr),\n"
1961 " .msg_iov = &iov,\n"
1962 " .msg_iovlen = 1\n"
1963 " };\n"
1964 "\\&\n"
1965 " ssize_t ret = recvmsg(fd, &msg, flags);\n"
1966 "\\&\n"
1967 " if (ret E<lt> 0) {\n"
1968 " if (errno == EINTR)\n"
1969 " continue;\n"
1970 "\\&\n"
1971 " perror(\"recvmsg\");\n"
1972 " return -1;\n"
1973 " }\n"
1974 " if (ret == 0)\n"
1975 " return 0;\n"
1976 "\\&\n"
1977 " if (nladdr.nl_family != AF_NETLINK) {\n"
1978 " fputs(\"!AF_NETLINK\\[rs]n\", stderr);\n"
1979 " return -1;\n"
1980 " }\n"
1981 "\\&\n"
1982 " const struct nlmsghdr *h = (struct nlmsghdr *) buf;\n"
1983 "\\&\n"
1984 " if (!NLMSG_OK(h, ret)) {\n"
1985 " fputs(\"!NLMSG_OK\\[rs]n\", stderr);\n"
1986 " return -1;\n"
1987 " }\n"
1988 "\\&\n"
1989 " for (; NLMSG_OK(h, ret); h = NLMSG_NEXT(h, ret)) {\n"
1990 " if (h-E<gt>nlmsg_type == NLMSG_DONE)\n"
1991 " return 0;\n"
1992 "\\&\n"
1993 " if (h-E<gt>nlmsg_type == NLMSG_ERROR) {\n"
1994 " const struct nlmsgerr *err = NLMSG_DATA(h);\n"
1995 "\\&\n"
1996 " if (h-E<gt>nlmsg_len E<lt> NLMSG_LENGTH(sizeof(*err))) {\n"
1997 " fputs(\"NLMSG_ERROR\\[rs]n\", stderr);\n"
1998 " } else {\n"
1999 " errno = -err-E<gt>error;\n"
2000 " perror(\"NLMSG_ERROR\");\n"
2001 " }\n"
2002 "\\&\n"
2003 " return -1;\n"
2004 " }\n"
2005 "\\&\n"
2006 " if (h-E<gt>nlmsg_type != SOCK_DIAG_BY_FAMILY) {\n"
2007 " fprintf(stderr, \"unexpected nlmsg_type %u\\[rs]n\",\n"
2008 " (unsigned) h-E<gt>nlmsg_type);\n"
2009 " return -1;\n"
2010 " }\n"
2011 "\\&\n"
2012 " if (print_diag(NLMSG_DATA(h), h-E<gt>nlmsg_len))\n"
2013 " return -1;\n"
2014 " }\n"
2015 " }\n"
2016 "}\n"
2017 "\\&\n"
2018 "int\n"
2019 "main(void)\n"
2020 "{\n"
2021 " int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG);\n"
2022 "\\&\n"
2023 " if (fd E<lt> 0) {\n"
2024 " perror(\"socket\");\n"
2025 " return 1;\n"
2026 " }\n"
2027 "\\&\n"
2028 " int ret = send_query(fd) || receive_responses(fd);\n"
2029 "\\&\n"
2030 " close(fd);\n"
2031 " return ret;\n"
2032 "}\n"
2033
2034 #. type: SH
2035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2037 #, no-wrap
2038 msgid "SEE ALSO"
2039 msgstr "VOIR AUSSI"
2040
2041 #. type: Plain text
2042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2044 msgid "B<netlink>(3), B<rtnetlink>(3), B<netlink>(7), B<tcp>(7)"
2045 msgstr "B<netlink>(3), B<rtnetlink>(3), B<netlink>(7), B<tcp>(7)"
2046
2047 #. type: TH
2048 #: debian-trixie
2049 #, no-wrap
2050 msgid "2024-06-15"
2051 msgstr "15 juin 2024"
2052
2053 #. type: TH
2054 #: debian-trixie
2055 #, no-wrap
2056 msgid "Linux man-pages 6.9.1"
2057 msgstr "Pages du manuel de Linux 6.9.1"
2058
2059 #. type: Plain text
2060 #: debian-trixie
2061 msgid ""
2062 "The attribute reported in answer to this request is B<UNIX_DIAG_NAME>. The "
2063 "payload associated with this attribute is the pathname to which the socket "
2064 "was bound (a sequence of bytes up to B<UNIX_PATH_MAX> length)."
2065 msgstr ""
2066 "L’attribut rapporté dans la réponse à cette requête est B<UNIX_DIAG_NAME>. "
2067 "La charge utile associée à cet attribut est le nom de chemin auquel le "
2068 "socket a été lié (une séquence d’octets de taille maximale B<UNIX_PATH_MAX>)."
2069
2070 #. type: Plain text
2071 #: debian-trixie
2072 msgid ""
2073 "For listening sockets: the number of pending connections. The length of the "
2074 "array associated with the B<UNIX_DIAG_ICONS> response attribute is equal to "
2075 "this value."
2076 msgstr ""
2077 "Pour les sockets à l’écoute : le nombre de connexions en attente. La taille "
2078 "du tableau associé à l’attribut de la réponse B<UNIX_DIAG_ICONS> est égale à "
2079 "cette valeur."
2080
2081 #. type: Plain text
2082 #: debian-trixie
2083 msgid ""
2084 "For listening sockets: the backlog length which equals to the value passed "
2085 "as the second argument to B<listen>(2)."
2086 msgstr ""
2087 "Pour les sockets à l’écoute : la taille de l’arriéré qui est égale à la "
2088 "valeur passée comme second argument à B<listen>(2)."
2089
2090 #. type: Plain text
2091 #: debian-trixie
2092 msgid "For listening sockets: the backlog length."
2093 msgstr "Pour les sockets à l’écoute : la taille de l’arriéré."
2094
2095 #. type: Plain text
2096 #: debian-trixie
2097 #, no-wrap
2098 msgid ""
2099 "#include E<lt>errno.hE<gt>\n"
2100 "#include E<lt>stdio.hE<gt>\n"
2101 "#include E<lt>string.hE<gt>\n"
2102 "#include E<lt>unistd.hE<gt>\n"
2103 "#include E<lt>sys/socket.hE<gt>\n"
2104 "#include E<lt>sys/un.hE<gt>\n"
2105 "#include E<lt>linux/netlink.hE<gt>\n"
2106 "#include E<lt>linux/rtnetlink.hE<gt>\n"
2107 "#include E<lt>linux/sock_diag.hE<gt>\n"
2108 "#include E<lt>linux/unix_diag.hE<gt>\n"
2109 "\\&\n"
2110 "static int\n"
2111 "send_query(int fd)\n"
2112 "{\n"
2113 " struct sockaddr_nl nladdr = {\n"
2114 " .nl_family = AF_NETLINK\n"
2115 " };\n"
2116 " struct\n"
2117 " {\n"
2118 " struct nlmsghdr nlh;\n"
2119 " struct unix_diag_req udr;\n"
2120 " } req = {\n"
2121 " .nlh = {\n"
2122 " .nlmsg_len = sizeof(req),\n"
2123 " .nlmsg_type = SOCK_DIAG_BY_FAMILY,\n"
2124 " .nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP\n"
2125 " },\n"
2126 " .udr = {\n"
2127 " .sdiag_family = AF_UNIX,\n"
2128 " .udiag_states = -1,\n"
2129 " .udiag_show = UDIAG_SHOW_NAME | UDIAG_SHOW_PEER\n"
2130 " }\n"
2131 " };\n"
2132 " struct iovec iov = {\n"
2133 " .iov_base = &req,\n"
2134 " .iov_len = sizeof(req)\n"
2135 " };\n"
2136 " struct msghdr msg = {\n"
2137 " .msg_name = &nladdr,\n"
2138 " .msg_namelen = sizeof(nladdr),\n"
2139 " .msg_iov = &iov,\n"
2140 " .msg_iovlen = 1\n"
2141 " };\n"
2142 "\\&\n"
2143 " for (;;) {\n"
2144 " if (sendmsg(fd, &msg, 0) E<lt> 0) {\n"
2145 " if (errno == EINTR)\n"
2146 " continue;\n"
2147 "\\&\n"
2148 " perror(\"sendmsg\");\n"
2149 " return -1;\n"
2150 " }\n"
2151 "\\&\n"
2152 " return 0;\n"
2153 " }\n"
2154 "}\n"
2155 "\\&\n"
2156 "static int\n"
2157 "print_diag(const struct unix_diag_msg *diag, unsigned int len)\n"
2158 "{\n"
2159 " if (len E<lt> NLMSG_LENGTH(sizeof(*diag))) {\n"
2160 " fputs(\"short response\\[rs]n\", stderr);\n"
2161 " return -1;\n"
2162 " }\n"
2163 " if (diag-E<gt>udiag_family != AF_UNIX) {\n"
2164 " fprintf(stderr, \"unexpected family %u\\[rs]n\", diag-E<gt>udiag_family);\n"
2165 " return -1;\n"
2166 " }\n"
2167 "\\&\n"
2168 " unsigned int rta_len = len - NLMSG_LENGTH(sizeof(*diag));\n"
2169 " unsigned int peer = 0;\n"
2170 " size_t path_len = 0;\n"
2171 " char path[sizeof(((struct sockaddr_un *) 0)-E<gt>sun_path) + 1];\n"
2172 "\\&\n"
2173 " for (struct rtattr *attr = (struct rtattr *) (diag + 1);\n"
2174 " RTA_OK(attr, rta_len); attr = RTA_NEXT(attr, rta_len)) {\n"
2175 " switch (attr-E<gt>rta_type) {\n"
2176 " case UNIX_DIAG_NAME:\n"
2177 " if (!path_len) {\n"
2178 " path_len = RTA_PAYLOAD(attr);\n"
2179 " if (path_len E<gt> sizeof(path) - 1)\n"
2180 " path_len = sizeof(path) - 1;\n"
2181 " memcpy(path, RTA_DATA(attr), path_len);\n"
2182 " path[path_len] = \\[aq]\\[rs]0\\[aq];\n"
2183 " }\n"
2184 " break;\n"
2185 "\\&\n"
2186 " case UNIX_DIAG_PEER:\n"
2187 " if (RTA_PAYLOAD(attr) E<gt>= sizeof(peer))\n"
2188 " peer = *(unsigned int *) RTA_DATA(attr);\n"
2189 " break;\n"
2190 " }\n"
2191 " }\n"
2192 "\\&\n"
2193 " printf(\"inode=%u\", diag-E<gt>udiag_ino);\n"
2194 "\\&\n"
2195 " if (peer)\n"
2196 " printf(\", peer=%u\", peer);\n"
2197 "\\&\n"
2198 " if (path_len)\n"
2199 " printf(\", name=%s%s\", *path ? \"\" : \"@\",\n"
2200 " *path ? path : path + 1);\n"
2201 "\\&\n"
2202 " putchar(\\[aq]\\[rs]n\\[aq]);\n"
2203 " return 0;\n"
2204 "}\n"
2205 "\\&\n"
2206 "static int\n"
2207 "receive_responses(int fd)\n"
2208 "{\n"
2209 " long buf[8192 / sizeof(long)];\n"
2210 " struct sockaddr_nl nladdr;\n"
2211 " struct iovec iov = {\n"
2212 " .iov_base = buf,\n"
2213 " .iov_len = sizeof(buf)\n"
2214 " };\n"
2215 " int flags = 0;\n"
2216 "\\&\n"
2217 " for (;;) {\n"
2218 " struct msghdr msg = {\n"
2219 " .msg_name = &nladdr,\n"
2220 " .msg_namelen = sizeof(nladdr),\n"
2221 " .msg_iov = &iov,\n"
2222 " .msg_iovlen = 1\n"
2223 " };\n"
2224 "\\&\n"
2225 " ssize_t ret = recvmsg(fd, &msg, flags);\n"
2226 "\\&\n"
2227 " if (ret E<lt> 0) {\n"
2228 " if (errno == EINTR)\n"
2229 " continue;\n"
2230 "\\&\n"
2231 " perror(\"recvmsg\");\n"
2232 " return -1;\n"
2233 " }\n"
2234 " if (ret == 0)\n"
2235 " return 0;\n"
2236 "\\&\n"
2237 " if (nladdr.nl_family != AF_NETLINK) {\n"
2238 " fputs(\"!AF_NETLINK\\[rs]n\", stderr);\n"
2239 " return -1;\n"
2240 " }\n"
2241 "\\&\n"
2242 " const struct nlmsghdr *h = (struct nlmsghdr *) buf;\n"
2243 "\\&\n"
2244 " if (!NLMSG_OK(h, ret)) {\n"
2245 " fputs(\"!NLMSG_OK\\[rs]n\", stderr);\n"
2246 " return -1;\n"
2247 " }\n"
2248 "\\&\n"
2249 " for (; NLMSG_OK(h, ret); h = NLMSG_NEXT(h, ret)) {\n"
2250 " if (h-E<gt>nlmsg_type == NLMSG_DONE)\n"
2251 " return 0;\n"
2252 "\\&\n"
2253 " if (h-E<gt>nlmsg_type == NLMSG_ERROR) {\n"
2254 " const struct nlmsgerr *err = NLMSG_DATA(h);\n"
2255 "\\&\n"
2256 " if (h-E<gt>nlmsg_len E<lt> NLMSG_LENGTH(sizeof(*err))) {\n"
2257 " fputs(\"NLMSG_ERROR\\[rs]n\", stderr);\n"
2258 " } else {\n"
2259 " errno = -err-E<gt>error;\n"
2260 " perror(\"NLMSG_ERROR\");\n"
2261 " }\n"
2262 "\\&\n"
2263 " return -1;\n"
2264 " }\n"
2265 "\\&\n"
2266 " if (h-E<gt>nlmsg_type != SOCK_DIAG_BY_FAMILY) {\n"
2267 " fprintf(stderr, \"unexpected nlmsg_type %u\\[rs]n\",\n"
2268 " (unsigned) h-E<gt>nlmsg_type);\n"
2269 " return -1;\n"
2270 " }\n"
2271 "\\&\n"
2272 " if (print_diag(NLMSG_DATA(h), h-E<gt>nlmsg_len))\n"
2273 " return -1;\n"
2274 " }\n"
2275 " }\n"
2276 "}\n"
2277 "\\&\n"
2278 "int\n"
2279 "main(void)\n"
2280 "{\n"
2281 " int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG);\n"
2282 "\\&\n"
2283 " if (fd E<lt> 0) {\n"
2284 " perror(\"socket\");\n"
2285 " return 1;\n"
2286 " }\n"
2287 "\\&\n"
2288 " int ret = send_query(fd) || receive_responses(fd);\n"
2289 "\\&\n"
2290 " close(fd);\n"
2291 " return ret;\n"
2292 "}\n"
2293 msgstr ""
2294 "#include E<lt>errno.hE<gt>\n"
2295 "#include E<lt>stdio.hE<gt>\n"
2296 "#include E<lt>string.hE<gt>\n"
2297 "#include E<lt>unistd.hE<gt>\n"
2298 "#include E<lt>sys/socket.hE<gt>\n"
2299 "#include E<lt>sys/un.hE<gt>\n"
2300 "#include E<lt>linux/netlink.hE<gt>\n"
2301 "#include E<lt>linux/rtnetlink.hE<gt>\n"
2302 "#include E<lt>linux/sock_diag.hE<gt>\n"
2303 "#include E<lt>linux/unix_diag.hE<gt>\n"
2304 "\\&\n"
2305 "static int\n"
2306 "send_query(int fd)\n"
2307 "{\n"
2308 " struct sockaddr_nl nladdr = {\n"
2309 " .nl_family = AF_NETLINK\n"
2310 " };\n"
2311 " struct\n"
2312 " {\n"
2313 " struct nlmsghdr nlh;\n"
2314 " struct unix_diag_req udr;\n"
2315 " } req = {\n"
2316 " .nlh = {\n"
2317 " .nlmsg_len = sizeof(req),\n"
2318 " .nlmsg_type = SOCK_DIAG_BY_FAMILY,\n"
2319 " .nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP\n"
2320 " },\n"
2321 " .udr = {\n"
2322 " .sdiag_family = AF_UNIX,\n"
2323 " .udiag_states = -1,\n"
2324 " .udiag_show = UDIAG_SHOW_NAME | UDIAG_SHOW_PEER\n"
2325 " }\n"
2326 " };\n"
2327 " struct iovec iov = {\n"
2328 " .iov_base = &req,\n"
2329 " .iov_len = sizeof(req)\n"
2330 " };\n"
2331 " struct msghdr msg = {\n"
2332 " .msg_name = &nladdr,\n"
2333 " .msg_namelen = sizeof(nladdr),\n"
2334 " .msg_iov = &iov,\n"
2335 " .msg_iovlen = 1\n"
2336 " };\n"
2337 "\\&\n"
2338 " for (;;) {\n"
2339 " if (sendmsg(fd, &msg, 0) E<lt> 0) {\n"
2340 " if (errno == EINTR)\n"
2341 " continue;\n"
2342 "\\&\n"
2343 " perror(\"sendmsg\");\n"
2344 " return -1;\n"
2345 " }\n"
2346 "\\&\n"
2347 " return 0;\n"
2348 " }\n"
2349 "}\n"
2350 "\\&\n"
2351 "static int\n"
2352 "print_diag(const struct unix_diag_msg *diag, unsigned int len)\n"
2353 "{\n"
2354 " if (len E<lt> NLMSG_LENGTH(sizeof(*diag))) {\n"
2355 " fputs(\"short response\\[rs]n\", stderr);\n"
2356 " return -1;\n"
2357 " }\n"
2358 " if (diag-E<gt>udiag_family != AF_UNIX) {\n"
2359 " fprintf(stderr, \"unexpected family %u\\[rs]n\", diag-E<gt>udiag_family);\n"
2360 " return -1;\n"
2361 " }\n"
2362 "\\&\n"
2363 " unsigned int rta_len = len - NLMSG_LENGTH(sizeof(*diag));\n"
2364 " unsigned int peer = 0;\n"
2365 " size_t path_len = 0;\n"
2366 " char path[sizeof(((struct sockaddr_un *) 0)-E<gt>sun_path) + 1];\n"
2367 "\\&\n"
2368 " for (struct rtattr *attr = (struct rtattr *) (diag + 1);\n"
2369 " RTA_OK(attr, rta_len); attr = RTA_NEXT(attr, rta_len)) {\n"
2370 " switch (attr-E<gt>rta_type) {\n"
2371 " case UNIX_DIAG_NAME:\n"
2372 " if (!path_len) {\n"
2373 " path_len = RTA_PAYLOAD(attr);\n"
2374 " if (path_len E<gt> sizeof(path) - 1)\n"
2375 " path_len = sizeof(path) - 1;\n"
2376 " memcpy(path, RTA_DATA(attr), path_len);\n"
2377 " path[path_len] = \\[aq]\\[rs]0\\[aq];\n"
2378 " }\n"
2379 " break;\n"
2380 "\\&\n"
2381 " case UNIX_DIAG_PEER:\n"
2382 " if (RTA_PAYLOAD(attr) E<gt>= sizeof(peer))\n"
2383 " peer = *(unsigned int *) RTA_DATA(attr);\n"
2384 " break;\n"
2385 " }\n"
2386 " }\n"
2387 "\\&\n"
2388 " printf(\"inode=%u\", diag-E<gt>udiag_ino);\n"
2389 "\\&\n"
2390 " if (peer)\n"
2391 " printf(\", peer=%u\", peer);\n"
2392 "\\&\n"
2393 " if (path_len)\n"
2394 " printf(\", name=%s%s\", *path ? \"\" : \"@\",\n"
2395 " *path ? path : path + 1);\n"
2396 "\\&\n"
2397 " putchar(\\[aq]\\[rs]n\\[aq]);\n"
2398 " return 0;\n"
2399 "}\n"
2400 "\\&\n"
2401 "static int\n"
2402 "receive_responses(int fd)\n"
2403 "{\n"
2404 " long buf[8192 / sizeof(long)];\n"
2405 " struct sockaddr_nl nladdr;\n"
2406 " struct iovec iov = {\n"
2407 " .iov_base = buf,\n"
2408 " .iov_len = sizeof(buf)\n"
2409 " };\n"
2410 " int flags = 0;\n"
2411 "\\&\n"
2412 " for (;;) {\n"
2413 " struct msghdr msg = {\n"
2414 " .msg_name = &nladdr,\n"
2415 " .msg_namelen = sizeof(nladdr),\n"
2416 " .msg_iov = &iov,\n"
2417 " .msg_iovlen = 1\n"
2418 " };\n"
2419 "\\&\n"
2420 " ssize_t ret = recvmsg(fd, &msg, flags);\n"
2421 "\\&\n"
2422 " if (ret E<lt> 0) {\n"
2423 " if (errno == EINTR)\n"
2424 " continue;\n"
2425 "\\&\n"
2426 " perror(\"recvmsg\");\n"
2427 " return -1;\n"
2428 " }\n"
2429 " if (ret == 0)\n"
2430 " return 0;\n"
2431 "\\&\n"
2432 " if (nladdr.nl_family != AF_NETLINK) {\n"
2433 " fputs(\"!AF_NETLINK\\[rs]n\", stderr);\n"
2434 " return -1;\n"
2435 " }\n"
2436 "\\&\n"
2437 " const struct nlmsghdr *h = (struct nlmsghdr *) buf;\n"
2438 "\\&\n"
2439 " if (!NLMSG_OK(h, ret)) {\n"
2440 " fputs(\"!NLMSG_OK\\[rs]n\", stderr);\n"
2441 " return -1;\n"
2442 " }\n"
2443 "\\&\n"
2444 " for (; NLMSG_OK(h, ret); h = NLMSG_NEXT(h, ret)) {\n"
2445 " if (h-E<gt>nlmsg_type == NLMSG_DONE)\n"
2446 " return 0;\n"
2447 "\\&\n"
2448 " if (h-E<gt>nlmsg_type == NLMSG_ERROR) {\n"
2449 " const struct nlmsgerr *err = NLMSG_DATA(h);\n"
2450 "\\&\n"
2451 " if (h-E<gt>nlmsg_len E<lt> NLMSG_LENGTH(sizeof(*err))) {\n"
2452 " fputs(\"NLMSG_ERROR\\[rs]n\", stderr);\n"
2453 " } else {\n"
2454 " errno = -err-E<gt>error;\n"
2455 " perror(\"NLMSG_ERROR\");\n"
2456 " }\n"
2457 "\\&\n"
2458 " return -1;\n"
2459 " }\n"
2460 "\\&\n"
2461 " if (h-E<gt>nlmsg_type != SOCK_DIAG_BY_FAMILY) {\n"
2462 " fprintf(stderr, \"unexpected nlmsg_type %u\\[rs]n\",\n"
2463 " (unsigned) h-E<gt>nlmsg_type);\n"
2464 " return -1;\n"
2465 " }\n"
2466 "\\&\n"
2467 " if (print_diag(NLMSG_DATA(h), h-E<gt>nlmsg_len))\n"
2468 " return -1;\n"
2469 " }\n"
2470 " }\n"
2471 "}\n"
2472 "\\&\n"
2473 "int\n"
2474 "main(void)\n"
2475 "{\n"
2476 " int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG);\n"
2477 "\\&\n"
2478 " if (fd E<lt> 0) {\n"
2479 " perror(\"socket\");\n"
2480 " return 1;\n"
2481 " }\n"
2482 "\\&\n"
2483 " int ret = send_query(fd) || receive_responses(fd);\n"
2484 "\\&\n"
2485 " close(fd);\n"
2486 " return ret;\n"
2487 "}\n"
2488
2489 #. type: TH
2490 #: fedora-44 fedora-rawhide
2491 #, no-wrap
2492 msgid "2024-11-17"
2493 msgstr "17 novembre 2024"
2494
2495 #. type: TH
2496 #: fedora-44 fedora-rawhide
2497 #, no-wrap
2498 msgid "Linux man-pages 6.13"
2499 msgstr "Pages du manuel de Linux 6.13"
2500
2501 #. type: TH
2502 #: mageia-cauldron
2503 #, no-wrap
2504 msgid "Linux man-pages 6.17"
2505 msgstr "Pages du manuel de Linux 6.17"
2506
2507 #. type: TH
2508 #: opensuse-leap-16-1 opensuse-tumbleweed
2509 #, no-wrap
2510 msgid "Linux man-pages (unreleased)"
2511 msgstr "Pages du manuel de Linux (non publiées)"