Debian Codegraph @

po/ar/man7/netlink.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:32+0200\n"
9 "PO-Revision-Date: 2026-05-12 18:26+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 "netlink"
25 msgstr "netlink"
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 "netlink - communication between kernel and user space (AF_NETLINK)"
51 msgstr "نتلينك - اتصال بين النواة وفضاء المستخدم (AF_NETLINK)"
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>asm/types.hE<gt>>\n"
66 "B<#include E<lt>sys/socket.hE<gt>>\n"
67 "B<#include E<lt>linux/netlink.hE<gt>>\n"
68 msgstr ""
69 "B<#include E<lt>asm/types.hE<gt>>\n"
70 "B<#include E<lt>sys/socket.hE<gt>>\n"
71 "B<#include E<lt>linux/netlink.hE<gt>>\n"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<netlink_socket = socket(AF_NETLINK, >I<socket_type>B<, >I<netlink_family>B<);>\n"
78 msgstr "B<netlink_socket = socket(AF_NETLINK, >I<socket_type>B<, >I<netlink_family>B<);>\n"
79
80 #. type: SH
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "DESCRIPTION"
85 msgstr "الوصف"
86
87 #. type: Plain text
88 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
89 #: opensuse-tumbleweed
90 msgid ""
91 "Netlink is used to transfer information between the kernel and user-space "
92 "processes. It consists of a standard sockets-based interface for user space "
93 "processes and an internal kernel API for kernel modules. The internal "
94 "kernel interface is not documented in this manual page. There is also an "
95 "obsolete netlink interface via netlink character devices; this interface is "
96 "not documented here, and is provided only for backward compatibility."
97 msgstr ""
98 "يُستخدم نتلينك لنقل المعلومات بين النواة وعمليات فضاء المستخدم. يتكون من "
99 "واجهة قياسية مبنية على المقابس لعمليات فضاء المستخدم وواجهة برمجة تطبيقات "
100 "داخلية للنواة لوحدات النواة. واجهة النواة الداخلية غير موثقة في صفحة الدليل "
101 "هذه. توجد أيضًا واجهة نتلينك قديمة عبر أجهزة حرف نتلينك؛ هذه الواجهة غير "
102 "موثقة هنا، وهي متاحة فقط للتوافق مع الإصدارات السابقة."
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "Netlink is a datagram-oriented service. Both B<SOCK_RAW> and B<SOCK_DGRAM> "
109 "are valid values for I<socket_type>. However, the netlink protocol does not "
110 "distinguish between datagram and raw sockets."
111 msgstr ""
112 "نتلينك هي خدمة موجهة للبيانات. كلا من B<SOCK_RAW> و B<SOCK_DGRAM> قيمتان "
113 "صالحتان لـ I<socket_type>. ومع ذلك، لا يميز بروتوكول نتلينك بين مقابس "
114 "البيانات والمقابس الخام."
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 "I<netlink_family> selects the kernel module or netlink group to communicate "
121 "with. The currently assigned netlink families are:"
122 msgstr ""
123 "يختار I<netlink_family> وحدة النواة أو مجموعة نتلينك للتواصل معها. عائلات "
124 "نتلينك المعينة حاليًا هي:"
125
126 #. type: TP
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 #, no-wrap
130 msgid "B<NETLINK_ROUTE>"
131 msgstr "B<NETLINK_ROUTE>"
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "Receives routing and link updates and may be used to modify the routing "
138 "tables (both IPv4 and IPv6), IP addresses, link parameters, neighbor setups, "
139 "queueing disciplines, traffic classes, and packet classifiers (see "
140 "B<rtnetlink>(7))."
141 msgstr ""
142 "تستقبل تحديثات التوجيه والارتباط ويمكن استخدامها لتعديل جداول التوجيه (IPv4 "
143 "و IPv6)، وعناوين IP، ومعلمات الارتباط، وإعدادات الجيران، وتخصصات الطابور، "
144 "وفئات المرور، ومصنفات الحزم (انظر B<rtnetlink>(7))."
145
146 #. type: TP
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 #, no-wrap
150 msgid "B<NETLINK_W1> (Linux 2.6.13 to Linux 2.16.17)"
151 msgstr "B<NETLINK_W1> (لينكس 2.6.13 إلى لينكس 2.16.17)"
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid "Messages from 1-wire subsystem."
157 msgstr "رسائل من النظام الفرعي للسلك الواحد."
158
159 #. type: TP
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "B<NETLINK_USERSOCK>"
164 msgstr "B<NETLINK_USERSOCK>"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid "Reserved for user-mode socket protocols."
170 msgstr "محجوزة لبروتوكولات مقابس وضع المستخدم."
171
172 #. type: TP
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "B<NETLINK_FIREWALL> (up to and including Linux 3.4)"
177 msgstr "B<NETLINK_FIREWALL> (حتى لينكس 3.4 شاملاً)"
178
179 #. removed by commit d16cf20e2f2f13411eece7f7fb72c17d141c4a84
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "Transport IPv4 packets from netfilter to user space. Used by I<ip_queue> "
185 "kernel module. After a long period of being declared obsolete (in favor of "
186 "the more advanced I<nfnetlink_queue> feature), B<NETLINK_FIREWALL> was "
187 "removed in Linux 3.5."
188 msgstr ""
189 "تنقل حزم IPv4 من netfilter إلى فضاء المستخدم. تُستخدم بواسطة وحدة النواة "
190 "I<ip_queue>. بعد فترة طويلة من الإعلان عن تقادمها (لصالح الميزة الأكثر تقدمًا "
191 "I<nfnetlink_queue>)، أُزيلت B<NETLINK_FIREWALL> في لينكس 3.5."
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<NETLINK_SOCK_DIAG> (since Linux 3.3)"
198 msgstr "B<NETLINK_SOCK_DIAG> (منذ لينكس 3.3)"
199
200 #. commit 7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "Query information about sockets of various protocol families from the kernel "
206 "(see B<sock_diag>(7))."
207 msgstr ""
208 "استعلام عن معلومات حول مقابس عائلات بروتوكولات مختلفة من النواة (انظر "
209 "B<sock_diag>(7))."
210
211 #. type: TP
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "B<NETLINK_INET_DIAG> (since Linux 2.6.14)"
216 msgstr "B<NETLINK_INET_DIAG> (منذ لينكس 2.6.14)"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid "An obsolete synonym for B<NETLINK_SOCK_DIAG>."
222 msgstr "مرادف قديم لـ B<NETLINK_SOCK_DIAG>."
223
224 #. type: TP
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "B<NETLINK_NFLOG> (up to and including Linux 3.16)"
229 msgstr "B<NETLINK_NFLOG> (حتى لينكس 3.16 شاملاً)"
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid "Netfilter/iptables ULOG."
235 msgstr "ULOG لـ Netfilter/iptables."
236
237 #. type: TP
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "B<NETLINK_XFRM>"
242 msgstr "B<NETLINK_XFRM>"
243
244 #. FIXME More details on NETLINK_XFRM needed.
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid "IPsec."
249 msgstr "IPsec."
250
251 #. type: TP
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "B<NETLINK_SELINUX> (since Linux 2.6.4)"
256 msgstr "B<NETLINK_SELINUX> (منذ لينكس 2.6.4)"
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid "SELinux event notifications."
262 msgstr "إشعارات أحداث SELinux."
263
264 #. type: TP
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 #, no-wrap
268 msgid "B<NETLINK_ISCSI> (since Linux 2.6.15)"
269 msgstr "B<NETLINK_ISCSI> (منذ لينكس 2.6.15)"
270
271 #. FIXME More details on NETLINK_ISCSI needed.
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid "Open-iSCSI."
276 msgstr "Open-iSCSI."
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "B<NETLINK_AUDIT> (since Linux 2.6.6)"
283 msgstr "B<NETLINK_AUDIT> (منذ لينكس 2.6.6)"
284
285 #. FIXME More details on NETLINK_AUDIT needed.
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid "Auditing."
290 msgstr "التدقيق."
291
292 #. type: TP
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "B<NETLINK_FIB_LOOKUP> (since Linux 2.6.13)"
297 msgstr "B<NETLINK_FIB_LOOKUP> (منذ لينكس 2.6.13)"
298
299 #. FIXME More details on NETLINK_FIB_LOOKUP needed.
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "Access to FIB lookup from user space."
304 msgstr "الوصول إلى بحث FIB من مساحة المستخدم."
305
306 #. type: TP
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "B<NETLINK_CONNECTOR> (since Linux 2.6.14)"
311 msgstr "B<NETLINK_CONNECTOR> (منذ لينكس 2.6.14)"
312
313 #. commit baa293e9544bea71361950d071579f0e4d5713ed
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid ""
318 "Kernel connector. See I<Documentation/driver-api/connector.rst> (or I</"
319 "Documentation/connector/connector.*> in Linux 5.2 and earlier) in the Linux "
320 "kernel source tree for further information."
321 msgstr ""
322 "موصل النواة. انظر I<Documentation/driver-api/connector.rst> (أو I</"
323 "Documentation/connector/connector.*> في لينكس 5.2 والإصدارات الأقدم) في شجرة "
324 "مصدر نواة لينكس لمزيد من المعلومات."
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "B<NETLINK_NETFILTER> (since Linux 2.6.14)"
331 msgstr "B<NETLINK_NETFILTER> (منذ لينكس 2.6.14)"
332
333 #. FIXME More details on NETLINK_NETFILTER needed.
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid "Netfilter subsystem."
338 msgstr "النظام الفرعي Netfilter."
339
340 #. type: TP
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "B<NETLINK_SCSITRANSPORT> (since Linux 2.6.19)"
345 msgstr "B<NETLINK_SCSITRANSPORT> (منذ لينكس 2.6.19)"
346
347 #. commit 84314fd4740ad73550c76dee4a9578979d84af48
348 #. FIXME More details on NETLINK_SCSITRANSPORT needed.
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid "SCSI Transports."
353 msgstr "نقلات SCSI."
354
355 #. type: TP
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "B<NETLINK_RDMA> (since Linux 3.0)"
360 msgstr "B<NETLINK_RDMA> (منذ لينكس 3.0)"
361
362 #. commit b2cbae2c248776d81cc265ff7d48405b6a4cc463
363 #. FIXME More details on NETLINK_RDMA needed.
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid "Infiniband RDMA."
368 msgstr "RDMA إنفينيباند."
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<NETLINK_IP6_FW> (up to and including Linux 3.4)"
375 msgstr "B<NETLINK_IP6_FW> (حتى لينكس 3.4 وما يشمل)"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "Transport IPv6 packets from netfilter to user space. Used by I<ip6_queue> "
382 "kernel module."
383 msgstr ""
384 "نقل حزم IPv6 من netfilter إلى مساحة المستخدم. يُستخدم بواسطة وحدة النواة "
385 "I<ip6_queue>."
386
387 #. type: TP
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "B<NETLINK_DNRTMSG>"
392 msgstr "B<NETLINK_DNRTMSG>"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid "DECnet routing messages."
398 msgstr "رسائل توجيه DECnet."
399
400 #. type: TP
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "B<NETLINK_KOBJECT_UEVENT> (since Linux 2.6.10)"
405 msgstr "B<NETLINK_KOBJECT_UEVENT> (منذ لينكس 2.6.10)"
406
407 #. FIXME More details on NETLINK_KOBJECT_UEVENT needed.
408 #. type: Plain text
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 msgid "Kernel messages to user space."
412 msgstr "رسائل النواة إلى مساحة المستخدم."
413
414 #. type: TP
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "B<NETLINK_GENERIC> (since Linux 2.6.15)"
419 msgstr "B<NETLINK_GENERIC> (منذ لينكس 2.6.15)"
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid "Generic netlink family for simplified netlink usage."
425 msgstr "عائلة netlink عامة لاستخدام netlink مبسط."
426
427 #. type: TP
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "B<NETLINK_CRYPTO> (since Linux 3.2)"
432 msgstr "B<NETLINK_CRYPTO> (منذ لينكس 3.2)"
433
434 #. commit a38f7907b926e4c6c7d389ad96cc38cec2e5a9e9
435 #. Author: Steffen Klassert <[email protected]>
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 msgid ""
440 "Netlink interface to request information about ciphers registered with the "
441 "kernel crypto API as well as allow configuration of the kernel crypto API."
442 msgstr ""
443 "واجهة netlink لطلب معلومات حول الشفرات المسجلة مع واجهة برمجة تطبيقات "
444 "التشفير للنواة وكذلك السماح بتكوين واجهة برمجة تطبيقات التشفير للنواة."
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid ""
450 "Netlink messages consist of a byte stream with one or multiple I<nlmsghdr> "
451 "headers and associated payload. The byte stream should be accessed only "
452 "with the standard B<NLMSG_*> macros. See B<netlink>(3) for further "
453 "information."
454 msgstr ""
455 "تتكون رسائل Netlink من تيار بايت مع رأس واحد أو متعدد I<nlmsghdr> وحمولة "
456 "مرتبطة. يجب الوصول إلى تيار البايت فقط باستخدام وحدات الماكرو القياسية "
457 "B<NLMSG_*>. انظر B<netlink>(3) لمزيد من المعلومات."
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "In multipart messages (multiple I<nlmsghdr> headers with associated payload "
464 "in one byte stream) the first and all following headers have the "
465 "B<NLM_F_MULTI> flag set, except for the last header which has the type "
466 "B<NLMSG_DONE>."
467 msgstr ""
468 "في الرسائل متعددة الأجزاء (رؤوس I<nlmsghdr> متعددة مع حمولة مرتبطة في تيار "
469 "بايت واحد) يتم تعيين علامة B<NLM_F_MULTI> للرأس الأول وجميع الرؤوس التالية، "
470 "باستثناء الرأس الأخير الذي له النوع B<NLMSG_DONE>."
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid "After each I<nlmsghdr> the payload follows."
476 msgstr "بعد كل I<nlmsghdr> تتبع الحمولة."
477
478 #. type: Plain text
479 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
480 #: opensuse-leap-16-1 opensuse-tumbleweed
481 #, no-wrap
482 msgid ""
483 "struct nlmsghdr {\n"
484 " __u32 nlmsg_len; /* Size of message including header */\n"
485 " __u16 nlmsg_type; /* Type of message content */\n"
486 " __u16 nlmsg_flags; /* Additional flags */\n"
487 " __u32 nlmsg_seq; /* Sequence number */\n"
488 " __u32 nlmsg_pid; /* Sender port ID */\n"
489 "};\n"
490 msgstr ""
491 "struct nlmsghdr {\n"
492 " __u32 nlmsg_len; /* Size of message including header */\n"
493 " __u16 nlmsg_type; /* Type of message content */\n"
494 " __u16 nlmsg_flags; /* Additional flags */\n"
495 " __u32 nlmsg_seq; /* Sequence number */\n"
496 " __u32 nlmsg_pid; /* Sender port ID */\n"
497 "};\n"
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "I<nlmsg_type> can be one of the standard message types: B<NLMSG_NOOP> "
504 "message is to be ignored, B<NLMSG_ERROR> message signals an error and the "
505 "payload contains an I<nlmsgerr> structure, B<NLMSG_DONE> message terminates "
506 "a multipart message. Error messages get the original request appended, "
507 "unless the user requests to cap the error message, and get extra error data "
508 "if requested."
509 msgstr ""
510 "يمكن أن يكون I<nlmsg_type> أحد أنواع الرسائل القياسية: رسالة B<NLMSG_NOOP> "
511 "يجب تجاهلها، رسالة B<NLMSG_ERROR> تشير إلى خطأ وتحتوي الحمولة على بنية "
512 "I<nlmsgerr>، رسالة B<NLMSG_DONE> تنهي رسالة متعددة الأجزاء. تُلحق رسائل الخطأ "
513 "بالطلب الأصلي، ما لم يطلب المستخدم تقييد رسالة الخطأ، وتُحصل على بيانات خطأ "
514 "إضافية إذا طُلب ذلك."
515
516 #. type: Plain text
517 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
518 #: opensuse-leap-16-1 opensuse-tumbleweed
519 #, no-wrap
520 msgid ""
521 "struct nlmsgerr {\n"
522 " int error; /* Negative errno or 0 for acknowledgements */\n"
523 " struct nlmsghdr msg; /* Message header that caused the error */\n"
524 " /*\n"
525 " * followed by the message contents\n"
526 " * unless NETLINK_CAP_ACK was set\n"
527 " * or the ACK indicates success (error == 0).\n"
528 " * For example Generic Netlink message with attributes.\n"
529 " * message size is aligned with NLMSG_ALIGN()\n"
530 " */\n"
531 " /*\n"
532 " * followed by TLVs defined in enum nlmsgerr_attrs\n"
533 " * if NETLINK_EXT_ACK was set\n"
534 " */\n"
535 "};\n"
536 msgstr ""
537 "struct nlmsgerr {\n"
538 " int error; /* Negative errno or 0 for acknowledgements */\n"
539 " struct nlmsghdr msg; /* Message header that caused the error */\n"
540 " /*\n"
541 " * followed by the message contents\n"
542 " * unless NETLINK_CAP_ACK was set\n"
543 " * or the ACK indicates success (error == 0).\n"
544 " * For example Generic Netlink message with attributes.\n"
545 " * message size is aligned with NLMSG_ALIGN()\n"
546 " */\n"
547 " /*\n"
548 " * followed by TLVs defined in enum nlmsgerr_attrs\n"
549 " * if NETLINK_EXT_ACK was set\n"
550 " */\n"
551 "};\n"
552
553 #. type: Plain text
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 msgid ""
557 "A netlink family usually specifies more message types, see the appropriate "
558 "manual pages for that, for example, B<rtnetlink>(7) for B<NETLINK_ROUTE>."
559 msgstr ""
560 "عادةً ما تحدد عائلة netlink أنواع رسائل إضافية، راجع صفحات الدليل المناسبة "
561 "لذلك، على سبيل المثال، B<rtnetlink>(7) لـ B<NETLINK_ROUTE>."
562
563 #. type: tbl table
564 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
565 #: opensuse-tumbleweed
566 #, no-wrap
567 msgid "Standard flag bits in \\f[I]nlmsg_flags\\fR"
568 msgstr "بتات الأعلام القياسية في \\f[I]nlmsg_flags\\fR"
569
570 #. type: tbl table
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 #, no-wrap
574 msgid "_"
575 msgstr "_"
576
577 #. type: tbl table
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 #, no-wrap
581 msgid "NLM_F_REQUEST"
582 msgstr "NLM_F_REQUEST"
583
584 #. type: tbl table
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 #, no-wrap
588 msgid "Must be set on all request messages."
589 msgstr "يجب تعيينه على جميع رسائل الطلب."
590
591 #. type: tbl table
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 #, no-wrap
595 msgid "NLM_F_MULTI"
596 msgstr "NLM_F_MULTI"
597
598 #. type: tbl table
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 #, no-wrap
602 msgid ""
603 "The message is part of a multipart message terminated by\n"
604 "B<NLMSG_DONE>."
605 msgstr ""
606 "هذه الرسالة جزء من رسالة متعددة الأجزاء تنتهي بـ\n"
607 "B<NLMSG_DONE>."
608
609 #. type: tbl table
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 #, no-wrap
613 msgid "NLM_F_ACK"
614 msgstr "NLM_F_ACK"
615
616 #. type: tbl table
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 #, no-wrap
620 msgid "Request for an acknowledgement on success."
621 msgstr "طلب إقرار عند النجاح."
622
623 #. type: tbl table
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, no-wrap
627 msgid "NLM_F_ECHO"
628 msgstr "NLM_F_ECHO"
629
630 #. type: tbl table
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "Echo this request."
635 msgstr "صدى هذا الطلب."
636
637 #. type: tbl table
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 #, no-wrap
641 msgid "Additional flag bits for GET requests"
642 msgstr "بتات أعلام إضافية لطلبات GET"
643
644 #. type: tbl table
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid "NLM_F_ROOT"
649 msgstr "NLM_F_ROOT"
650
651 #. type: tbl table
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 #, no-wrap
655 msgid "Return the complete table instead of a single entry."
656 msgstr "إرجاع الجدول الكامل بدلاً من إدخال واحد."
657
658 #. type: tbl table
659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
661 #, no-wrap
662 msgid "NLM_F_MATCH"
663 msgstr "NLM_F_MATCH"
664
665 #. type: tbl table
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid ""
670 "Return all entries matching criteria passed in message content.\n"
671 "Not implemented yet."
672 msgstr ""
673 "يُرجع جميع الإدخالات التي تتطابق مع المعايير المُرسلة في محتوى الرسالة.\n"
674 "لم تنفذ بعد."
675
676 #. type: tbl table
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 #, no-wrap
680 msgid "NLM_F_ATOMIC"
681 msgstr "NLM_F_ATOMIC"
682
683 #. type: tbl table
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "Return an atomic snapshot of the table."
688 msgstr "إرجاع لقطة ذرية للجدول."
689
690 #. type: tbl table
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 #, no-wrap
694 msgid "NLM_F_DUMP"
695 msgstr "NLM_F_DUMP"
696
697 #. type: tbl table
698 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
699 #: opensuse-tumbleweed
700 #, no-wrap
701 msgid ""
702 "Convenience macro;\n"
703 "equivalent to\n"
704 "(NLM_F_ROOT|NLM_F_MATCH)."
705 msgstr ""
706 "ماكرو اختصار؛\n"
707 " يعادل\n"
708 "(NLM_F_ROOT|NLM_F_MATCH)."
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 ""
714 "Note that B<NLM_F_ATOMIC> requires the B<CAP_NET_ADMIN> capability or an "
715 "effective UID of 0."
716 msgstr ""
717 "لاحظ أن B<NLM_F_ATOMIC> يتطلب صلاحية B<CAP_NET_ADMIN> أو UID فعال بقيمة 0."
718
719 #. type: tbl table
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 #, no-wrap
723 msgid "Additional flag bits for NEW requests"
724 msgstr "بتات أعلام إضافية لطلبات NEW"
725
726 #. type: tbl table
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 #, no-wrap
730 msgid "NLM_F_REPLACE"
731 msgstr "NLM_F_REPLACE"
732
733 #. type: tbl table
734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
736 #, no-wrap
737 msgid "Replace existing matching object."
738 msgstr "استبدال الكائن المطابق الموجود."
739
740 #. type: tbl table
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "NLM_F_EXCL"
745 msgstr "NLM_F_EXCL"
746
747 #. type: tbl table
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 #, no-wrap
751 msgid "Don't replace if the object already exists."
752 msgstr "لا تستبدل إذا كان الكائن موجودًا مسبقًا."
753
754 #. type: tbl table
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, no-wrap
758 msgid "NLM_F_CREATE"
759 msgstr "NLM_F_CREATE"
760
761 #. type: tbl table
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, no-wrap
765 msgid "Create object if it doesn't already exist."
766 msgstr "إنشاء الكائن إذا لم يكن موجودًا مسبقًا."
767
768 #. type: tbl table
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 #, no-wrap
772 msgid "NLM_F_APPEND"
773 msgstr "NLM_F_APPEND"
774
775 #. type: tbl table
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 #, no-wrap
779 msgid "Add to the end of the object list."
780 msgstr "إضافة إلى نهاية قائمة الكائنات."
781
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 msgid ""
786 "I<nlmsg_seq> and I<nlmsg_pid> are used to track messages. I<nlmsg_pid> "
787 "shows the origin of the message. Note that there isn't a 1:1 relationship "
788 "between I<nlmsg_pid> and the PID of the process if the message originated "
789 "from a netlink socket. See the B<ADDRESS FORMATS> section for further "
790 "information."
791 msgstr ""
792 "يُستخدم I<nlmsg_seq> وI<nlmsg_pid> لتتبع الرسائل. يُظهر I<nlmsg_pid> أصل "
793 "الرسالة. لاحظ عدم وجود علاقة 1:1 بين I<nlmsg_pid> ومعرف العملية (PID) إذا "
794 "نشأت الرسالة من مقبس netlink. راجع قسم B<ADDRESS FORMATS> لمزيد من المعلومات."
795
796 #. FIXME Explain more about nlmsg_seq and nlmsg_pid.
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 msgid "Both I<nlmsg_seq> and I<nlmsg_pid> are opaque to netlink core."
801 msgstr "كلا I<nlmsg_seq> وI<nlmsg_pid> غير شفافين لنواة netlink."
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 ""
807 "Netlink is not a reliable protocol. It tries its best to deliver a message "
808 "to its destination(s), but may drop messages when an out-of-memory condition "
809 "or other error occurs. For reliable transfer the sender can request an "
810 "acknowledgement from the receiver by setting the B<NLM_F_ACK> flag. An "
811 "acknowledgement is an B<NLMSG_ERROR> packet with the error field set to 0. "
812 "The application must generate acknowledgements for received messages "
813 "itself. The kernel tries to send an B<NLMSG_ERROR> message for every failed "
814 "packet. A user process should follow this convention too."
815 msgstr ""
816 "Netlink ليس بروتوكولًا موثوقًا. يبذل قصارى جهده لتوصيل رسالة إلى وجهتها "
817 "(وجهاتها)، لكنه قد يُسقط الرسائل عند حدوث حالة نفاد الذاكرة أو خطأ آخر. للنقل "
818 "الموثوق، يمكن للمُرسِل طلب إقرار من المُستقبِل بتعيين العلم B<NLM_F_ACK>. "
819 "الإقرار هو حزمة B<NLMSG_ERROR> مع تعيين حقل الخطأ إلى 0. يجب على التطبيق "
820 "توليد إقرارات للرسائل المستلمة بنفسه. تحاول النواة إرسال رسالة "
821 "B<NLMSG_ERROR> لكل حزمة فاشلة. يجب على عملية المستخدم اتباع هذا الاصطلاح "
822 "أيضًا."
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid ""
828 "However, reliable transmissions from kernel to user are impossible in any "
829 "case. The kernel can't send a netlink message if the socket buffer is full: "
830 "the message will be dropped and the kernel and the user-space process will "
831 "no longer have the same view of kernel state. It is up to the application "
832 "to detect when this happens (via the B<ENOBUFS> error returned by "
833 "B<recvmsg>(2)) and resynchronize."
834 msgstr ""
835 "ومع ذلك، فإن الإرسالات الموثوقة من النواة إلى المستخدم مستحيلة في أي حال. لا "
836 "تستطيع النواة إرسال رسالة netlink إذا كان مخزن المقبس ممتلئًا: سيتم إسقاط "
837 "الرسالة ولن يكون للنواة وعملية مساحة المستخدم نفس الرؤية لحالة النواة. يقع "
838 "على عاتق التطبيق اكتشاف متى يحدث هذا (عبر خطأ B<ENOBUFS> الذي يُرجعه "
839 "B<recvmsg>(2)) وإعادة المزامنة."
840
841 #. type: SS
842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
844 #, no-wrap
845 msgid "Address formats"
846 msgstr "تنسيقات العناوين"
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid ""
852 "The I<sockaddr_nl> structure describes a netlink client in user space or in "
853 "the kernel. A I<sockaddr_nl> can be either unicast (only sent to one peer) "
854 "or sent to netlink multicast groups (I<nl_groups> not equal 0)."
855 msgstr ""
856 "تصف بنية I<sockaddr_nl> عميل netlink في مساحة المستخدم أو في النواة. يمكن أن "
857 "يكون I<sockaddr_nl> إما أحادي الإرسال (يُرسل إلى نظير واحد فقط) أو يُرسل إلى "
858 "مجموعات الإرسال المتعدد netlink (I<nl_groups> لا يساوي 0)."
859
860 #. type: Plain text
861 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
862 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
863 #, no-wrap
864 msgid ""
865 "struct sockaddr_nl {\n"
866 " sa_family_t nl_family; /* AF_NETLINK */\n"
867 " unsigned short nl_pad; /* Zero */\n"
868 " pid_t nl_pid; /* Port ID */\n"
869 " __u32 nl_groups; /* Multicast groups mask */\n"
870 "};\n"
871 msgstr ""
872 "struct sockaddr_nl {\n"
873 " sa_family_t nl_family; /* AF_NETLINK */\n"
874 " unsigned short nl_pad; /* Zero */\n"
875 " pid_t nl_pid; /* Port ID */\n"
876 " __u32 nl_groups; /* Multicast groups mask */\n"
877 "};\n"
878
879 #. type: Plain text
880 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
881 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
882 msgid ""
883 "I<nl_pid> is the unicast address of netlink socket. It's always 0 if the "
884 "destination is in the kernel. For a user-space process, I<nl_pid> is "
885 "usually the PID of the process owning the destination socket. However, "
886 "I<nl_pid> identifies a netlink socket, not a process. If a process owns "
887 "several netlink sockets, then I<nl_pid> can be equal to the process ID only "
888 "for at most one socket. There are two ways to assign I<nl_pid> to a netlink "
889 "socket. If the application sets I<nl_pid> before calling B<bind>(2), then "
890 "it is up to the application to make sure that I<nl_pid> is unique. If the "
891 "application sets it to 0, the kernel takes care of assigning it. The kernel "
892 "assigns the process ID to the first netlink socket the process opens and "
893 "assigns a unique I<nl_pid> to every netlink socket that the process "
894 "subsequently creates."
895 msgstr ""
896 "I<nl_pid> هو عنوان أحادي الإرسال لمقبس netlink. يكون دائمًا 0 إذا كانت الوجهة "
897 "في النواة. بالنسبة لعملية مساحة المستخدم، I<nl_pid> عادةً ما يكون معرف "
898 "العملية (PID) للعملية التي تملك مقبس الوجهة. ومع ذلك، يُحدد I<nl_pid> مقبس "
899 "netlink، وليس عملية. إذا امتلكت عملية عدة مقابس netlink، فإن I<nl_pid> يمكن "
900 "أن يساوي معرف العملية فقط لمقبس واحد على الأكثر. هناك طريقتان لتعيين "
901 "I<nl_pid> لمقبس netlink. إذا عيّن التطبيق I<nl_pid> قبل استدعاء B<bind>(2)، "
902 "فإنه يقع على عاتق التطبيق التأكد من أن I<nl_pid> فريد. إذا عيّنه التطبيق إلى "
903 "0، تتولى النواة تعيينه. تُسند النواة معرف العملية إلى أول مقبس netlink تفتحه "
904 "العملية وتُسند I<nl_pid> فريدًا لكل مقبس netlink تنشئه العملية لاحقًا."
905
906 #. commit d629b836d151d43332492651dd841d32e57ebe3b
907 #. type: Plain text
908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
909 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
910 msgid ""
911 "I<nl_groups> is a bit mask with every bit representing a netlink group "
912 "number. Each netlink family has a set of 32 multicast groups. When "
913 "B<bind>(2) is called on the socket, the I<nl_groups> field in the "
914 "I<sockaddr_nl> should be set to a bit mask of the groups which it wishes to "
915 "listen to. The default value for this field is zero which means that no "
916 "multicasts will be received. A socket may multicast messages to any of the "
917 "multicast groups by setting I<nl_groups> to a bit mask of the groups it "
918 "wishes to send to when it calls B<sendmsg>(2) or does a B<connect>(2). "
919 "Only processes with an effective UID of 0 or the B<CAP_NET_ADMIN> capability "
920 "may send or listen to a netlink multicast group. Since Linux 2.6.13, "
921 "messages can't be broadcast to multiple groups. Any replies to a message "
922 "received for a multicast group should be sent back to the sending PID and "
923 "the multicast group. Some Linux kernel subsystems may additionally allow "
924 "other users to send and/or receive messages. As at Linux 3.0, the "
925 "B<NETLINK_KOBJECT_UEVENT>, B<NETLINK_GENERIC>, B<NETLINK_ROUTE>, and "
926 "B<NETLINK_SELINUX> groups allow other users to receive messages. No groups "
927 "allow other users to send messages."
928 msgstr ""
929 "I<nl_groups> هو قناع بتات حيث يمثل كل بت رقم مجموعة netlink. لكل عائلة "
930 "netlink مجموعة من 32 مجموعة إرسال متعدد. عند استدعاء B<bind>(2) على المقبس، "
931 "يجب تعيين حقل I<nl_groups> في I<sockaddr_nl> إلى قناع بتات للمجموعات التي "
932 "ترغب في الاستماع إليها. القيمة المبدئية لهذا الحقل هي صفر مما يعني عدم "
933 "استقبال أي إرسال متعدد. يمكن لمقبس إرسال رسائل متعددة إلى أي من مجموعات "
934 "الإرسال المتعدد بتعيين I<nl_groups> إلى قناع بتات للمجموعات التي يرغب في "
935 "الإرسال إليها عند استدعاء B<sendmsg>(2) أو تنفيذ B<connect>(2). فقط العمليات "
936 "التي لديها UID فعال 0 أو صلاحية B<CAP_NET_ADMIN> يمكنها الإرسال أو الاستماع "
937 "إلى مجموعة إرسال متعدد netlink. منذ Linux 2.6.13، لا يمكن بث الرسائل إلى "
938 "مجموعات متعددة. يجب إرسال أي ردود على رسالة مستلمة لمجموعة إرسال متعدد مرة "
939 "أخرى إلى PID المُرسِل ومجموعة الإرسال المتعدد. قد تسمح بعض أنظمة النواة "
940 "الفرعية Linux بالإضافة إلى ذلك لمستخدمين آخرين بالإرسال و/أو الاستقبال. "
941 "اعتبارًا من Linux 3.0، تسمح المجموعات B<NETLINK_KOBJECT_UEVENT> "
942 "وB<NETLINK_GENERIC> وB<NETLINK_ROUTE> وB<NETLINK_SELINUX> لمستخدمين آخرين "
943 "باستقبال الرسائل. لا تسمح أي مجموعات لمستخدمين آخرين بإرسال الرسائل."
944
945 #. type: SS
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 #, no-wrap
949 msgid "Socket options"
950 msgstr "خيارات المقبس"
951
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 msgid ""
956 "To set or get a netlink socket option, call B<getsockopt>(2) to read or "
957 "B<setsockopt>(2) to write the option with the option level argument set to "
958 "B<SOL_NETLINK>. Unless otherwise noted, I<optval> is a pointer to an I<int>."
959 msgstr ""
960 "لتعيين أو الحصول على خيار مقبس netlink، استدع B<getsockopt>(2) للقراءة أو "
961 "B<setsockopt>(2) للكتابة مع تعيين وسيطة مستوى الخيار إلى B<SOL_NETLINK>. ما "
962 "لم يُذكر خلاف ذلك، I<optval> هو مؤشر إلى I<int>."
963
964 #. type: TP
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 #, no-wrap
968 msgid "B<NETLINK_PKTINFO> (since Linux 2.6.14)"
969 msgstr "B<NETLINK_PKTINFO> (منذ Linux 2.6.14)"
970
971 #. commit 9a4595bc7e67962f13232ee55a64e063062c3a99
972 #. Author: Patrick McHardy <[email protected]>
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 "Enable B<nl_pktinfo> control messages for received packets to get the "
978 "extended destination group number."
979 msgstr ""
980 "تمكين رسائل التحكم B<nl_pktinfo> للحزم المستلمة للحصول على رقم مجموعة الوجهة "
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<NETLINK_ADD_MEMBERSHIP>"
988 msgstr "B<NETLINK_ADD_MEMBERSHIP>"
989
990 #. type: TQ
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 #, no-wrap
994 msgid "B<NETLINK_DROP_MEMBERSHIP> (since Linux 2.6.14)"
995 msgstr "B<NETLINK_DROP_MEMBERSHIP> (منذ Linux 2.6.14)"
996
997 #. commit 9a4595bc7e67962f13232ee55a64e063062c3a99
998 #. Author: Patrick McHardy <[email protected]>
999 #. type: Plain text
1000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1002 msgid "Join/leave a group specified by I<optval>."
1003 msgstr "الانضمام/المغادرة من مجموعة محددة بواسطة I<optval>."
1004
1005 #. type: TP
1006 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1007 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1008 #, no-wrap
1009 msgid "B<NETLINK_LIST_MEMBERSHIPS> (since Linux 4.2)"
1010 msgstr "B<NETLINK_LIST_MEMBERSHIPS> (منذ Linux 4.2)"
1011
1012 #. commit b42be38b2778eda2237fc759e55e3b698b05b315
1013 #. Author: David Herrmann <[email protected]>
1014 #. type: Plain text
1015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1017 msgid ""
1018 "Retrieve all groups a socket is a member of. I<optval> is a pointer to "
1019 "B<__u32> and I<optlen> is the size of the array. The array is filled with "
1020 "the full membership set of the socket, and the required array size is "
1021 "returned in I<optlen>."
1022 msgstr ""
1023 "استرداد جميع المجموعات التي يكون المقبس عضوًا فيها. I<optval> هو مؤشر إلى "
1024 "B<__u32> وI<optlen> هو حجم المصفوفة. تُملأ المصفوفة بمجموعة العضوية الكاملة "
1025 "للمقبس، ويُعاد حجم المصفوفة المطلوب في I<optlen>."
1026
1027 #. type: TP
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1030 #, no-wrap
1031 msgid "B<NETLINK_BROADCAST_ERROR> (since Linux 2.6.30)"
1032 msgstr "B<NETLINK_BROADCAST_ERROR> (منذ Linux 2.6.30)"
1033
1034 #. commit be0c22a46cfb79ab2342bb28fde99afa94ef868e
1035 #. Author: Pablo Neira Ayuso <[email protected]>
1036 #. type: Plain text
1037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1039 msgid ""
1040 "When not set, B<netlink_broadcast()> only reports B<ESRCH> errors and "
1041 "silently ignore B<ENOBUFS> errors."
1042 msgstr ""
1043 "عند عدم التعيين، يُبلغ B<netlink_broadcast()> عن أخطاء B<ESRCH> فقط ويتجاهل "
1044 "بصمت أخطاء B<ENOBUFS>."
1045
1046 #. type: TP
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 #, no-wrap
1050 msgid "B<NETLINK_NO_ENOBUFS> (since Linux 2.6.30)"
1051 msgstr "B<NETLINK_NO_ENOBUFS> (منذ لينكس 2.6.30)"
1052
1053 #. commit 38938bfe3489394e2eed5e40c9bb8f66a2ce1405
1054 #. Author: Pablo Neira Ayuso <[email protected]>
1055 #. type: Plain text
1056 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1057 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1058 msgid ""
1059 "This flag can be used by unicast and broadcast listeners to avoid receiving "
1060 "B<ENOBUFS> errors."
1061 msgstr ""
1062 "يمكن استخدام هذه العلامة بواسطة مستمعي الإرسال الأحادي والبث لتجنب استقبال "
1063 "أخطاء B<ENOBUFS>."
1064
1065 #. type: TP
1066 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1067 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1068 #, no-wrap
1069 msgid "B<NETLINK_LISTEN_ALL_NSID> (since Linux 4.2)"
1070 msgstr "B<NETLINK_LISTEN_ALL_NSID> (منذ لينكس 4.2)"
1071
1072 #. commit 59324cf35aba5336b611074028777838a963d03b
1073 #. Author: Nicolas Dichtel <[email protected]>
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 ""
1078 "When set, this socket will receive netlink notifications from all network "
1079 "namespaces that have an I<nsid> assigned into the network namespace where "
1080 "the socket has been opened. The I<nsid> is sent to user space via an "
1081 "ancillary data."
1082 msgstr ""
1083 "عند التعيين، سيستقبل هذا المقبس إشعارات netlink من جميع مساحات أسماء الشبكة "
1084 "التي لديها I<nsid> معين في مساحة اسم الشبكة حيث فُتح المقبس. يُرسل I<nsid> إلى "
1085 "مساحة المستخدم عبر بيانات مساعدة."
1086
1087 #. type: TP
1088 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1089 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1090 #, no-wrap
1091 msgid "B<NETLINK_CAP_ACK> (since Linux 4.3)"
1092 msgstr "B<NETLINK_CAP_ACK> (منذ لينكس 4.3)"
1093
1094 #. commit 0a6a3a23ea6efde079a5b77688541a98bf202721
1095 #. Author: Christophe Ricard <[email protected]>
1096 #. type: Plain text
1097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1099 msgid ""
1100 "The kernel may fail to allocate the necessary room for the acknowledgement "
1101 "message back to user space. This option trims off the payload of the "
1102 "original netlink message. The netlink message header is still included, so "
1103 "the user can guess from the sequence number which message triggered the "
1104 "acknowledgement."
1105 msgstr ""
1106 "قد يفشل النواة في تخصيص المساحة اللازمة لرسالة الإقرار العائدة إلى مساحة "
1107 "المستخدم. يقلص هذا الخيار حمولة رسالة netlink الأصلية. لا يزال رأس رسالة "
1108 "netlink مضمنًا، لذا يمكن للمستخدم تخمين من رقم التسلسل أي رسالة أثارت الإقرار."
1109
1110 #. type: SH
1111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1113 #, no-wrap
1114 msgid "VERSIONS"
1115 msgstr "الإصدارات"
1116
1117 #. type: Plain text
1118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1120 msgid "The socket interface to netlink first appeared Linux 2.2."
1121 msgstr "ظهرت واجهة المقبس لـ netlink لأول مرة في لينكس 2.2."
1122
1123 #. type: Plain text
1124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1126 msgid ""
1127 "Linux 2.0 supported a more primitive device-based netlink interface (which "
1128 "is still available as a compatibility option). This obsolete interface is "
1129 "not described here."
1130 msgstr ""
1131 "دعم لينكس 2.0 واجهة netlink بدائية قائمة على الجهاز (والتي لا تزال متاحة "
1132 "كخيار توافق). لا تُوصف هذه الواجهة القديمة هنا."
1133
1134 #. type: SH
1135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1137 #, no-wrap
1138 msgid "NOTES"
1139 msgstr "ملاحظات"
1140
1141 #. type: Plain text
1142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1144 msgid ""
1145 "It is often better to use netlink via I<libnetlink> or I<libnl> than via the "
1146 "low-level kernel interface."
1147 msgstr ""
1148 "غالبًا ما يكون استخدام netlink عبر I<libnetlink> أو I<libnl> أفضل من استخدام "
1149 "واجهة النواة منخفضة المستوى."
1150
1151 #. type: SH
1152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1154 #, no-wrap
1155 msgid "BUGS"
1156 msgstr "العلل"
1157
1158 #. type: Plain text
1159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1161 msgid "This manual page is not complete."
1162 msgstr "صفحة الدليل هذه غير كاملة."
1163
1164 #. type: SH
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 #, no-wrap
1168 msgid "EXAMPLES"
1169 msgstr "أمثلة"
1170
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid ""
1175 "The following example creates a B<NETLINK_ROUTE> netlink socket which will "
1176 "listen to the B<RTMGRP_LINK> (network interface create/delete/up/down "
1177 "events) and B<RTMGRP_IPV4_IFADDR> (IPv4 addresses add/delete events) "
1178 "multicast groups."
1179 msgstr ""
1180 "المثال التالي ينشئ مقبس netlink من نوع B<NETLINK_ROUTE> سيستمع إلى مجموعات "
1181 "البث المتعدد B<RTMGRP_LINK> (أحداث إنشاء/حذف/تشغيل/إيقاف واجهة الشبكة) "
1182 "وB<RTMGRP_IPV4_IFADDR> (أحداث إضافة/حذف عناوين IPv4)."
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 #, no-wrap
1188 msgid ""
1189 "struct sockaddr_nl sa;\n"
1190 "\\&\n"
1191 "memset(&sa, 0, sizeof(sa));\n"
1192 "sa.nl_family = AF_NETLINK;\n"
1193 "sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;\n"
1194 "\\&\n"
1195 "fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);\n"
1196 "bind(fd, (struct sockaddr *) &sa, sizeof(sa));\n"
1197 msgstr ""
1198 "struct sockaddr_nl sa;\n"
1199 "\\&\n"
1200 "memset(&sa, 0, sizeof(sa));\n"
1201 "sa.nl_family = AF_NETLINK;\n"
1202 "sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;\n"
1203 "\\&\n"
1204 "fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);\n"
1205 "bind(fd, (struct sockaddr *) &sa, sizeof(sa));\n"
1206
1207 #. type: Plain text
1208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1210 msgid ""
1211 "The next example demonstrates how to send a netlink message to the kernel "
1212 "(pid 0). Note that the application must take care of message sequence "
1213 "numbers in order to reliably track acknowledgements."
1214 msgstr ""
1215 "المثال التالي يوضح كيفية إرسال رسالة netlink إلى النواة (pid 0). لاحظ أن "
1216 "التطبيق يجب أن يعتني بأرقام تسلسل الرسائل لتتبع الإقرارات بشكل موثوق."
1217
1218 #. type: Plain text
1219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1221 #, no-wrap
1222 msgid ""
1223 "struct nlmsghdr *nh; /* The nlmsghdr with payload to send */\n"
1224 "struct sockaddr_nl sa;\n"
1225 "struct iovec iov = { nh, nh-E<gt>nlmsg_len };\n"
1226 "struct msghdr msg;\n"
1227 "\\&\n"
1228 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1229 "memset(&sa, 0, sizeof(sa));\n"
1230 "sa.nl_family = AF_NETLINK;\n"
1231 "nh-E<gt>nlmsg_pid = 0;\n"
1232 "nh-E<gt>nlmsg_seq = ++sequence_number;\n"
1233 "/* Request an ack from kernel by setting NLM_F_ACK */\n"
1234 "nh-E<gt>nlmsg_flags |= NLM_F_ACK;\n"
1235 "\\&\n"
1236 "sendmsg(fd, &msg, 0);\n"
1237 msgstr ""
1238 "struct nlmsghdr *nh; /* The nlmsghdr with payload to send */\n"
1239 "struct sockaddr_nl sa;\n"
1240 "struct iovec iov = { nh, nh-E<gt>nlmsg_len };\n"
1241 "struct msghdr msg;\n"
1242 "\\&\n"
1243 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1244 "memset(&sa, 0, sizeof(sa));\n"
1245 "sa.nl_family = AF_NETLINK;\n"
1246 "nh-E<gt>nlmsg_pid = 0;\n"
1247 "nh-E<gt>nlmsg_seq = ++sequence_number;\n"
1248 "/* Request an ack from kernel by setting NLM_F_ACK */\n"
1249 "nh-E<gt>nlmsg_flags |= NLM_F_ACK;\n"
1250 "\\&\n"
1251 "sendmsg(fd, &msg, 0);\n"
1252
1253 #. type: Plain text
1254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1256 msgid "And the last example is about reading netlink message."
1257 msgstr "والمثال الأخير يتعلق بقراءة رسالة netlink."
1258
1259 #. type: Plain text
1260 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1261 #: opensuse-leap-16-1 opensuse-tumbleweed
1262 #, no-wrap
1263 msgid ""
1264 "int size;\n"
1265 "/* 8192 to avoid message truncation on platforms with\n"
1266 " page size E<gt> 4096 */\n"
1267 "struct nlmsghdr buf[8192/sizeof(struct nlmsghdr)];\n"
1268 "struct iovec iov = { buf, sizeof(buf) };\n"
1269 "struct sockaddr_nl sa;\n"
1270 "struct msghdr msg;\n"
1271 "struct nlmsghdr *nh;\n"
1272 "\\&\n"
1273 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1274 "size = recvmsg(fd, &msg, 0);\n"
1275 "\\&\n"
1276 "for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, size);\n"
1277 " nh = NLMSG_NEXT (nh, size)) {\n"
1278 " /* The end of multipart message */\n"
1279 " if (nh-E<gt>nlmsg_type == NLMSG_DONE)\n"
1280 " return;\n"
1281 "\\&\n"
1282 " if (nh-E<gt>nlmsg_type == NLMSG_ERROR)\n"
1283 " /* Do some error handling */\n"
1284 " ...\n"
1285 "\\&\n"
1286 " /* Continue with parsing payload */\n"
1287 " ...\n"
1288 "}\n"
1289 msgstr ""
1290 "int size;\n"
1291 "/* 8192 to avoid message truncation on platforms with\n"
1292 " page size E<gt> 4096 */\n"
1293 "struct nlmsghdr buf[8192/sizeof(struct nlmsghdr)];\n"
1294 "struct iovec iov = { buf, sizeof(buf) };\n"
1295 "struct sockaddr_nl sa;\n"
1296 "struct msghdr msg;\n"
1297 "struct nlmsghdr *nh;\n"
1298 "\\&\n"
1299 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1300 "size = recvmsg(fd, &msg, 0);\n"
1301 "\\&\n"
1302 "for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, size);\n"
1303 " nh = NLMSG_NEXT (nh, size)) {\n"
1304 " /* The end of multipart message */\n"
1305 " if (nh-E<gt>nlmsg_type == NLMSG_DONE)\n"
1306 " return;\n"
1307 "\\&\n"
1308 " if (nh-E<gt>nlmsg_type == NLMSG_ERROR)\n"
1309 " /* Do some error handling */\n"
1310 " ...\n"
1311 "\\&\n"
1312 " /* Continue with parsing payload */\n"
1313 " ...\n"
1314 "}\n"
1315
1316 #. type: SH
1317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1319 #, no-wrap
1320 msgid "SEE ALSO"
1321 msgstr "انظر أيضًا"
1322
1323 #. type: Plain text
1324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1326 msgid ""
1327 "B<cmsg>(3), B<netlink>(3), B<capabilities>(7), B<rtnetlink>(7), "
1328 "B<sock_diag>(7)"
1329 msgstr ""
1330 "B<cmsg>(3), B<netlink>(3), B<capabilities>(7), B<rtnetlink>(7), "
1331 "B<sock_diag>(7)"
1332
1333 #. type: Plain text
1334 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1335 #: opensuse-tumbleweed
1336 msgid ""
1337 "E<.UR ftp:\\://ftp.inr.ac.ru\\:/ip-routing\\:/iproute2*> information about "
1338 "libnetlink E<.UE>"
1339 msgstr ""
1340 "E<.UR ftp:\\://ftp.inr.ac.ru\\:/ip-routing\\:/iproute2*> معلومات حول "
1341 "libnetlink E<.UE>"
1342
1343 #. type: Plain text
1344 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1345 #: opensuse-tumbleweed
1346 msgid ""
1347 "E<.UR http:\\://www.infradead.org\\:/\\[ti]tgr\\:/libnl/> information about "
1348 "libnl E<.UE>"
1349 msgstr ""
1350 "E<.UR http:\\://www.infradead.org\\:/\\[ti]tgr\\:/libnl/> معلومات حول libnl "
1351 "E<.UE>"
1352
1353 #. type: Plain text
1354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1356 msgid "RFC 3549 \"Linux Netlink as an IP Services Protocol\""
1357 msgstr "RFC 3549 \"Linux Netlink as an IP Services Protocol\""
1358
1359 #. type: TH
1360 #: debian-trixie
1361 #, no-wrap
1362 msgid "2024-05-02"
1363 msgstr "2 مايو 2024"
1364
1365 #. type: TH
1366 #: debian-trixie
1367 #, no-wrap
1368 msgid "Linux man-pages 6.9.1"
1369 msgstr "صفحات دليل لينكس 6.9.1"
1370
1371 #. type: Plain text
1372 #: debian-trixie fedora-44 fedora-rawhide
1373 msgid ""
1374 "Netlink is used to transfer information between the kernel and user-space "
1375 "processes. It consists of a standard sockets-based interface for user space "
1376 "processes and an internal kernel API for kernel modules. The internal "
1377 "kernel interface is not documented in this manual page. There is also an "
1378 "obsolete netlink interface via netlink character devices; this interface is "
1379 "not documented here and is provided only for backward compatibility."
1380 msgstr ""
1381 "يُستخدم Netlink لنقل المعلومات بين النواة وعمليات مساحة المستخدم. يتكون من "
1382 "واجهة قياسية قائمة على المقابس لعمليات مساحة المستخدم وواجهة برمجة تطبيقات "
1383 "داخلية للنواة لوحدات النواة. لا تُوثق واجهة النواة الداخلية في صفحة الدليل "
1384 "هذه. توجد أيضًا واجهة netlink قديمة عبر أجهزة الأحرف netlink؛ لا تُوثق هذه "
1385 "الواجهة هنا وتُوفر فقط للتوافق مع الإصدارات السابقة."
1386
1387 #. type: Plain text
1388 #: debian-trixie
1389 #, no-wrap
1390 msgid ""
1391 "struct nlmsghdr {\n"
1392 " __u32 nlmsg_len; /* Length of message including header */\n"
1393 " __u16 nlmsg_type; /* Type of message content */\n"
1394 " __u16 nlmsg_flags; /* Additional flags */\n"
1395 " __u32 nlmsg_seq; /* Sequence number */\n"
1396 " __u32 nlmsg_pid; /* Sender port ID */\n"
1397 "};\n"
1398 msgstr ""
1399 "struct nlmsghdr {\n"
1400 " __u32 nlmsg_len; /* Length of message including header */\n"
1401 " __u16 nlmsg_type; /* Type of message content */\n"
1402 " __u16 nlmsg_flags; /* Additional flags */\n"
1403 " __u32 nlmsg_seq; /* Sequence number */\n"
1404 " __u32 nlmsg_pid; /* Sender port ID */\n"
1405 "};\n"
1406
1407 #. type: Plain text
1408 #: debian-trixie
1409 #, no-wrap
1410 msgid ""
1411 "struct nlmsgerr {\n"
1412 " int error; /* Negative errno or 0 for acknowledgements */\n"
1413 " struct nlmsghdr msg; /* Message header that caused the error */\n"
1414 " /*\n"
1415 " * followed by the message contents\n"
1416 " * unless NETLINK_CAP_ACK was set\n"
1417 " * or the ACK indicates success (error == 0).\n"
1418 " * For example Generic Netlink message with attributes.\n"
1419 " * message length is aligned with NLMSG_ALIGN()\n"
1420 " */\n"
1421 " /*\n"
1422 " * followed by TLVs defined in enum nlmsgerr_attrs\n"
1423 " * if NETLINK_EXT_ACK was set\n"
1424 " */\n"
1425 "};\n"
1426 msgstr ""
1427 "struct nlmsgerr {\n"
1428 " int error; /* Negative errno or 0 for acknowledgements */\n"
1429 " struct nlmsghdr msg; /* Message header that caused the error */\n"
1430 " /*\n"
1431 " * followed by the message contents\n"
1432 " * unless NETLINK_CAP_ACK was set\n"
1433 " * or the ACK indicates success (error == 0).\n"
1434 " * For example Generic Netlink message with attributes.\n"
1435 " * message length is aligned with NLMSG_ALIGN()\n"
1436 " */\n"
1437 " /*\n"
1438 " * followed by TLVs defined in enum nlmsgerr_attrs\n"
1439 " * if NETLINK_EXT_ACK was set\n"
1440 " */\n"
1441 "};\n"
1442
1443 #. type: tbl table
1444 #: debian-trixie fedora-44 fedora-rawhide
1445 #, no-wrap
1446 msgid "Standard flag bits in I<nlmsg_flags>"
1447 msgstr "بتات العلامات القياسية في I<nlmsg_flags>"
1448
1449 #. type: tbl table
1450 #: debian-trixie fedora-44 fedora-rawhide
1451 #, no-wrap
1452 msgid ""
1453 "Convenience macro; equivalent to\n"
1454 "(NLM_F_ROOT|NLM_F_MATCH)."
1455 msgstr ""
1456 "ماكرو اختصار؛ يعادل\n"
1457 "(NLM_F_ROOT|NLM_F_MATCH)."
1458
1459 #. type: Plain text
1460 #: debian-trixie
1461 #, no-wrap
1462 msgid ""
1463 "int len;\n"
1464 "/* 8192 to avoid message truncation on platforms with\n"
1465 " page size E<gt> 4096 */\n"
1466 "struct nlmsghdr buf[8192/sizeof(struct nlmsghdr)];\n"
1467 "struct iovec iov = { buf, sizeof(buf) };\n"
1468 "struct sockaddr_nl sa;\n"
1469 "struct msghdr msg;\n"
1470 "struct nlmsghdr *nh;\n"
1471 "\\&\n"
1472 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1473 "len = recvmsg(fd, &msg, 0);\n"
1474 "\\&\n"
1475 "for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);\n"
1476 " nh = NLMSG_NEXT (nh, len)) {\n"
1477 " /* The end of multipart message */\n"
1478 " if (nh-E<gt>nlmsg_type == NLMSG_DONE)\n"
1479 " return;\n"
1480 "\\&\n"
1481 " if (nh-E<gt>nlmsg_type == NLMSG_ERROR)\n"
1482 " /* Do some error handling */\n"
1483 " ...\n"
1484 "\\&\n"
1485 " /* Continue with parsing payload */\n"
1486 " ...\n"
1487 "}\n"
1488 msgstr ""
1489 "int len;\n"
1490 "/* 8192 to avoid message truncation on platforms with\n"
1491 " page size E<gt> 4096 */\n"
1492 "struct nlmsghdr buf[8192/sizeof(struct nlmsghdr)];\n"
1493 "struct iovec iov = { buf, sizeof(buf) };\n"
1494 "struct sockaddr_nl sa;\n"
1495 "struct msghdr msg;\n"
1496 "struct nlmsghdr *nh;\n"
1497 "\\&\n"
1498 "msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };\n"
1499 "len = recvmsg(fd, &msg, 0);\n"
1500 "\\&\n"
1501 "for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);\n"
1502 " nh = NLMSG_NEXT (nh, len)) {\n"
1503 " /* The end of multipart message */\n"
1504 " if (nh-E<gt>nlmsg_type == NLMSG_DONE)\n"
1505 " return;\n"
1506 "\\&\n"
1507 " if (nh-E<gt>nlmsg_type == NLMSG_ERROR)\n"
1508 " /* Do some error handling */\n"
1509 " ...\n"
1510 "\\&\n"
1511 " /* Continue with parsing payload */\n"
1512 " ...\n"
1513 "}\n"
1514
1515 #. type: Plain text
1516 #: debian-trixie fedora-44 fedora-rawhide
1517 msgid ""
1518 "E<.UR ftp://ftp.inr.ac.ru\\:/ip-routing\\:/iproute2*> information about "
1519 "libnetlink E<.UE>"
1520 msgstr ""
1521 "E<.UR ftp://ftp.inr.ac.ru\\:/ip-routing\\:/iproute2*> معلومات حول libnetlink "
1522 "E<.UE>"
1523
1524 #. type: Plain text
1525 #: debian-trixie fedora-44 fedora-rawhide
1526 msgid ""
1527 "E<.UR http://www.infradead.org\\:/\\[ti]tgr\\:/libnl/> information about "
1528 "libnl E<.UE>"
1529 msgstr ""
1530 "E<.UR http://www.infradead.org\\:/\\[ti]tgr\\:/libnl/> معلومات حول libnl E<."
1531 "UE>"
1532
1533 #. type: TH
1534 #: fedora-44 fedora-rawhide
1535 #, no-wrap
1536 msgid "2024-11-17"
1537 msgstr "17 نوفمبر 2024"
1538
1539 #. type: TH
1540 #: fedora-44 fedora-rawhide
1541 #, no-wrap
1542 msgid "Linux man-pages 6.13"
1543 msgstr "صفحات دليل لينكس 6.13"
1544
1545 #. type: TH
1546 #: mageia-cauldron
1547 #, no-wrap
1548 msgid "Linux man-pages 6.17"
1549 msgstr "صفحات دليل لينكس 6.17"
1550
1551 #. type: TH
1552 #: opensuse-leap-16-1 opensuse-tumbleweed
1553 #, no-wrap
1554 msgid "Linux man-pages (unreleased)"
1555 msgstr "صفحات دليل لينكس (لم تصدر بعد)"