Debian Codegraph @

po/ar/man7/sock_diag.7.po

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