Debian Codegraph @

po/ar/man3/rtnetlink.3.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.2\n"
8 "POT-Creation-Date: 2026-06-05 06:40+0200\n"
9 "PO-Revision-Date: 2026-06-03 18:12+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 "rtnetlink"
25 msgstr "rtnetlink"
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 "rtnetlink - macros to manipulate rtnetlink messages"
51 msgstr "rtnetlink - وحدات ماكرو لمعالجة رسائل rtnetlink"
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 "LIBRARY"
58 msgstr "المكتبة"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "موجز"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid ""
78 "B<#include E<lt>asm/types.hE<gt>>\n"
79 "B<#include E<lt>linux/netlink.hE<gt>>\n"
80 "B<#include E<lt>linux/rtnetlink.hE<gt>>\n"
81 "B<#include E<lt>sys/socket.hE<gt>>\n"
82 msgstr ""
83 "B<#include E<lt>asm/types.hE<gt>>\n"
84 "B<#include E<lt>linux/netlink.hE<gt>>\n"
85 "B<#include E<lt>linux/rtnetlink.hE<gt>>\n"
86 "B<#include E<lt>sys/socket.hE<gt>>\n"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "B<rtnetlink_socket = socket(AF_NETLINK, int >I<socket_type>B<, NETLINK_ROUTE);>\n"
93 msgstr "B<rtnetlink_socket = socket(AF_NETLINK, int >I<socket_type>B<, NETLINK_ROUTE);>\n"
94
95 #. type: Plain text
96 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
97 #: opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<size>B<);>\n"
100 msgstr "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<size>B<);>\n"
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, no-wrap
106 msgid ""
107 "B<void *RTA_DATA(struct rtattr *>I<rta>B<);>\n"
108 "B<unsigned int RTA_PAYLOAD(struct rtattr *>I<rta>B<);>\n"
109 msgstr ""
110 "B<void *RTA_DATA(struct rtattr *>I<rta>B<);>\n"
111 "B<unsigned int RTA_PAYLOAD(struct rtattr *>I<rta>B<);>\n"
112
113 #. type: Plain text
114 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
115 #: opensuse-leap-16-1 opensuse-tumbleweed
116 #, no-wrap
117 msgid "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<size>B<);>\n"
118 msgstr "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<size>B<);>\n"
119
120 #. type: Plain text
121 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
122 #: opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid ""
125 "B<unsigned int RTA_LENGTH(unsigned int >I<size>B<);>\n"
126 "B<unsigned int RTA_SPACE(unsigned int >I<size>B<);>\n"
127 msgstr ""
128 "B<unsigned int RTA_LENGTH(unsigned int >I<size>B<);>\n"
129 "B<unsigned int RTA_SPACE(unsigned int >I<size>B<);>\n"
130
131 #. type: SH
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, no-wrap
135 msgid "DESCRIPTION"
136 msgstr "الوصف"
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid ""
142 "All B<rtnetlink>(7) messages consist of a B<netlink>(7) message header and "
143 "appended attributes. The attributes should be manipulated only using the "
144 "macros provided here."
145 msgstr ""
146 "جميع رسائل B<rtnetlink>(7) تتكون من رأس رسالة B<netlink>(7) وسمات ملحقة. يجب "
147 "معالجة السمات فقط باستخدام وحدات الماكرو المقدمة هنا."
148
149 #. type: Plain text
150 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
151 #: opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "B<RTA_OK(>I<rta>B<, >I<size>B<)> returns true if I<rta> points to a valid "
154 "routing attribute; I<size> is the running size of the attribute buffer. "
155 "When not true then you must assume there are no more attributes in the "
156 "message, even if I<size> is nonzero."
157 msgstr ""
158 "B<RTA_OK(>I<rta>B<, >I<size>B<)> تُرجع صحيحًا إذا كان I<rta> يشير إلى سمة "
159 "توجيه صالحة؛ I<size> هو الحجم الجاري للمخزن المؤقت للسمات. عندما لا يكون "
160 "صحيحًا، يجب افتراض عدم وجود سمات أخرى في الرسالة، حتى لو كان I<size> غير صفري."
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "B<RTA_DATA(>I<rta>B<)> returns a pointer to the start of this attribute's "
167 "data."
168 msgstr "B<RTA_DATA(>I<rta>B<)> تُرجع مؤشرًا إلى بداية بيانات هذه السمة."
169
170 #. type: Plain text
171 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
172 #: opensuse-leap-16-1 opensuse-tumbleweed
173 msgid "B<RTA_PAYLOAD(>I<rta>B<)> returns the size of this attribute's data."
174 msgstr "B<RTA_PAYLOAD(>I<rta>B<)> تُرجع حجم بيانات هذه السمة."
175
176 #. type: Plain text
177 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
178 #: opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "B<RTA_NEXT(>I<rta>B<, >I<size>B<)> gets the next attribute after I<rta>. "
181 "Calling this macro will update I<size>. You should use B<RTA_OK> to check "
182 "the validity of the returned pointer."
183 msgstr ""
184 "B<RTA_NEXT(>I<rta>B<, >I<size>B<)> تحصل على السمة التالية بعد I<rta>. "
185 "استدعاء هذه الماكرو يُحدّث I<size>. يجب استخدام B<RTA_OK> للتحقق من صحة المؤشر "
186 "المُعاد."
187
188 #. type: Plain text
189 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
190 #: opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "B<RTA_LENGTH(>I<size>B<)> returns the size which is required for I<size> "
193 "bytes of data plus the header."
194 msgstr ""
195 "B<RTA_LENGTH(>I<size>B<)> تُرجع الحجم المطلوب لـ I<size> بايت من البيانات "
196 "بالإضافة إلى الرأس."
197
198 #. type: Plain text
199 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
200 #: opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "B<RTA_SPACE(>I<size>B<)> returns the amount of space which will be needed in "
203 "a message with I<size> bytes of data."
204 msgstr ""
205 "B<RTA_SPACE(>I<size>B<)> تُرجع مقدار المساحة المطلوبة في رسالة تحتوي على "
206 "I<size> بايت من البيانات."
207
208 #. type: SH
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "STANDARDS"
213 msgstr "المعايير"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid "Linux."
219 msgstr "لينكس."
220
221 #. type: SH
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "BUGS"
226 msgstr "العلل"
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid "This manual page is incomplete."
232 msgstr "صفحة الدليل هذه غير مكتملة."
233
234 #. type: SH
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "EXAMPLES"
239 msgstr "أمثلة"
240
241 #. FIXME . ? would be better to use libnetlink in the EXAMPLE code here
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid "Creating a rtnetlink message to set the MTU of a device:"
246 msgstr "إنشاء رسالة rtnetlink لتعيين MTU لجهاز:"
247
248 #. type: Plain text
249 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
250 #: opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid ""
253 "#include E<lt>linux/rtnetlink.hE<gt>\n"
254 "\\&\n"
255 "\\&...\n"
256 "\\&\n"
257 "struct {\n"
258 " struct nlmsghdr nh;\n"
259 " struct ifinfomsg if;\n"
260 " char attrbuf[512];\n"
261 "} req;\n"
262 "\\&\n"
263 "struct rtattr *rta;\n"
264 "unsigned int mtu = 1000;\n"
265 "\\&\n"
266 "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n"
267 "\\&\n"
268 "memset(&req, 0, sizeof(req));\n"
269 "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n"
270 "req.nh.nlmsg_flags = NLM_F_REQUEST;\n"
271 "req.nh.nlmsg_type = RTM_NEWLINK;\n"
272 "req.if.ifi_family = AF_UNSPEC;\n"
273 "req.if.ifi_index = INTERFACE_INDEX;\n"
274 "req.if.ifi_change = 0xffffffff; /* ??? */\n"
275 "rta = (struct rtattr *) ((char *) &req +\n"
276 " NLMSG_ALIGN(req.nh.nlmsg_len));\n"
277 "rta-E<gt>rta_type = IFLA_MTU;\n"
278 "rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n"
279 "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n"
280 " RTA_LENGTH(sizeof(mtu));\n"
281 "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n"
282 "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n"
283 msgstr ""
284 "#include E<lt>linux/rtnetlink.hE<gt>\n"
285 "\\&\n"
286 "\\&...\n"
287 "\\&\n"
288 "struct {\n"
289 " struct nlmsghdr nh;\n"
290 " struct ifinfomsg if;\n"
291 " char attrbuf[512];\n"
292 "} req;\n"
293 "\\&\n"
294 "struct rtattr *rta;\n"
295 "unsigned int mtu = 1000;\n"
296 "\\&\n"
297 "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n"
298 "\\&\n"
299 "memset(&req, 0, sizeof(req));\n"
300 "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n"
301 "req.nh.nlmsg_flags = NLM_F_REQUEST;\n"
302 "req.nh.nlmsg_type = RTM_NEWLINK;\n"
303 "req.if.ifi_family = AF_UNSPEC;\n"
304 "req.if.ifi_index = INTERFACE_INDEX;\n"
305 "req.if.ifi_change = 0xffffffff; /* ??? */\n"
306 "rta = (struct rtattr *) ((char *) &req +\n"
307 " NLMSG_ALIGN(req.nh.nlmsg_len));\n"
308 "rta-E<gt>rta_type = IFLA_MTU;\n"
309 "rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n"
310 "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n"
311 " RTA_LENGTH(sizeof(mtu));\n"
312 "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n"
313 "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n"
314
315 #. type: SH
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "SEE ALSO"
320 msgstr "انظر أيضًا"
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid "B<netlink>(3), B<netlink>(7), B<rtnetlink>(7)"
326 msgstr "B<netlink>(3), B<netlink>(7), B<rtnetlink>(7)"
327
328 #. type: TH
329 #: debian-trixie
330 #, no-wrap
331 msgid "2024-05-02"
332 msgstr "2 مايو 2024"
333
334 #. type: TH
335 #: debian-trixie
336 #, no-wrap
337 msgid "Linux man-pages 6.9.1"
338 msgstr "صفحات دليل لينكس 6.9.1"
339
340 #. type: Plain text
341 #: debian-trixie
342 msgid "Standard C library (I<libc>, I<-lc>)"
343 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
344
345 #. type: Plain text
346 #: debian-trixie
347 #, no-wrap
348 msgid "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<rtabuflen>B<);>\n"
349 msgstr "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<rtabuflen>B<);>\n"
350
351 #. type: Plain text
352 #: debian-trixie
353 #, no-wrap
354 msgid "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<rtabuflen>B<);>\n"
355 msgstr "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<rtabuflen>B<);>\n"
356
357 #. type: Plain text
358 #: debian-trixie
359 #, no-wrap
360 msgid ""
361 "B<unsigned int RTA_LENGTH(unsigned int >I<length>B<);>\n"
362 "B<unsigned int RTA_SPACE(unsigned int >I<length>B<);>\n"
363 msgstr ""
364 "B<unsigned int RTA_LENGTH(unsigned int >I<length>B<);>\n"
365 "B<unsigned int RTA_SPACE(unsigned int >I<length>B<);>\n"
366
367 #. type: Plain text
368 #: debian-trixie
369 msgid ""
370 "B<RTA_OK(>I<rta>B<, >I<attrlen>B<)> returns true if I<rta> points to a valid "
371 "routing attribute; I<attrlen> is the running length of the attribute "
372 "buffer. When not true then you must assume there are no more attributes in "
373 "the message, even if I<attrlen> is nonzero."
374 msgstr ""
375 "B<RTA_OK(>I<rta>B<, >I<attrlen>B<)> تُرجع صحيحًا إذا كان I<rta> يشير إلى سمة "
376 "توجيه صالحة؛ I<attrlen> هو الطول الجاري للمخزن المؤقت للسمات. عندما لا يكون "
377 "صحيحًا، يجب افتراض عدم وجود سمات أخرى في الرسالة، حتى لو كان I<attrlen> غير "
378 "صفري."
379
380 #. type: Plain text
381 #: debian-trixie
382 msgid "B<RTA_PAYLOAD(>I<rta>B<)> returns the length of this attribute's data."
383 msgstr "B<RTA_PAYLOAD(>I<rta>B<)> تُرجع طول بيانات هذه السمة."
384
385 #. type: Plain text
386 #: debian-trixie
387 msgid ""
388 "B<RTA_NEXT(>I<rta>B<, >I<attrlen>B<)> gets the next attribute after I<rta>. "
389 "Calling this macro will update I<attrlen>. You should use B<RTA_OK> to "
390 "check the validity of the returned pointer."
391 msgstr ""
392 "B<RTA_NEXT(>I<rta>B<, >I<attrlen>B<)> يحصل على السمة التالية بعد I<rta>. "
393 "استدعاء هذه الكلية سيُحدّث I<attrlen>. يجب استخدام B<RTA_OK> للتحقق من صحة "
394 "المؤشر المُعاد."
395
396 #. type: Plain text
397 #: debian-trixie
398 msgid ""
399 "B<RTA_LENGTH(>I<len>B<)> returns the length which is required for I<len> "
400 "bytes of data plus the header."
401 msgstr ""
402 "B<RTA_LENGTH(>I<len>B<)> يُعيد الطول المطلوب لـ I<len> بايت من البيانات "
403 "بالإضافة إلى الرأس."
404
405 #. type: Plain text
406 #: debian-trixie
407 msgid ""
408 "B<RTA_SPACE(>I<len>B<)> returns the amount of space which will be needed in "
409 "a message with I<len> bytes of data."
410 msgstr ""
411 "B<RTA_SPACE(>I<len>B<)> يُعيد مقدار المساحة اللازمة في رسالة تحتوي على I<len> "
412 "بايت من البيانات."
413
414 #. type: Plain text
415 #: debian-trixie
416 #, no-wrap
417 msgid ""
418 "#include E<lt>linux/rtnetlink.hE<gt>\n"
419 "\\&\n"
420 "\\&...\n"
421 "\\&\n"
422 "struct {\n"
423 " struct nlmsghdr nh;\n"
424 " struct ifinfomsg if;\n"
425 " char attrbuf[512];\n"
426 "} req;\n"
427 "\\&\n"
428 "struct rtattr *rta;\n"
429 "unsigned int mtu = 1000;\n"
430 "\\&\n"
431 "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n"
432 "\\&\n"
433 "memset(&req, 0, sizeof(req));\n"
434 "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n"
435 "req.nh.nlmsg_flags = NLM_F_REQUEST;\n"
436 "req.nh.nlmsg_type = RTM_NEWLINK;\n"
437 "req.if.ifi_family = AF_UNSPEC;\n"
438 "req.if.ifi_index = INTERFACE_INDEX;\n"
439 "req.if.ifi_change = 0xffffffff; /* ??? */\n"
440 "rta = (struct rtattr *)(((char *) &req) +\n"
441 " NLMSG_ALIGN(req.nh.nlmsg_len));\n"
442 "rta-E<gt>rta_type = IFLA_MTU;\n"
443 "rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n"
444 "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n"
445 " RTA_LENGTH(sizeof(mtu));\n"
446 "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n"
447 "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n"
448 msgstr ""
449 "#include E<lt>linux/rtnetlink.hE<gt>\n"
450 "\\&\n"
451 "\\&...\n"
452 "\\&\n"
453 "struct {\n"
454 " struct nlmsghdr nh;\n"
455 " struct ifinfomsg if;\n"
456 " char attrbuf[512];\n"
457 "} req;\n"
458 "\\&\n"
459 "struct rtattr *rta;\n"
460 "unsigned int mtu = 1000;\n"
461 "\\&\n"
462 "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n"
463 "\\&\n"
464 "memset(&req, 0, sizeof(req));\n"
465 "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n"
466 "req.nh.nlmsg_flags = NLM_F_REQUEST;\n"
467 "req.nh.nlmsg_type = RTM_NEWLINK;\n"
468 "req.if.ifi_family = AF_UNSPEC;\n"
469 "req.if.ifi_index = INTERFACE_INDEX;\n"
470 "req.if.ifi_change = 0xffffffff; /* ??? */\n"
471 "rta = (struct rtattr *)(((char *) &req) +\n"
472 " NLMSG_ALIGN(req.nh.nlmsg_len));\n"
473 "rta-E<gt>rta_type = IFLA_MTU;\n"
474 "rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n"
475 "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n"
476 " RTA_LENGTH(sizeof(mtu));\n"
477 "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n"
478 "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n"
479
480 #. type: TH
481 #: fedora-44 fedora-rawhide
482 #, no-wrap
483 msgid "2025-01-05"
484 msgstr "5 يناير 2025"
485
486 #. type: TH
487 #: fedora-44 fedora-rawhide
488 #, no-wrap
489 msgid "Linux man-pages 6.13"
490 msgstr "صفحات دليل لينكس 6.13"
491
492 #. type: TH
493 #: mageia-cauldron
494 #, no-wrap
495 msgid "Linux man-pages 6.17"
496 msgstr "صفحات دليل لينكس 6.17"
497
498 #. type: TH
499 #: opensuse-leap-16-1 opensuse-tumbleweed
500 #, no-wrap
501 msgid "Linux man-pages (unreleased)"
502 msgstr "صفحات دليل لينكس (لم تصدر بعد)"