Debian Codegraph @

po/ar/man7/packet.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:33+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 "packet"
25 msgstr "packet"
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 "packet - packet interface on device level"
51 msgstr "packet - واجهة الحزمة على مستوى الجهاز"
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/if_packet.hE<gt>>\n"
67 "B<#include E<lt>net/ethernet.hE<gt> /* the L2 protocols */>\n"
68 msgstr ""
69 "B<#include E<lt>sys/socket.hE<gt>>\n"
70 "B<#include E<lt>linux/if_packet.hE<gt>>\n"
71 "B<#include E<lt>net/ethernet.hE<gt> /* the L2 protocols */>\n"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<packet_socket = socket(AF_PACKET, int >I<socket_type>B<, int >I<protocol>B<);>\n"
78 msgstr "B<packet_socket = socket(AF_PACKET, int >I<socket_type>B<, int >I<protocol>B<);>\n"
79
80 #. type: SH
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "DESCRIPTION"
85 msgstr "الوصف"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 msgid ""
91 "Packet sockets are used to receive or send raw packets at the device driver "
92 "(OSI Layer 2) level. They allow the user to implement protocol modules in "
93 "user space on top of the physical layer."
94 msgstr ""
95 "تُستخدم مقابس الحزمة لاستقبال أو إرسال حزم خام على مستوى برنامج تشغيل الجهاز "
96 "(الطبقة الثانية من OSI). تسمح للمستخدم بتنفيذ وحدات البروتوكول في مساحة "
97 "المستخدم فوق الطبقة المادية."
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "The I<socket_type> is either B<SOCK_RAW> for raw packets including the link-"
104 "level header or B<SOCK_DGRAM> for cooked packets with the link-level header "
105 "removed. The link-level header information is available in a common format "
106 "in a I<sockaddr_ll> structure. I<protocol> is the IEEE 802.3 protocol "
107 "number in network byte order. See the I<E<lt>linux/if_ether.hE<gt>> include "
108 "file for a list of allowed protocols. When protocol is set to "
109 "B<htons(ETH_P_ALL)>, then all protocols are received. All incoming packets "
110 "of that protocol type will be passed to the packet socket before they are "
111 "passed to the protocols implemented in the kernel. If I<protocol> is set to "
112 "zero, no packets are received. B<bind>(2) can optionally be called with a "
113 "nonzero I<sll_protocol> to start receiving packets for the protocols "
114 "specified."
115 msgstr ""
116 "I<socket_type> إما B<SOCK_RAW> للحزم الخام بما في ذلك رأس طبقة الوصلة أو "
117 "B<SOCK_DGRAM> للحزم المطبوخة مع إزالة رأس طبقة الوصلة. تتوفر معلومات رأس "
118 "طبقة الوصلة بتنسيق شائع في بنية I<sockaddr_ll>. I<protocol> هو رقم بروتوكول "
119 "IEEE 802.3 بترتيب بايت الشبكة. راجع ملف التضمين I<E<lt>linux/if_ether."
120 "hE<gt>> للحصول على قائمة البروتوكولات المسموح بها. عند تعيين البروتوكول إلى "
121 "B<htons(ETH_P_ALL)>، تُستقبل جميع البروتوكولات. تُمرر جميع الحزم الواردة من "
122 "ذلك النوع البروتوكولي إلى مقبس الحزمة قبل تمريرها إلى البروتوكولات المنفذة "
123 "في النواة. إذا تم تعيين I<protocol> إلى صفر، لا تُستقبل أي حزم. يمكن استدعاء "
124 "B<bind>(2) اختياريًا مع I<sll_protocol> غير صفري لبدء استقبال حزم "
125 "للبروتوكولات المحددة."
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid ""
131 "In order to create a packet socket, a process must have the B<CAP_NET_RAW> "
132 "capability in the user namespace that governs its network namespace."
133 msgstr ""
134 "لإنشاء مقبس حزمة، يجب أن تمتلك العملية القدرة B<CAP_NET_RAW> في مساحة "
135 "المستخدم التي تحكم مساحة الشبكة الخاصة بها."
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "B<SOCK_RAW> packets are passed to and from the device driver without any "
142 "changes in the packet data. When receiving a packet, the address is still "
143 "parsed and passed in a standard I<sockaddr_ll> address structure. When "
144 "transmitting a packet, the user-supplied buffer should contain the physical-"
145 "layer header. That packet is then queued unmodified to the network driver "
146 "of the interface defined by the destination address. Some device drivers "
147 "always add other headers. B<SOCK_RAW> is similar to but not compatible with "
148 "the obsolete B<AF_INET/SOCK_PACKET> of Linux 2.0."
149 msgstr ""
150 "تُمرر حزم B<SOCK_RAW> إلى برنامج تشغيل الجهاز ومنه دون أي تغييرات في بيانات "
151 "الحزمة. عند استقبال حزمة، يُحلل العنوان ويُمرر في بنية عنوان I<sockaddr_ll> "
152 "قياسية. عند إرسال حزمة، يجب أن يحتوي المخزن المؤقت المقدم من المستخدم على "
153 "رأس الطبقة المادية. ثم تُصطف تلك الحزمة دون تعديل إلى برنامج تشغيل الشبكة "
154 "للواجهة المحددة بواسطة العنوان الوجهة. تضيف بعض برامج تشغيل الأجهزة دائمًا "
155 "رؤوسًا أخرى. B<SOCK_RAW> مشابه لـ B<AF_INET/SOCK_PACKET> القديم في Linux 2.0 "
156 "ولكنه غير متوافق معه."
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "B<SOCK_DGRAM> operates on a slightly higher level. The physical header is "
163 "removed before the packet is passed to the user. Packets sent through a "
164 "B<SOCK_DGRAM> packet socket get a suitable physical-layer header based on "
165 "the information in the I<sockaddr_ll> destination address before they are "
166 "queued."
167 msgstr ""
168 "يعمل B<SOCK_DGRAM> على مستوى أعلى قليلاً. يُزال الرأس المادي قبل تمرير الحزمة "
169 "إلى المستخدم. تحصل الحزم المرسلة عبر مقبس حزمة B<SOCK_DGRAM> على رأس طبقة "
170 "مادية مناسب بناءً على المعلومات في عنوان الوجهة I<sockaddr_ll> قبل أن تُصطف."
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "By default, all packets of the specified protocol type are passed to a "
177 "packet socket. To get packets only from a specific interface use "
178 "B<bind>(2) specifying an address in a I<struct sockaddr_ll> to bind the "
179 "packet socket to an interface. Fields used for binding are I<sll_family> "
180 "(should be B<AF_PACKET>), I<sll_protocol>, and I<sll_ifindex>."
181 msgstr ""
182 "افتراضيًا، تُمرر جميع الحزم من نوع البروتوكول المحدد إلى مقبس حزمة. للحصول على "
183 "حزم من واجهة محددة فقط، استخدم B<bind>(2) مع تحديد عنوان في I<struct "
184 "sockaddr_ll> لربط مقبس الحزمة بواجهة. الحقول المستخدمة للربط هي "
185 "I<sll_family> (يجب أن يكون B<AF_PACKET>) و I<sll_protocol> و I<sll_ifindex>."
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid "The B<connect>(2) operation is not supported on packet sockets."
191 msgstr "عملية B<connect>(2) غير مدعومة على مقابس الحزمة."
192
193 #. type: Plain text
194 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
195 #: opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "When the B<MSG_TRUNC> flag is passed to B<recvmsg>(2), B<recv>(2), or "
198 "B<recvfrom>(2), the real size of the packet on the wire is always returned, "
199 "even when it is longer than the buffer."
200 msgstr ""
201 "عند تمرير العلم B<MSG_TRUNC> إلى B<recvmsg>(2) أو B<recv>(2) أو "
202 "B<recvfrom>(2)، يُعاد دائمًا الحجم الحقيقي للحزمة على السلك، حتى عندما يكون "
203 "أطول من المخزن المؤقت."
204
205 #. type: SS
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "Address types"
210 msgstr "أنواع العناوين"
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "The I<sockaddr_ll> structure is a device-independent physical-layer address."
217 msgstr "بنية I<sockaddr_ll> هي عنوان طبقة مادية مستقل عن الجهاز."
218
219 #. type: Plain text
220 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
221 #: opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid ""
224 "struct sockaddr_ll {\n"
225 " unsigned short sll_family; /* Always AF_PACKET */\n"
226 " unsigned short sll_protocol; /* Physical-layer protocol */\n"
227 " int sll_ifindex; /* Interface number */\n"
228 " unsigned short sll_hatype; /* ARP hardware type */\n"
229 " unsigned char sll_pkttype; /* Packet type */\n"
230 " unsigned char sll_halen; /* Size of address */\n"
231 " unsigned char sll_addr[8]; /* Physical-layer address */\n"
232 "};\n"
233 msgstr ""
234 "struct sockaddr_ll {\n"
235 " unsigned short sll_family; /* Always AF_PACKET */\n"
236 " unsigned short sll_protocol; /* Physical-layer protocol */\n"
237 " int sll_ifindex; /* Interface number */\n"
238 " unsigned short sll_hatype; /* ARP hardware type */\n"
239 " unsigned char sll_pkttype; /* Packet type */\n"
240 " unsigned char sll_halen; /* Size of address */\n"
241 " unsigned char sll_addr[8]; /* Physical-layer address */\n"
242 "};\n"
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 "The fields of this structure are as follows:"
248 msgstr "حقول هذا الهيكل هي كالتالي:"
249
250 #. type: TP
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "I<sll_protocol>"
255 msgstr "I<sll_protocol>"
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "is the standard ethernet protocol type in network byte order as defined in "
262 "the I<E<lt>linux/if_ether.hE<gt>> include file. It defaults to the socket's "
263 "protocol."
264 msgstr ""
265 "هو نوع بروتوكول الإيثرنت القياسي بترتيب بايت الشبكة كما هو معرف في ملف "
266 "التضمين I<E<lt>linux/if_ether.hE<gt>>. المبدئي هو بروتوكول المقبس."
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "I<sll_ifindex>"
273 msgstr "I<sll_ifindex>"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "is the interface index of the interface (see B<netdevice>(7)); 0 matches any "
280 "interface (only permitted for binding). I<sll_hatype> is an ARP type as "
281 "defined in the I<E<lt>linux/if_arp.hE<gt>> include file."
282 msgstr ""
283 "هو فهرس الواجهة (انظر B<netdevice>(7))؛ 0 يطابق أي واجهة (مسموح به فقط "
284 "للربط). I<sll_hatype> هو نوع ARP كما هو معرف في ملف التضمين I<E<lt>linux/"
285 "if_arp.hE<gt>>."
286
287 #. type: TP
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "I<sll_pkttype>"
292 msgstr "I<sll_pkttype>"
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 ""
298 "contains the packet type. Valid types are B<PACKET_HOST> for a packet "
299 "addressed to the local host, B<PACKET_BROADCAST> for a physical-layer "
300 "broadcast packet, B<PACKET_MULTICAST> for a packet sent to a physical-layer "
301 "multicast address, B<PACKET_OTHERHOST> for a packet to some other host that "
302 "has been caught by a device driver in promiscuous mode, and "
303 "B<PACKET_OUTGOING> for a packet originating from the local host that is "
304 "looped back to a packet socket. These types make sense only for receiving."
305 msgstr ""
306 "يحتوي على نوع الحزمة. الأنواع الصالحة هي B<PACKET_HOST> لحزمة موجهة إلى "
307 "المضيف المحلي، B<PACKET_BROADCAST> لحزمة بث على الطبقة المادية، "
308 "B<PACKET_MULTICAST> لحزمة مرسلة إلى عنوان متعدد الإرسال على الطبقة المادية، "
309 "B<PACKET_OTHERHOST> لحزمة إلى مضيف آخر تم التقاطها بواسطة برنامج تشغيل جهاز "
310 "في وضع غير انتقائي، و B<PACKET_OUTGOING> لحزمة صادرة من المضيف المحلي تُعاد "
311 "حلقياً إلى مقبس حزمة. هذه الأنواع منطقية فقط للاستقبال."
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<sll_addr>"
318 msgstr "I<sll_addr>"
319
320 #. type: TQ
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "I<sll_halen>"
325 msgstr "I<sll_halen>"
326
327 #. type: Plain text
328 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
329 #: opensuse-leap-16-1 opensuse-tumbleweed
330 msgid ""
331 "contain the physical-layer (e.g., IEEE 802.3) address and its size. The "
332 "exact interpretation depends on the device."
333 msgstr ""
334 "يحتويان على عنوان الطبقة المادية (مثل IEEE 802.3) وحجمه. يعتمد التفسير "
335 "الدقيق على الجهاز."
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid ""
341 "When you send packets, it is enough to specify I<sll_family>, I<sll_addr>, "
342 "I<sll_halen>, I<sll_ifindex>, and I<sll_protocol>. The other fields should "
343 "be 0. I<sll_hatype> and I<sll_pkttype> are set on received packets for your "
344 "information."
345 msgstr ""
346 "عند إرسال الحزم، يكفي تحديد I<sll_family> و I<sll_addr> و I<sll_halen> و "
347 "I<sll_ifindex> و I<sll_protocol>. يجب أن تكون الحقول الأخرى 0. تُضبط "
348 "I<sll_hatype> و I<sll_pkttype> على الحزم المستلمة لمعلوماتك."
349
350 #. type: SS
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "Socket options"
355 msgstr "خيارات المقبس"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "Packet socket options are configured by calling B<setsockopt>(2) with level "
362 "B<SOL_PACKET>."
363 msgstr ""
364 "تُهيأ خيارات مقبس الرزم باستدعاء B<setsockopt>(2) بمستوى B<SOL_PACKET>."
365
366 #. type: TP
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "B<PACKET_ADD_MEMBERSHIP>"
371 msgstr "B<PACKET_ADD_MEMBERSHIP>"
372
373 #. type: TP
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 #, no-wrap
377 msgid "B<PACKET_DROP_MEMBERSHIP>"
378 msgstr "B<PACKET_DROP_MEMBERSHIP>"
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "Packet sockets can be used to configure physical-layer multicasting and "
385 "promiscuous mode. B<PACKET_ADD_MEMBERSHIP> adds a binding and "
386 "B<PACKET_DROP_MEMBERSHIP> drops it. They both expect a I<packet_mreq> "
387 "structure as argument:"
388 msgstr ""
389 "يمكن استخدام مقابس الرزم لتهيئة البث المتعدد على الطبقة المادية والوضع غير "
390 "الانتقائي. يضيف B<PACKET_ADD_MEMBERSHIP> ربطًا ويسقطه "
391 "B<PACKET_DROP_MEMBERSHIP>. يتوقع كلاهما بنية I<packet_mreq> كوسيطة:"
392
393 #. type: Plain text
394 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
395 #: opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid ""
398 "struct packet_mreq {\n"
399 " int mr_ifindex; /* interface index */\n"
400 " unsigned short mr_type; /* action */\n"
401 " unsigned short mr_alen; /* address size */\n"
402 " unsigned char mr_address[8]; /* physical-layer address */\n"
403 "};\n"
404 msgstr ""
405 "struct packet_mreq {\n"
406 " int mr_ifindex; /* interface index */\n"
407 " unsigned short mr_type; /* action */\n"
408 " unsigned short mr_alen; /* address size */\n"
409 " unsigned char mr_address[8]; /* physical-layer address */\n"
410 "};\n"
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "I<mr_ifindex> contains the interface index for the interface whose status "
417 "should be changed. The I<mr_type> field specifies which action to perform. "
418 "B<PACKET_MR_PROMISC> enables receiving all packets on a shared medium (often "
419 "known as \"promiscuous mode\"), B<PACKET_MR_MULTICAST> binds the socket to "
420 "the physical-layer multicast group specified in I<mr_address> and "
421 "I<mr_alen>, and B<PACKET_MR_ALLMULTI> sets the socket up to receive all "
422 "multicast packets arriving at the interface."
423 msgstr ""
424 "يحتوي I<mr_ifindex> على دليل الواجهة للواجهة التي يجب تغيير حالتها. يحدد حقل "
425 "I<mr_type> الإجراء الذي سيُنفذ. يُفعّل B<PACKET_MR_PROMISC> استقبال جميع الرزم "
426 "على وسيط مشترك (يُعرف غالبًا باسم \"الوضع غير الانتقائي\")، ويربط "
427 "B<PACKET_MR_MULTICAST> المقبس بمجموعة البث المتعدد على الطبقة المادية "
428 "المحددة في I<mr_address> و I<mr_alen>، ويُعدّ B<PACKET_MR_ALLMULTI> المقبس "
429 "لاستقبال جميع رزم البث المتعدد الواصلة إلى الواجهة."
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "In addition, the traditional ioctls B<SIOCSIFFLAGS>, B<SIOCADDMULTI>, "
436 "B<SIOCDELMULTI> can be used for the same purpose."
437 msgstr ""
438 "بالإضافة إلى ذلك، يمكن استخدام ioctls التقليدية B<SIOCSIFFLAGS> و "
439 "B<SIOCADDMULTI> و B<SIOCDELMULTI> لنفس الغرض."
440
441 #. type: TP
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "B<PACKET_AUXDATA> (since Linux 2.6.21)"
446 msgstr "B<PACKET_AUXDATA> (منذ لينكس 2.6.21)"
447
448 #. commit 8dc4194474159660d7f37c495e3fc3f10d0db8cc
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid ""
453 "If this binary option is enabled, the packet socket passes a metadata "
454 "structure along with each packet in the B<recvmsg>(2) control field. The "
455 "structure can be read with B<cmsg>(3). It is defined as"
456 msgstr ""
457 "إذا فُعّل هذا الخيار الثنائي، يمرر مقبس الرزم بنية بيانات وصفية مع كل رزمة في "
458 "حقل التحكم B<recvmsg>(2). يمكن قراءة البنية باستخدام B<cmsg>(3). تُعرف "
459 "كالتالي:"
460
461 #. commit a0cdfcf39362410d5ea983f4daf67b38de129408 added tp_vlan_tpid
462 #. type: Plain text
463 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
464 #: opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid ""
467 "struct tpacket_auxdata {\n"
468 " __u32 tp_status;\n"
469 " __u32 tp_len; /* packet size */\n"
470 " __u32 tp_snaplen; /* captured size */\n"
471 " __u16 tp_mac;\n"
472 " __u16 tp_net;\n"
473 " __u16 tp_vlan_tci;\n"
474 " __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n"
475 " were unused padding bytes */\n"
476 "};\n"
477 msgstr ""
478 "struct tpacket_auxdata {\n"
479 " __u32 tp_status;\n"
480 " __u32 tp_len; /* packet size */\n"
481 " __u32 tp_snaplen; /* captured size */\n"
482 " __u16 tp_mac;\n"
483 " __u16 tp_net;\n"
484 " __u16 tp_vlan_tci;\n"
485 " __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n"
486 " were unused padding bytes */\n"
487 "};\n"
488
489 #. type: TP
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "B<PACKET_FANOUT> (since Linux 3.1)"
494 msgstr "B<PACKET_FANOUT> (منذ لينكس 3.1)"
495
496 #. commit dc99f600698dcac69b8f56dda9a8a00d645c5ffc
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 msgid ""
501 "To scale processing across threads, packet sockets can form a fanout group. "
502 "In this mode, each matching packet is enqueued onto only one socket in the "
503 "group. A socket joins a fanout group by calling B<setsockopt>(2) with "
504 "level B<SOL_PACKET> and option B<PACKET_FANOUT>. Each network namespace can "
505 "have up to 65536 independent groups. A socket selects a group by encoding "
506 "the ID in the first 16 bits of the integer option value. The first packet "
507 "socket to join a group implicitly creates it. To successfully join an "
508 "existing group, subsequent packet sockets must have the same protocol, "
509 "device settings, fanout mode, and flags (see below). Packet sockets can "
510 "leave a fanout group only by closing the socket. The group is deleted when "
511 "the last socket is closed."
512 msgstr ""
513 "لتوسيع نطاق المعالجة عبر الخيوط، يمكن لمقابس الرزم تشكيل مجموعة توزيع. في "
514 "هذا الوضع، تُدرج كل رزمة مطابقة في مقبس واحد فقط في المجموعة. ينضم مقبس إلى "
515 "مجموعة توزيع باستدعاء B<setsockopt>(2) بمستوى B<SOL_PACKET> وخيار "
516 "B<PACKET_FANOUT>. يمكن لكل مساحة اسم شبكة أن تحتوي على ما يصل إلى 65536 "
517 "مجموعة مستقلة. يختار المقبس مجموعة بترميز المعرف في أول 16 بت من قيمة الخيار "
518 "الصحيحة. ينشئ أول مقبس رزم ينضم إلى مجموعة ضمنيًا. للانضمام بنجاح إلى مجموعة "
519 "موجودة، يجب أن يكون لمقابس الرزم اللاحقة نفس البروتوكول وإعدادات الجهاز ووضع "
520 "التوزيع والأعلام (انظر أدناه). يمكن لمقابس الرزم مغادرة مجموعة توزيع فقط "
521 "بإغلاق المقبس. تُحذف المجموعة عند إغلاق آخر مقبس."
522
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid ""
527 "Fanout supports multiple algorithms to spread traffic between sockets, as "
528 "follows:"
529 msgstr ""
530 "يدعم التوزيع خوارزميات متعددة لنشر الحركة المرورية بين المقابس، كالتالي:"
531
532 #. type: IP
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 #, no-wrap
536 msgid "\\[bu]"
537 msgstr "\\[bu]"
538
539 #. type: Plain text
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 msgid ""
543 "The default mode, B<PACKET_FANOUT_HASH>, sends packets from the same flow to "
544 "the same socket to maintain per-flow ordering. For each packet, it chooses "
545 "a socket by taking the packet flow hash modulo the number of sockets in the "
546 "group, where a flow hash is a hash over network-layer address and optional "
547 "transport-layer port fields."
548 msgstr ""
549 "الوضع المبدئي، B<PACKET_FANOUT_HASH>، يرسل الرزم من نفس التدفق إلى نفس "
550 "المقبس للحفاظ على ترتيب كل تدفق. لكل رزمة، يختار مقبسًا بأخذ تجزئة تدفق "
551 "الرزمة معامل عدد المقابس في المجموعة، حيث تجزئة التدفق هي تجزئة على عنوان "
552 "طبقة الشبكة وحقول منفذ طبقة النقل الاختيارية."
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 msgid ""
558 "The load-balance mode B<PACKET_FANOUT_LB> implements a round-robin algorithm."
559 msgstr "ينفذ وضع موازنة الحمل B<PACKET_FANOUT_LB> خوارزمية round-robin."
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid ""
565 "B<PACKET_FANOUT_CPU> selects the socket based on the CPU that the packet "
566 "arrived on."
567 msgstr ""
568 "يختار B<PACKET_FANOUT_CPU> المقبس بناءً على وحدة المعالجة المركزية التي وصلت "
569 "عليها الرزمة."
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "B<PACKET_FANOUT_ROLLOVER> processes all data on a single socket, moving to "
576 "the next when one becomes backlogged."
577 msgstr ""
578 "يعالج B<PACKET_FANOUT_ROLLOVER> جميع البيانات على مقبس واحد، منتقلًا إلى "
579 "التالي عندما يصبح أحدها متراكمًا."
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 msgid ""
585 "B<PACKET_FANOUT_RND> selects the socket using a pseudo-random number "
586 "generator."
587 msgstr "يختار B<PACKET_FANOUT_RND> المقبس باستخدام مولد أرقام شبه عشوائي."
588
589 #. commit 2d36097d26b5991d71a2cf4a20c1a158f0f1bfcd
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 msgid ""
594 "B<PACKET_FANOUT_QM> (available since Linux 3.14) selects the socket using "
595 "the recorded queue_mapping of the received skb."
596 msgstr ""
597 "يختار B<PACKET_FANOUT_QM> (المتوفر منذ لينكس 3.14) المقبس باستخدام "
598 "queue_mapping المسجل لـ skb المستلم."
599
600 #. type: Plain text
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 msgid ""
604 "Fanout modes can take additional options. IP fragmentation causes packets "
605 "from the same flow to have different flow hashes. The flag "
606 "B<PACKET_FANOUT_FLAG_DEFRAG>, if set, causes packets to be defragmented "
607 "before fanout is applied, to preserve order even in this case. Fanout mode "
608 "and options are communicated in the second 16 bits of the integer option "
609 "value. The flag B<PACKET_FANOUT_FLAG_ROLLOVER> enables the roll over "
610 "mechanism as a backup strategy: if the original fanout algorithm selects a "
611 "backlogged socket, the packet rolls over to the next available one."
612 msgstr ""
613 "يمكن لوضعيات التوزيع أن تأخذ خيارات إضافية. يتسبب تجزئة IP في أن يكون للرزم "
614 "من نفس التدفق تجزئات تدفق مختلفة. العلم B<PACKET_FANOUT_FLAG_DEFRAG>، إذا "
615 "ضُبط، يتسبب في إزالة تجزئة الرزم قبل تطبيق التوزيع، للحفاظ على الترتيب حتى في "
616 "هذه الحالة. يُبلغ عن وضع التوزيع والخيارات في الـ 16 بت الثانية من قيمة "
617 "الخيار الصحيحة. يُفعّل العلم B<PACKET_FANOUT_FLAG_ROLLOVER> آلية التجاوز "
618 "كاستراتيجية احتياطية: إذا اختارت خوارزمية التوزيع الأصلية مقبسًا متراكمًا، "
619 "تتجاوز الرزمة إلى المقبس التالي المتاح."
620
621 #. type: TP
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 #, no-wrap
625 msgid "B<PACKET_LOSS> (with B<PACKET_TX_RING>)"
626 msgstr "B<PACKET_LOSS> (مع B<PACKET_TX_RING>)"
627
628 #. type: Plain text
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 msgid ""
632 "When a malformed packet is encountered on a transmit ring, the default is to "
633 "reset its I<tp_status> to B<TP_STATUS_WRONG_FORMAT> and abort the "
634 "transmission immediately. The malformed packet blocks itself and "
635 "subsequently enqueued packets from being sent. The format error must be "
636 "fixed, the associated I<tp_status> reset to B<TP_STATUS_SEND_REQUEST>, and "
637 "the transmission process restarted via B<send>(2). However, if "
638 "B<PACKET_LOSS> is set, any malformed packet will be skipped, its "
639 "I<tp_status> reset to B<TP_STATUS_AVAILABLE>, and the transmission process "
640 "continued."
641 msgstr ""
642 "عند مواجهة رزمة مشوهة على حلقة إرسال، المبدئي هو إعادة تعيين I<tp_status> "
643 "الخاص بها إلى B<TP_STATUS_WRONG_FORMAT> وإحباط الإرسال فورًا. تمنع الرزمة "
644 "المشوهة نفسها والرزم المدرجة لاحقًا من الإرسال. يجب إصلاح خطأ التنسيق، وإعادة "
645 "تعيين I<tp_status> المرتبط إلى B<TP_STATUS_SEND_REQUEST>، وإعادة بدء عملية "
646 "الإرسال عبر B<send>(2). ومع ذلك، إذا ضُبط B<PACKET_LOSS>، ستُتجاوز أي رزمة "
647 "مشوهة، ويُعاد تعيين I<tp_status> الخاص بها إلى B<TP_STATUS_AVAILABLE>، وتستمر "
648 "عملية الإرسال."
649
650 #. type: TP
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 #, no-wrap
654 msgid "B<PACKET_RESERVE> (with B<PACKET_RX_RING>)"
655 msgstr "B<PACKET_RESERVE> (مع B<PACKET_RX_RING>)"
656
657 #. type: Plain text
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 msgid ""
661 "By default, a packet receive ring writes packets immediately following the "
662 "metadata structure and alignment padding. This integer option reserves "
663 "additional headroom."
664 msgstr ""
665 "مبدئيًا، تكتب حلقة استقبال الرزم الرزم مباشرة بعد بنية البيانات الوصفية وحشو "
666 "المحاذاة. يحتفظ هذا الخيار الصحيح بمساحة رأس إضافية."
667
668 #. type: TP
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 #, no-wrap
672 msgid "B<PACKET_RX_RING>"
673 msgstr "B<PACKET_RX_RING>"
674
675 #. type: Plain text
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 msgid ""
679 "Create a memory-mapped ring buffer for asynchronous packet reception. The "
680 "packet socket reserves a contiguous region of application address space, "
681 "lays it out into an array of packet slots and copies packets (up to "
682 "I<tp_snaplen>) into subsequent slots. Each packet is preceded by a "
683 "metadata structure similar to I<tpacket_auxdata>. The protocol fields "
684 "encode the offset to the data from the start of the metadata header. "
685 "I<tp_net> stores the offset to the network layer. If the packet socket is "
686 "of type B<SOCK_DGRAM>, then I<tp_mac> is the same. If it is of type "
687 "B<SOCK_RAW>, then that field stores the offset to the link-layer frame. "
688 "Packet socket and application communicate the head and tail of the ring "
689 "through the I<tp_status> field. The packet socket owns all slots with "
690 "I<tp_status> equal to B<TP_STATUS_KERNEL>. After filling a slot, it changes "
691 "the status of the slot to transfer ownership to the application. During "
692 "normal operation, the new I<tp_status> value has at least the "
693 "B<TP_STATUS_USER> bit set to signal that a received packet has been stored. "
694 "When the application has finished processing a packet, it transfers "
695 "ownership of the slot back to the socket by setting I<tp_status> equal to "
696 "B<TP_STATUS_KERNEL>."
697 msgstr ""
698 "إنشاء مخزن مؤقت حلقي مرتبط بالذاكرة لاستقبال الرزم غير المتزامن. يحجز مقبس "
699 "الرزم منطقة متجاورة من مساحة عنوان التطبيق، ويرتبها في مصفوفة من فتحات "
700 "الرزم، وينسخ الرزم (حتى I<tp_snaplen>) في الفتحات المتعاقبة. تسبق كل رزمة "
701 "بنية بيانات وصفية مشابهة لـ I<tpacket_auxdata>. ترمز حقول البروتوكول إلى "
702 "الإزاحة للبيانات من بداية الرأس الوصفي. يخزن I<tp_net> الإزاحة لطبقة الشبكة. "
703 "إذا كان مقبس الرزم من النوع B<SOCK_DGRAM>، فإن I<tp_mac> يكون مماثلاً. إذا "
704 "كان من النوع B<SOCK_RAW>، فإن هذا الحقل يخزن الإزاحة لإطار طبقة الوصلة. "
705 "يتواصل مقبس الرزم والتطبيق حول بداية ونهاية الحلقة عبر حقل I<tp_status>. "
706 "يمتلك مقبس الرزم جميع الفتحات التي تكون قيمة I<tp_status> فيها مساوية لـ "
707 "B<TP_STATUS_KERNEL>. بعد ملء فتحة، يغير حالة الفتحة لنقل الملكية إلى "
708 "التطبيق. أثناء التشغيل العادي، تحتوي قيمة I<tp_status> الجديدة على الأقل على "
709 "بت B<TP_STATUS_USER> مضبوط للإشارة إلى تخزين رزمة مستلمة. عندما ينهي التطبيق "
710 "معالجة رزمة، ينقل ملكية الفتحة مرة أخرى إلى المقبس بضبط I<tp_status> مساوياً "
711 "لـ B<TP_STATUS_KERNEL>."
712
713 #. type: Plain text
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 msgid ""
717 "Packet sockets implement multiple variants of the packet ring. The "
718 "implementation details are described in I<Documentation/networking/"
719 "packet_mmap.rst> in the Linux kernel source tree."
720 msgstr ""
721 "تنفذ مقابس الرزم متغيرات متعددة للحلقة الرزمة. تفاصيل التنفيذ موصوفة في "
722 "I<Documentation/networking/packet_mmap.rst> في شجرة مصدر نواة لينكس."
723
724 #. type: TP
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 #, no-wrap
728 msgid "B<PACKET_STATISTICS>"
729 msgstr "B<PACKET_STATISTICS>"
730
731 #. type: Plain text
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 msgid "Retrieve packet socket statistics in the form of a structure"
735 msgstr "استرداد إحصائيات مقبس الرزم في شكل بنية"
736
737 #. type: Plain text
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 #, no-wrap
741 msgid ""
742 "struct tpacket_stats {\n"
743 " unsigned int tp_packets; /* Total packet count */\n"
744 " unsigned int tp_drops; /* Dropped packet count */\n"
745 "};\n"
746 msgstr ""
747 "struct tpacket_stats {\n"
748 " unsigned int tp_packets; /* Total packet count */\n"
749 " unsigned int tp_drops; /* Dropped packet count */\n"
750 "};\n"
751
752 #. type: Plain text
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
755 msgid ""
756 "Receiving statistics resets the internal counters. The statistics structure "
757 "differs when using a ring of variant B<TPACKET_V3>."
758 msgstr ""
759 "استلام الإحصائيات يعيد ضبط العدادات الداخلية. تختلف بنية الإحصائيات عند "
760 "استخدام حلقة من المتغير B<TPACKET_V3>."
761
762 #. type: TP
763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
765 #, no-wrap
766 msgid "B<PACKET_TIMESTAMP> (with B<PACKET_RX_RING>; since Linux 2.6.36)"
767 msgstr "B<PACKET_TIMESTAMP> (مع B<PACKET_RX_RING>؛ منذ لينكس 2.6.36)"
768
769 #. commit 614f60fa9d73a9e8fdff3df83381907fea7c5649
770 #. type: Plain text
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 msgid ""
774 "The packet receive ring always stores a timestamp in the metadata header. "
775 "By default, this is a software generated timestamp generated when the packet "
776 "is copied into the ring. This integer option selects the type of "
777 "timestamp. Besides the default, it support the two hardware formats "
778 "described in I<Documentation/networking/timestamping.rst> in the Linux "
779 "kernel source tree."
780 msgstr ""
781 "تخزن حلقة استقبال الرزم دائمًا طابعًا زمنيًا في الرأس الوصفي. مبدئيًا، هذا طابع "
782 "زمني مولّد برمجيًا عند نسخ الرزمة إلى الحلقة. يحدد هذا الخيار الصحيح نوع "
783 "الطابع الزمني. بالإضافة إلى المبدئي، يدعم التنسيقين العتاديين الموصوفين في "
784 "I<Documentation/networking/timestamping.rst> في شجرة مصدر نواة لينكس."
785
786 #. type: TP
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 #, no-wrap
790 msgid "B<PACKET_TX_RING> (since Linux 2.6.31)"
791 msgstr "B<PACKET_TX_RING> (منذ لينكس 2.6.31)"
792
793 #. commit 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 msgid ""
798 "Create a memory-mapped ring buffer for packet transmission. This option is "
799 "similar to B<PACKET_RX_RING> and takes the same arguments. The application "
800 "writes packets into slots with I<tp_status> equal to B<TP_STATUS_AVAILABLE> "
801 "and schedules them for transmission by changing I<tp_status> to "
802 "B<TP_STATUS_SEND_REQUEST>. When packets are ready to be transmitted, the "
803 "application calls B<send>(2) or a variant thereof. The I<buf> and I<len> "
804 "fields of this call are ignored. If an address is passed using "
805 "B<sendto>(2) or B<sendmsg>(2), then that overrides the socket default. On "
806 "successful transmission, the socket resets I<tp_status> to "
807 "B<TP_STATUS_AVAILABLE>. It immediately aborts the transmission on error "
808 "unless B<PACKET_LOSS> is set."
809 msgstr ""
810 "إنشاء مخزن مؤقت حلقي مرتبط بالذاكرة لإرسال الرزم. هذا الخيار مشابه لـ "
811 "B<PACKET_RX_RING> ويأخذ نفس الوسائط. يكتب التطبيق الرزم في فتحات تكون قيمة "
812 "I<tp_status> فيها مساوية لـ B<TP_STATUS_AVAILABLE> ويجدولها للإرسال بتغيير "
813 "I<tp_status> إلى B<TP_STATUS_SEND_REQUEST>. عندما تكون الرزم جاهزة للإرسال، "
814 "يستدعي التطبيق B<send>(2) أو متغيرًا منه. يتم تجاهل حقلي I<buf> و I<len> لهذه "
815 "الاستدعاء. إذا تم تمرير عنوان باستخدام B<sendto>(2) أو B<sendmsg>(2)، فإنه "
816 "يتجاوز المبدئي للمقبس. عند الإرسال الناجح، يعيد المقبس ضبط I<tp_status> إلى "
817 "B<TP_STATUS_AVAILABLE>. يلغي الإرسال فورًا عند الخطأ ما لم يتم ضبط "
818 "B<PACKET_LOSS>."
819
820 #. type: TP
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 #, no-wrap
824 msgid "B<PACKET_VERSION> (with B<PACKET_RX_RING>; since Linux 2.6.27)"
825 msgstr "B<PACKET_VERSION> (مع B<PACKET_RX_RING>؛ منذ لينكس 2.6.27)"
826
827 #. commit bbd6ef87c544d88c30e4b762b1b61ef267a7d279
828 #. type: Plain text
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
831 msgid ""
832 "By default, B<PACKET_RX_RING> creates a packet receive ring of variant "
833 "B<TPACKET_V1>. To create another variant, configure the desired variant by "
834 "setting this integer option before creating the ring."
835 msgstr ""
836 "مبدئيًا، ينشئ B<PACKET_RX_RING> حلقة استقبال رزم من المتغير B<TPACKET_V1>. "
837 "لإنشاء متغير آخر، قم بتكوين المتغير المطلوب بضبط هذا الخيار الصحيح قبل إنشاء "
838 "الحلقة."
839
840 #. type: TP
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 #, no-wrap
844 msgid "B<PACKET_QDISC_BYPASS> (since Linux 3.14)"
845 msgstr "B<PACKET_QDISC_BYPASS> (منذ لينكس 3.14)"
846
847 #. commit d346a3fae3ff1d99f5d0c819bf86edf9094a26a1
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 "By default, packets sent through packet sockets pass through the kernel's "
853 "qdisc (traffic control) layer, which is fine for the vast majority of use "
854 "cases. For traffic generator appliances using packet sockets that intend to "
855 "brute-force flood the network\\[em]for example, to test devices under load "
856 "in a similar fashion to pktgen\\[em]this layer can be bypassed by setting "
857 "this integer option to 1. A side effect is that packet buffering in the "
858 "qdisc layer is avoided, which will lead to increased drops when network "
859 "device transmit queues are busy; therefore, use at your own risk."
860 msgstr ""
861 "مبدئيًا، تمر الرزم المرسلة عبر مقابس الرزم عبر طبقة qdisc (التحكم في المرور) "
862 "للنواة، وهو أمر جيد للغالبية العظمى من حالات الاستخدام. لأجهزة توليد المرور "
863 "التي تستخدم مقابس الرزم والتي تهدف إلى إغراق الشبكة بالقوة\\[em]على سبيل "
864 "المثال، لاختبار الأجهزة تحت الحمل بطريقة مشابهة لـ pktgen\\[em]يمكن تجاوز "
865 "هذه الطبقة بضبط هذا الخيار الصحيح إلى 1. أحد الآثار الجانبية هو تجنب تخزين "
866 "الرزم في طبقة qdisc، مما سيؤدي إلى زيادة الإسقاط عندما تكون قوائم إرسال جهاز "
867 "الشبكة مشغولة؛ لذلك، استخدم على مسؤوليتك الخاصة."
868
869 #. type: SS
870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
872 #, no-wrap
873 msgid "Ioctls"
874 msgstr "Ioctls"
875
876 #. FIXME Document SIOCGSTAMPNS
877 #. type: Plain text
878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
880 msgid ""
881 "B<SIOCGSTAMP> can be used to receive the timestamp of the last received "
882 "packet. Argument is a I<struct timeval> variable."
883 msgstr ""
884 "يمكن استخدام B<SIOCGSTAMP> لاستلام الطابع الزمني لآخر رزمة مستلمة. الوسيطة "
885 "هي متغير من نوع I<struct timeval>."
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 "In addition, all standard ioctls defined in B<netdevice>(7) and "
892 "B<socket>(7) are valid on packet sockets."
893 msgstr ""
894 "بالإضافة إلى ذلك، جميع ioctls القياسية المعرفة في B<netdevice>(7) و "
895 "B<socket>(7) صالحة على مقابس الرزم."
896
897 #. type: SS
898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
900 #, no-wrap
901 msgid "Error handling"
902 msgstr "معالجة الأخطاء"
903
904 #. type: Plain text
905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
907 msgid ""
908 "Packet sockets do no error handling other than errors occurred while passing "
909 "the packet to the device driver. They don't have the concept of a pending "
910 "error."
911 msgstr ""
912 "لا تقوم مقابس الرزم بأي معالجة للأخطاء بخلاف الأخطاء التي تحدث أثناء تمرير "
913 "الرزمة إلى برنامج تشغيل الجهاز. ليس لديها مفهوم الخطأ المعلق."
914
915 #. type: SH
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 #, no-wrap
919 msgid "ERRORS"
920 msgstr "الأخطاء"
921
922 #. type: TP
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 #, no-wrap
926 msgid "B<EADDRNOTAVAIL>"
927 msgstr "B<EADDRNOTAVAIL>"
928
929 #. type: Plain text
930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
932 msgid "Unknown multicast group address passed."
933 msgstr "تم تمرير عنوان مجموعة بث متعدد غير معروف."
934
935 #. type: TP
936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
938 #, no-wrap
939 msgid "B<EFAULT>"
940 msgstr "B<EFAULT>"
941
942 #. type: Plain text
943 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
944 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
945 msgid "User passed invalid memory address."
946 msgstr "مرر المستخدم عنوان ذاكرة غير صالح."
947
948 #. type: TP
949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
951 #, no-wrap
952 msgid "B<EINVAL>"
953 msgstr "B<EINVAL>"
954
955 #. type: Plain text
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 msgid "Invalid argument."
959 msgstr "معطى غير صالح."
960
961 #. type: TP
962 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
963 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
964 #, no-wrap
965 msgid "B<EMSGSIZE>"
966 msgstr "B<EMSGSIZE>"
967
968 #. type: Plain text
969 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
970 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
971 msgid "Packet is bigger than interface MTU."
972 msgstr "الرزمة أكبر من MTU للواجهة."
973
974 #. type: TP
975 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
976 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
977 #, no-wrap
978 msgid "B<ENETDOWN>"
979 msgstr "B<ENETDOWN>"
980
981 #. type: Plain text
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
984 msgid "Interface is not up."
985 msgstr "الواجهة غير نشطة."
986
987 #. type: TP
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 #, no-wrap
991 msgid "B<ENOBUFS>"
992 msgstr "B<ENOBUFS>"
993
994 #. type: Plain text
995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
997 msgid "Not enough memory to allocate the packet."
998 msgstr "ذاكرة غير كافية لتخصيص الرزمة."
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<ENODEV>"
1005 msgstr "B<ENODEV>"
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 "Unknown device name or interface index specified in interface address."
1011 msgstr "اسم جهاز غير معروف أو فهرس واجهة محدد في عنوان الواجهة."
1012
1013 #. type: TP
1014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1016 #, no-wrap
1017 msgid "B<ENOENT>"
1018 msgstr "B<ENOENT>"
1019
1020 #. type: Plain text
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 msgid "No packet received."
1024 msgstr "لم يتم استلام أي رزمة."
1025
1026 #. type: TP
1027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1029 #, no-wrap
1030 msgid "B<ENOTCONN>"
1031 msgstr "B<ENOTCONN>"
1032
1033 #. type: Plain text
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1036 msgid "No interface address passed."
1037 msgstr "لم يتم تمرير أي عنوان واجهة."
1038
1039 #. type: TP
1040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1042 #, no-wrap
1043 msgid "B<ENXIO>"
1044 msgstr "B<ENXIO>"
1045
1046 #. type: Plain text
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 msgid "Interface address contained an invalid interface index."
1050 msgstr "عنوان الواجهة احتوى على فهرس واجهة غير صالح."
1051
1052 #. type: TP
1053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1055 #, no-wrap
1056 msgid "B<EPERM>"
1057 msgstr "B<EPERM>"
1058
1059 #. type: Plain text
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 msgid "User has insufficient privileges to carry out this operation."
1063 msgstr "المستخدم لا يملك صلاحيات كافية لتنفيذ هذه العملية."
1064
1065 #. type: Plain text
1066 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1067 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1068 msgid "In addition, other errors may be generated by the low-level driver."
1069 msgstr ""
1070 "بالإضافة إلى ذلك، قد تُولد أخطاء أخرى بواسطة برنامج التشغيل منخفض المستوى."
1071
1072 #. type: SH
1073 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1074 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1075 #, no-wrap
1076 msgid "VERSIONS"
1077 msgstr "الإصدارات"
1078
1079 #. type: Plain text
1080 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1081 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1082 msgid ""
1083 "B<AF_PACKET> is a new feature in Linux 2.2. Earlier Linux versions "
1084 "supported only B<SOCK_PACKET>."
1085 msgstr ""
1086 "B<AF_PACKET> هي ميزة جديدة في لينكس 2.2. الإصدارات السابقة من لينكس دعمت "
1087 "فقط B<SOCK_PACKET>."
1088
1089 #. type: SH
1090 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1091 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1092 #, no-wrap
1093 msgid "NOTES"
1094 msgstr "ملاحظات"
1095
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 "For portable programs it is suggested to use B<AF_PACKET> via B<pcap>(3); "
1101 "although this covers only a subset of the B<AF_PACKET> features."
1102 msgstr ""
1103 "للبرامج المحمولة، يُقترح استخدام B<AF_PACKET> عبر B<pcap>(3)؛ على الرغم من أن "
1104 "هذا يغطي فقط مجموعة فرعية من ميزات B<AF_PACKET>."
1105
1106 #. type: Plain text
1107 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1108 #: opensuse-leap-16-1 opensuse-tumbleweed
1109 msgid ""
1110 "The B<SOCK_DGRAM> packet sockets make no attempt to create or parse the IEEE "
1111 "802.2 LLC header for a IEEE 802.3 frame. When B<ETH_P_802_3> is specified "
1112 "as protocol for sending the kernel creates the 802.3 frame and fills out the "
1113 "size field; the user has to supply the LLC header to get a fully conforming "
1114 "packet. Incoming 802.3 packets are not multiplexed on the DSAP/SSAP "
1115 "protocol fields; instead they are supplied to the user as protocol "
1116 "B<ETH_P_802_2> with the LLC header prefixed. It is thus not possible to "
1117 "bind to B<ETH_P_802_3>; bind to B<ETH_P_802_2> instead and do the protocol "
1118 "multiplex yourself. The default for sending is the standard Ethernet DIX "
1119 "encapsulation with the protocol filled in."
1120 msgstr ""
1121 "مقابس الحزم B<SOCK_DGRAM> لا تقوم بأي محاولة لإنشاء أو تحليل رأس IEEE 802.2 "
1122 "LLC لإطار IEEE 802.3. عندما يُحدد B<ETH_P_802_3> كبروتوكول للإرسال، ينشئ "
1123 "النواة إطار 802.3 ويملأ حقل الحجم؛ يجب على المستخدم توفير رأس LLC للحصول على "
1124 "حزمة متوافقة تمامًا. حزم 802.3 الواردة لا تُضاعف على حقول بروتوكول DSAP/SSAP؛ "
1125 "بدلاً من ذلك، تُقدم للمستخدم كبروتوكول B<ETH_P_802_2> مع رأس LLC مسبوق. "
1126 "وبالتالي، لا يمكن الربط بـ B<ETH_P_802_3>؛ اربط بـ B<ETH_P_802_2> بدلاً من "
1127 "ذلك وقم بتضاعف البروتوكول بنفسك. المبدئي للإرسال هو تغليف Ethernet DIX "
1128 "القياسي مع البروتوكول المملوء."
1129
1130 #. type: Plain text
1131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1133 msgid "Packet sockets are not subject to the input or output firewall chains."
1134 msgstr "مقابس الحزم لا تخضع لسلاسل جدار الحماية للإدخال أو الإخراج."
1135
1136 #. type: SS
1137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1139 #, no-wrap
1140 msgid "Compatibility"
1141 msgstr "التوافقية"
1142
1143 #. type: Plain text
1144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1146 msgid "In Linux 2.0, the only way to get a packet socket was with the call:"
1147 msgstr "في لينكس 2.0، الطريقة الوحيدة للحصول على مقبس حزمة كانت بالاستدعاء:"
1148
1149 #. type: Plain text
1150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1152 #, no-wrap
1153 msgid "socket(AF_INET, SOCK_PACKET, protocol)\n"
1154 msgstr "socket(AF_INET, SOCK_PACKET, protocol)\n"
1155
1156 #. type: Plain text
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 msgid ""
1160 "This is still supported, but deprecated and strongly discouraged. The main "
1161 "difference between the two methods is that B<SOCK_PACKET> uses the old "
1162 "I<struct sockaddr_pkt> to specify an interface, which doesn't provide "
1163 "physical-layer independence."
1164 msgstr ""
1165 "هذا لا يزال مدعومًا، لكنه مهمل ومثبط بشدة. الفرق الرئيسي بين الطريقتين هو أن "
1166 "B<SOCK_PACKET> تستخدم I<struct sockaddr_pkt> القديمة لتحديد واجهة، والتي لا "
1167 "توفر استقلالية الطبقة المادية."
1168
1169 #. type: Plain text
1170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1172 #, no-wrap
1173 msgid ""
1174 "struct sockaddr_pkt {\n"
1175 " unsigned short spkt_family;\n"
1176 " unsigned char spkt_device[14];\n"
1177 " unsigned short spkt_protocol;\n"
1178 "};\n"
1179 msgstr ""
1180 "struct sockaddr_pkt {\n"
1181 " unsigned short spkt_family;\n"
1182 " unsigned char spkt_device[14];\n"
1183 " unsigned short spkt_protocol;\n"
1184 "};\n"
1185
1186 #. type: Plain text
1187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1189 msgid ""
1190 "I<spkt_family> contains the device type, I<spkt_protocol> is the IEEE 802.3 "
1191 "protocol type as defined in I<E<lt>sys/if_ether.hE<gt>> and I<spkt_device> "
1192 "is the device name as a null-terminated string, for example, eth0."
1193 msgstr ""
1194 "I<spkt_family> يحتوي على نوع الجهاز، I<spkt_protocol> هو نوع بروتوكول IEEE "
1195 "802.3 كما هو معرف في I<E<lt>sys/if_ether.hE<gt>> و I<spkt_device> هو اسم "
1196 "الجهاز كسلسلة منتهية بقيمة خالية، على سبيل المثال، eth0."
1197
1198 #. type: Plain text
1199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1201 msgid "This structure is obsolete and should not be used in new code."
1202 msgstr "هذه البنية قديمة ولا ينبغي استخدامها في كود جديد."
1203
1204 #. type: SH
1205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1207 #, no-wrap
1208 msgid "BUGS"
1209 msgstr "العلل"
1210
1211 #. type: SS
1212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1214 #, no-wrap
1215 msgid "LLC header handling"
1216 msgstr "معالجة رأس LLC"
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 msgid "The IEEE 802.2/803.3 LLC handling could be considered as a bug."
1222 msgstr "يمكن اعتبار معالجة IEEE 802.2/803.3 LLC كخلل."
1223
1224 #. type: SS
1225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1227 #, no-wrap
1228 msgid "MSG_TRUNC issues"
1229 msgstr "مشكلات MSG_TRUNC"
1230
1231 #. type: Plain text
1232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1234 msgid ""
1235 "The B<MSG_TRUNC> B<recvmsg>(2) extension is an ugly hack and should be "
1236 "replaced by a control message. There is currently no way to get the "
1237 "original destination address of packets via B<SOCK_DGRAM>."
1238 msgstr ""
1239 "امتداد B<MSG_TRUNC> B<recvmsg>(2) هو اختراق قبيح وينبغي استبداله برسالة "
1240 "تحكم. لا توجد حاليًا طريقة للحصول على عنوان الوجهة الأصلي للحزم عبر "
1241 "B<SOCK_DGRAM>."
1242
1243 #. type: SS
1244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1246 #, no-wrap
1247 msgid "spkt_device device name truncation"
1248 msgstr "اقتطاع اسم الجهاز spkt_device"
1249
1250 #. type: Plain text
1251 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1252 #: opensuse-leap-16-1 opensuse-tumbleweed
1253 msgid ""
1254 "The I<spkt_device> field of I<sockaddr_pkt> has a size of 14 bytes, which is "
1255 "less than the constant B<IFNAMSIZ> defined in I<E<lt>net/if.hE<gt>> which is "
1256 "16 bytes and describes the system limit for a network interface name. This "
1257 "means the names of network devices longer than 14 bytes will be truncated to "
1258 "fit into I<spkt_device>. All these sizes include the terminating null byte "
1259 "(\\[aq]\\[rs]0\\[aq]))."
1260 msgstr ""
1261 "حقل I<spkt_device> من I<sockaddr_pkt> بحجم 14 بايت، وهو أقل من الثابت "
1262 "B<IFNAMSIZ> المعرف في I<E<lt>net/if.hE<gt>> والذي يساوي 16 بايت ويصف حد "
1263 "النظام لاسم واجهة الشبكة. هذا يعني أن أسماء أجهزة الشبكة الأطول من 14 بايت "
1264 "ستُقتطع لتناسب I<spkt_device>. كل هذه الأحجام تتضمن البايت الفارغ الختامي "
1265 "(\\[aq]\\[rs]0\\[aq]))."
1266
1267 #. type: Plain text
1268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1270 msgid ""
1271 "Issues from this with old code typically show up with very long interface "
1272 "names used by the B<Predictable Network Interface Names> feature enabled by "
1273 "default in many modern Linux distributions."
1274 msgstr ""
1275 "مشكلات من هذا مع الكود القديم تظهر عادةً مع أسماء واجهات طويلة جدًا تستخدمها "
1276 "ميزة B<Predictable Network Interface Names> المفعلة مبدئيًا في العديد من "
1277 "توزيعات لينكس الحديثة."
1278
1279 #. type: Plain text
1280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1282 msgid ""
1283 "The preferred solution is to rewrite code to avoid B<SOCK_PACKET>. Possible "
1284 "user solutions are to disable B<Predictable Network Interface Names> or to "
1285 "rename the interface to a name of at most 13 bytes, for example using the "
1286 "B<ip>(8) tool."
1287 msgstr ""
1288 "الحل المفضل هو إعادة كتابة الكود لتجنب B<SOCK_PACKET>. الحلول الممكنة "
1289 "للمستخدم هي تعطيل B<Predictable Network Interface Names> أو إعادة تسمية "
1290 "الواجهة إلى اسم بطول 13 بايت على الأكثر، على سبيل المثال باستخدام أداة "
1291 "B<ip>(8)."
1292
1293 #. type: SS
1294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1296 #, no-wrap
1297 msgid "Documentation issues"
1298 msgstr "مشكلات التوثيق"
1299
1300 #. .SH CREDITS
1301 #. This man page was written by Andi Kleen with help from Matthew Wilcox.
1302 #. AF_PACKET in Linux 2.2 was implemented
1303 #. by Alexey Kuznetsov, based on code by Alan Cox and others.
1304 #. type: Plain text
1305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1307 msgid "Socket filters are not documented."
1308 msgstr "مرشحات المقبس غير موثقة."
1309
1310 #. type: SH
1311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1313 #, no-wrap
1314 msgid "SEE ALSO"
1315 msgstr "انظر أيضًا"
1316
1317 #. type: Plain text
1318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1320 msgid ""
1321 "B<socket>(2), B<pcap>(3), B<capabilities>(7), B<ip>(7), B<raw>(7), "
1322 "B<socket>(7), B<ip>(8),"
1323 msgstr ""
1324 "B<socket>(2), B<pcap>(3), B<capabilities>(7), B<ip>(7), B<raw>(7), "
1325 "B<socket>(7), B<ip>(8),"
1326
1327 #. type: Plain text
1328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1330 msgid ""
1331 "RFC\\ 894 for the standard IP Ethernet encapsulation. RFC\\ 1700 for the "
1332 "IEEE 802.3 IP encapsulation."
1333 msgstr ""
1334 "RFC\\ 894 لتغليف IP Ethernet القياسي. RFC\\ 1700 لتغليف IP IEEE 802.3."
1335
1336 #. type: Plain text
1337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1339 msgid ""
1340 "The I<E<lt>linux/if_ether.hE<gt>> include file for physical-layer protocols."
1341 msgstr "ملف التضمين I<E<lt>linux/if_ether.hE<gt>> لبروتوكولات الطبقة المادية."
1342
1343 #. type: Plain text
1344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1346 msgid ""
1347 "The Linux kernel source tree. I<Documentation/networking/filter.rst> "
1348 "describes how to apply Berkeley Packet Filters to packet sockets. I<tools/"
1349 "testing/selftests/net/psock_tpacket.c> contains example source code for all "
1350 "available versions of B<PACKET_RX_RING> and B<PACKET_TX_RING>."
1351 msgstr ""
1352 "شجرة مصدر نواة لينكس. يصف I<Documentation/networking/filter.rst> كيفية تطبيق "
1353 "مرشحات حزم بيركلي على مقابس الحزم. يحتوي I<tools/testing/selftests/net/"
1354 "psock_tpacket.c> على كود مصدري أمثلة لجميع الإصدارات المتاحة من "
1355 "B<PACKET_RX_RING> و B<PACKET_TX_RING>."
1356
1357 #. type: TH
1358 #: debian-trixie
1359 #, no-wrap
1360 msgid "2024-06-15"
1361 msgstr "15 يونيو 2024"
1362
1363 #. type: TH
1364 #: debian-trixie
1365 #, no-wrap
1366 msgid "Linux man-pages 6.9.1"
1367 msgstr "صفحات دليل لينكس 6.9.1"
1368
1369 #. type: Plain text
1370 #: debian-trixie
1371 msgid ""
1372 "When the B<MSG_TRUNC> flag is passed to B<recvmsg>(2), B<recv>(2), or "
1373 "B<recvfrom>(2), the real length of the packet on the wire is always "
1374 "returned, even when it is longer than the buffer."
1375 msgstr ""
1376 "عند تمرير العلم B<MSG_TRUNC> إلى B<recvmsg>(2) أو B<recv>(2) أو "
1377 "B<recvfrom>(2)، يُعاد الطول الحقيقي للحزمة على السلك دائمًا، حتى عندما يكون "
1378 "أطول من المخزن المؤقت."
1379
1380 #. type: Plain text
1381 #: debian-trixie
1382 #, no-wrap
1383 msgid ""
1384 "struct sockaddr_ll {\n"
1385 " unsigned short sll_family; /* Always AF_PACKET */\n"
1386 " unsigned short sll_protocol; /* Physical-layer protocol */\n"
1387 " int sll_ifindex; /* Interface number */\n"
1388 " unsigned short sll_hatype; /* ARP hardware type */\n"
1389 " unsigned char sll_pkttype; /* Packet type */\n"
1390 " unsigned char sll_halen; /* Length of address */\n"
1391 " unsigned char sll_addr[8]; /* Physical-layer address */\n"
1392 "};\n"
1393 msgstr ""
1394 "struct sockaddr_ll {\n"
1395 " unsigned short sll_family; /* Always AF_PACKET */\n"
1396 " unsigned short sll_protocol; /* Physical-layer protocol */\n"
1397 " int sll_ifindex; /* Interface number */\n"
1398 " unsigned short sll_hatype; /* ARP hardware type */\n"
1399 " unsigned char sll_pkttype; /* Packet type */\n"
1400 " unsigned char sll_halen; /* Length of address */\n"
1401 " unsigned char sll_addr[8]; /* Physical-layer address */\n"
1402 "};\n"
1403
1404 #. type: Plain text
1405 #: debian-trixie
1406 msgid ""
1407 "contain the physical-layer (e.g., IEEE 802.3) address and its length. The "
1408 "exact interpretation depends on the device."
1409 msgstr ""
1410 "تحتوي على عنوان الطبقة المادية (مثل IEEE 802.3) وطوله. يعتمد التفسير الدقيق "
1411 "على الجهاز."
1412
1413 #. type: Plain text
1414 #: debian-trixie
1415 #, no-wrap
1416 msgid ""
1417 "struct packet_mreq {\n"
1418 " int mr_ifindex; /* interface index */\n"
1419 " unsigned short mr_type; /* action */\n"
1420 " unsigned short mr_alen; /* address length */\n"
1421 " unsigned char mr_address[8]; /* physical-layer address */\n"
1422 "};\n"
1423 msgstr ""
1424 "struct packet_mreq {\n"
1425 " int mr_ifindex; /* interface index */\n"
1426 " unsigned short mr_type; /* action */\n"
1427 " unsigned short mr_alen; /* address length */\n"
1428 " unsigned char mr_address[8]; /* physical-layer address */\n"
1429 "};\n"
1430
1431 #. commit a0cdfcf39362410d5ea983f4daf67b38de129408 added tp_vlan_tpid
1432 #. type: Plain text
1433 #: debian-trixie
1434 #, no-wrap
1435 msgid ""
1436 "struct tpacket_auxdata {\n"
1437 " __u32 tp_status;\n"
1438 " __u32 tp_len; /* packet length */\n"
1439 " __u32 tp_snaplen; /* captured length */\n"
1440 " __u16 tp_mac;\n"
1441 " __u16 tp_net;\n"
1442 " __u16 tp_vlan_tci;\n"
1443 " __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n"
1444 " were unused padding bytes */\n"
1445 "};\n"
1446 msgstr ""
1447 "struct tpacket_auxdata {\n"
1448 " __u32 tp_status;\n"
1449 " __u32 tp_len; /* packet length */\n"
1450 " __u32 tp_snaplen; /* captured length */\n"
1451 " __u16 tp_mac;\n"
1452 " __u16 tp_net;\n"
1453 " __u16 tp_vlan_tci;\n"
1454 " __u16 tp_vlan_tpid; /* Since Linux 3.14; earlier, these\n"
1455 " were unused padding bytes */\n"
1456 "};\n"
1457
1458 #. type: Plain text
1459 #: debian-trixie
1460 msgid ""
1461 "The B<SOCK_DGRAM> packet sockets make no attempt to create or parse the IEEE "
1462 "802.2 LLC header for a IEEE 802.3 frame. When B<ETH_P_802_3> is specified "
1463 "as protocol for sending the kernel creates the 802.3 frame and fills out the "
1464 "length field; the user has to supply the LLC header to get a fully "
1465 "conforming packet. Incoming 802.3 packets are not multiplexed on the DSAP/"
1466 "SSAP protocol fields; instead they are supplied to the user as protocol "
1467 "B<ETH_P_802_2> with the LLC header prefixed. It is thus not possible to "
1468 "bind to B<ETH_P_802_3>; bind to B<ETH_P_802_2> instead and do the protocol "
1469 "multiplex yourself. The default for sending is the standard Ethernet DIX "
1470 "encapsulation with the protocol filled in."
1471 msgstr ""
1472 "لا تحاول مقابس الحزم B<SOCK_DGRAM> إنشاء أو تحليل رأس IEEE 802.2 LLC لإطار "
1473 "IEEE 802.3. عندما يُحدد B<ETH_P_802_3> كبروتوكول للإرسال، تنشئ النواة إطار "
1474 "802.3 وتملأ حقل الطول؛ يجب على المستخدم توفير رأس LLC للحصول على حزمة "
1475 "متوافقة تمامًا. لا تُضاعف حزم 802.3 الواردة على حقول بروتوكول DSAP/SSAP؛ بدلاً "
1476 "من ذلك، تُزود للمستخدم كبروتوكول B<ETH_P_802_2> مع رأس LLC مسبوق. وبالتالي، "
1477 "لا يمكن الربط بـ B<ETH_P_802_3>؛ اربط بـ B<ETH_P_802_2> بدلاً من ذلك وقم "
1478 "بتضاعف البروتوكول بنفسك. المبدئي للإرسال هو تغليف Ethernet DIX القياسي مع "
1479 "البروتوكول المملوء."
1480
1481 #. type: Plain text
1482 #: debian-trixie
1483 msgid ""
1484 "The I<spkt_device> field of I<sockaddr_pkt> has a size of 14 bytes, which is "
1485 "less than the constant B<IFNAMSIZ> defined in I<E<lt>net/if.hE<gt>> which is "
1486 "16 bytes and describes the system limit for a network interface name. This "
1487 "means the names of network devices longer than 14 bytes will be truncated to "
1488 "fit into I<spkt_device>. All these lengths include the terminating null "
1489 "byte (\\[aq]\\[rs]0\\[aq]))."
1490 msgstr ""
1491 "حقل I<spkt_device> في I<sockaddr_pkt> بحجم 14 بايت، وهو أقل من الثابت "
1492 "B<IFNAMSIZ> المعرف في I<E<lt>net/if.hE<gt>> والذي يبلغ 16 بايت ويصف حد "
1493 "النظام لاسم واجهة الشبكة. هذا يعني أن أسماء أجهزة الشبكة الأطول من 14 بايت "
1494 "ستُبتَر لتناسب I<spkt_device>. تشمل كل هذه الأطوال بايت الصفر الختامي "
1495 "(\\[aq]\\[rs]0\\[aq]))."
1496
1497 #. type: TH
1498 #: fedora-44 fedora-rawhide
1499 #, no-wrap
1500 msgid "2024-11-17"
1501 msgstr "17 نوفمبر 2024"
1502
1503 #. type: TH
1504 #: fedora-44 fedora-rawhide
1505 #, no-wrap
1506 msgid "Linux man-pages 6.13"
1507 msgstr "صفحات دليل لينكس 6.13"
1508
1509 #. type: TH
1510 #: mageia-cauldron
1511 #, no-wrap
1512 msgid "Linux man-pages 6.17"
1513 msgstr "صفحات دليل لينكس 6.17"
1514
1515 #. type: TH
1516 #: opensuse-leap-16-1 opensuse-tumbleweed
1517 #, no-wrap
1518 msgid "Linux man-pages (unreleased)"
1519 msgstr "صفحات دليل لينكس (لم تصدر بعد)"