Debian Codegraph @

po/ro/man3/rtnetlink.3.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2026-06-05 06:40+0200\n"
9 "PO-Revision-Date: 2025-02-02 18:16+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\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=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.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 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 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 "NUME"
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 - macrocomenzi pentru a manipula mesajele 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 "BIBLIOTECA"
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 "Biblioteca C standard (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 "SINOPSIS"
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 "DESCRIERE"
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 "Toate mesajele B<rtnetlink>(7) constau dintr-un antet de mesaj B<netlink>(7) "
147 "și atribute anexate. Atributele ar trebui să fie manipulate numai cu "
148 "ajutorul macrocomenzilor furnizate aici."
149
150 #. type: Plain text
151 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
152 #: opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "B<RTA_OK(>I<rta>B<, >I<size>B<)> returns true if I<rta> points to a valid "
155 "routing attribute; I<size> is the running size of the attribute buffer. "
156 "When not true then you must assume there are no more attributes in the "
157 "message, even if I<size> is nonzero."
158 msgstr ""
159 "B<RTA_OK(>I<rta>B<, >I<size>B<)> returnează true dacă I<rta> indică un "
160 "atribut de direcționare valid; I<size> este dimensiunea curentă a memoriei "
161 "tampon a atributelor. Dacă nu este adevărat, atunci trebuie să presupuneți "
162 "că nu mai există atribute în mesaj, chiar dacă I<size> este diferită de zero."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "B<RTA_DATA(>I<rta>B<)> returns a pointer to the start of this attribute's "
169 "data."
170 msgstr ""
171 "B<RTA_DATA(>I<rta>B<)> returnează un indicator la începutul datelor acestui "
172 "atribut."
173
174 #. type: Plain text
175 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
176 #: opensuse-leap-16-1 opensuse-tumbleweed
177 msgid "B<RTA_PAYLOAD(>I<rta>B<)> returns the size of this attribute's data."
178 msgstr ""
179 "B<RTA_PAYLOAD(>I<rta>B<)> returnează dimensiunea datelor acestui atribut."
180
181 #. type: Plain text
182 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
183 #: opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "B<RTA_NEXT(>I<rta>B<, >I<size>B<)> gets the next attribute after I<rta>. "
186 "Calling this macro will update I<size>. You should use B<RTA_OK> to check "
187 "the validity of the returned pointer."
188 msgstr ""
189 "B<RTA_NEXT(>I<rta>B<, >I<size>B<)> obține următorul atribut după I<rta>. "
190 "Apelarea acestei macrocomenzi va actualiza I<size>. Ar trebui să utilizați "
191 "B<RTA_OK> pentru a verifica validitatea indicatorului returnat."
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 "B<RTA_LENGTH(>I<size>B<)> returns the size which is required for I<size> "
198 "bytes of data plus the header."
199 msgstr ""
200 "B<RTA_LENGTH(>I<size>B<)> returnează lungimea care este necesară pentru "
201 "I<size> octeți de date plus antetul."
202
203 #. type: Plain text
204 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
205 #: opensuse-leap-16-1 opensuse-tumbleweed
206 msgid ""
207 "B<RTA_SPACE(>I<size>B<)> returns the amount of space which will be needed in "
208 "a message with I<size> bytes of data."
209 msgstr ""
210 "B<RTA_SPACE(>I<size>B<)> returnează cantitatea de spațiu care va fi necesară "
211 "într-un mesaj cu I<size> octeți de date."
212
213 #. type: SH
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "STANDARDS"
218 msgstr "STANDARDE"
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid "Linux."
224 msgstr "Linux."
225
226 #. type: SH
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "BUGS"
231 msgstr "ERORI"
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid "This manual page is incomplete."
237 msgstr "Această pagină de manual este incompletă."
238
239 #. type: SH
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "EXAMPLES"
244 msgstr "EXEMPLE"
245
246 #. FIXME . ? would be better to use libnetlink in the EXAMPLE code here
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid "Creating a rtnetlink message to set the MTU of a device:"
251 msgstr ""
252 "Crearea unui mesaj rtnetlink pentru a configura MTU al unui dispozitiv:"
253
254 #. type: Plain text
255 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
256 #: opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid ""
259 "#include E<lt>linux/rtnetlink.hE<gt>\n"
260 "\\&\n"
261 "\\&...\n"
262 "\\&\n"
263 "struct {\n"
264 " struct nlmsghdr nh;\n"
265 " struct ifinfomsg if;\n"
266 " char attrbuf[512];\n"
267 "} req;\n"
268 "\\&\n"
269 "struct rtattr *rta;\n"
270 "unsigned int mtu = 1000;\n"
271 "\\&\n"
272 "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n"
273 "\\&\n"
274 "memset(&req, 0, sizeof(req));\n"
275 "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n"
276 "req.nh.nlmsg_flags = NLM_F_REQUEST;\n"
277 "req.nh.nlmsg_type = RTM_NEWLINK;\n"
278 "req.if.ifi_family = AF_UNSPEC;\n"
279 "req.if.ifi_index = INTERFACE_INDEX;\n"
280 "req.if.ifi_change = 0xffffffff; /* ??? */\n"
281 "rta = (struct rtattr *) ((char *) &req +\n"
282 " NLMSG_ALIGN(req.nh.nlmsg_len));\n"
283 "rta-E<gt>rta_type = IFLA_MTU;\n"
284 "rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n"
285 "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n"
286 " RTA_LENGTH(sizeof(mtu));\n"
287 "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n"
288 "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n"
289 msgstr ""
290 "#include E<lt>linux/rtnetlink.hE<gt>\n"
291 "\\&\n"
292 "\\&...\n"
293 "\\&\n"
294 "struct {\n"
295 " struct nlmsghdr nh;\n"
296 " struct ifinfomsg if;\n"
297 " char attrbuf[512];\n"
298 "} req;\n"
299 "\\&\n"
300 "struct rtattr *rta;\n"
301 "unsigned int mtu = 1000;\n"
302 "\\&\n"
303 "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n"
304 "\\&\n"
305 "memset(&req, 0, sizeof(req));\n"
306 "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n"
307 "req.nh.nlmsg_flags = NLM_F_REQUEST;\n"
308 "req.nh.nlmsg_type = RTM_NEWLINK;\n"
309 "req.if.ifi_family = AF_UNSPEC;\n"
310 "req.if.ifi_index = INTERFACE_INDEX;\n"
311 "req.if.ifi_change = 0xffffffff; /* ??? */\n"
312 "rta = (struct rtattr *) ((char *) &req +\n"
313 " NLMSG_ALIGN(req.nh.nlmsg_len));\n"
314 "rta-E<gt>rta_type = IFLA_MTU;\n"
315 "rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n"
316 "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n"
317 " RTA_LENGTH(sizeof(mtu));\n"
318 "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n"
319 "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n"
320
321 #. type: SH
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "SEE ALSO"
326 msgstr "CONSULTAȚI ȘI"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid "B<netlink>(3), B<netlink>(7), B<rtnetlink>(7)"
332 msgstr "B<netlink>(3), B<netlink>(7), B<rtnetlink>(7)"
333
334 #. type: TH
335 #: debian-trixie
336 #, no-wrap
337 msgid "2024-05-02"
338 msgstr "2 mai 2024"
339
340 #. type: TH
341 #: debian-trixie
342 #, no-wrap
343 msgid "Linux man-pages 6.9.1"
344 msgstr "Pagini de manual de Linux 6.9.1"
345
346 #. type: Plain text
347 #: debian-trixie
348 msgid "Standard C library (I<libc>, I<-lc>)"
349 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
350
351 #. type: Plain text
352 #: debian-trixie
353 #, no-wrap
354 msgid "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<rtabuflen>B<);>\n"
355 msgstr "B<int RTA_OK(struct rtattr *>I<rta>B<, int >I<rtabuflen>B<);>\n"
356
357 #. type: Plain text
358 #: debian-trixie
359 #, no-wrap
360 msgid "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<rtabuflen>B<);>\n"
361 msgstr "B<struct rtattr *RTA_NEXT(struct rtattr *>I<rta>B<, unsigned int >I<rtabuflen>B<);>\n"
362
363 #. type: Plain text
364 #: debian-trixie
365 #, no-wrap
366 msgid ""
367 "B<unsigned int RTA_LENGTH(unsigned int >I<length>B<);>\n"
368 "B<unsigned int RTA_SPACE(unsigned int >I<length>B<);>\n"
369 msgstr ""
370 "B<unsigned int RTA_LENGTH(unsigned int >I<length>B<);>\n"
371 "B<unsigned int RTA_SPACE(unsigned int >I<length>B<);>\n"
372
373 #. type: Plain text
374 #: debian-trixie
375 msgid ""
376 "B<RTA_OK(>I<rta>B<, >I<attrlen>B<)> returns true if I<rta> points to a valid "
377 "routing attribute; I<attrlen> is the running length of the attribute "
378 "buffer. When not true then you must assume there are no more attributes in "
379 "the message, even if I<attrlen> is nonzero."
380 msgstr ""
381 "B<RTA_OK(>I<rta>B<, >I<attrlen>B<)> returnează adevărat dacă I<rta> indică "
382 "un atribut de direcționare valid; I<attrlen> este lungimea curentă a "
383 "memoriei tampon a atributelor. Dacă nu este adevărat, atunci trebuie să se "
384 "presupună că nu mai există atribute în mesaj, chiar dacă I<attrlen> este "
385 "diferit de zero."
386
387 #. type: Plain text
388 #: debian-trixie
389 msgid "B<RTA_PAYLOAD(>I<rta>B<)> returns the length of this attribute's data."
390 msgstr "B<RTA_PAYLOAD(>I<rta>B<)> returnează lungimea datelor acestui atribut."
391
392 #. type: Plain text
393 #: debian-trixie
394 msgid ""
395 "B<RTA_NEXT(>I<rta>B<, >I<attrlen>B<)> gets the next attribute after I<rta>. "
396 "Calling this macro will update I<attrlen>. You should use B<RTA_OK> to "
397 "check the validity of the returned pointer."
398 msgstr ""
399 "B<RTA_NEXT(>I<rta>B<, >I<attrlen>B<)> obține următorul atribut după I<rta>. "
400 "Apelarea acestei macrocomenzi va actualiza I<attrlen>. Ar trebui să "
401 "utilizați B<RTA_OK> pentru a verifica validitatea indicatorului returnat."
402
403 #. type: Plain text
404 #: debian-trixie
405 msgid ""
406 "B<RTA_LENGTH(>I<len>B<)> returns the length which is required for I<len> "
407 "bytes of data plus the header."
408 msgstr ""
409 "B<RTA_LENGTH(>I<len>B<)> returnează lungimea care este necesară pentru "
410 "I<len> octeți de date plus antetul."
411
412 #. type: Plain text
413 #: debian-trixie
414 msgid ""
415 "B<RTA_SPACE(>I<len>B<)> returns the amount of space which will be needed in "
416 "a message with I<len> bytes of data."
417 msgstr ""
418 "B<RTA_SPACE(>I<len>B<)> returnează cantitatea de spațiu care va fi necesară "
419 "într-un mesaj cu I<len> octeți de date."
420
421 #. type: Plain text
422 #: debian-trixie
423 #, no-wrap
424 msgid ""
425 "#include E<lt>linux/rtnetlink.hE<gt>\n"
426 "\\&\n"
427 "\\&...\n"
428 "\\&\n"
429 "struct {\n"
430 " struct nlmsghdr nh;\n"
431 " struct ifinfomsg if;\n"
432 " char attrbuf[512];\n"
433 "} req;\n"
434 "\\&\n"
435 "struct rtattr *rta;\n"
436 "unsigned int mtu = 1000;\n"
437 "\\&\n"
438 "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n"
439 "\\&\n"
440 "memset(&req, 0, sizeof(req));\n"
441 "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n"
442 "req.nh.nlmsg_flags = NLM_F_REQUEST;\n"
443 "req.nh.nlmsg_type = RTM_NEWLINK;\n"
444 "req.if.ifi_family = AF_UNSPEC;\n"
445 "req.if.ifi_index = INTERFACE_INDEX;\n"
446 "req.if.ifi_change = 0xffffffff; /* ??? */\n"
447 "rta = (struct rtattr *)(((char *) &req) +\n"
448 " NLMSG_ALIGN(req.nh.nlmsg_len));\n"
449 "rta-E<gt>rta_type = IFLA_MTU;\n"
450 "rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n"
451 "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n"
452 " RTA_LENGTH(sizeof(mtu));\n"
453 "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n"
454 "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n"
455 msgstr ""
456 "#include E<lt>linux/rtnetlink.hE<gt>\n"
457 "\\&\n"
458 "\\&...\n"
459 "\\&\n"
460 "struct {\n"
461 " struct nlmsghdr nh;\n"
462 " struct ifinfomsg if;\n"
463 " char attrbuf[512];\n"
464 "} req;\n"
465 "\\&\n"
466 "struct rtattr *rta;\n"
467 "unsigned int mtu = 1000;\n"
468 "\\&\n"
469 "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n"
470 "\\&\n"
471 "memset(&req, 0, sizeof(req));\n"
472 "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n"
473 "req.nh.nlmsg_flags = NLM_F_REQUEST;\n"
474 "req.nh.nlmsg_type = RTM_NEWLINK;\n"
475 "req.if.ifi_family = AF_UNSPEC;\n"
476 "req.if.ifi_index = INTERFACE_INDEX;\n"
477 "req.if.ifi_change = 0xffffffff; /* ??? */\n"
478 "rta = (struct rtattr *)(((char *) &req) +\n"
479 " NLMSG_ALIGN(req.nh.nlmsg_len));\n"
480 "rta-E<gt>rta_type = IFLA_MTU;\n"
481 "rta-E<gt>rta_len = RTA_LENGTH(sizeof(mtu));\n"
482 "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n"
483 " RTA_LENGTH(sizeof(mtu));\n"
484 "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n"
485 "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n"
486
487 #. type: TH
488 #: fedora-44 fedora-rawhide
489 #, no-wrap
490 msgid "2025-01-05"
491 msgstr "5 ianuarie 2025"
492
493 #. type: TH
494 #: fedora-44 fedora-rawhide
495 #, no-wrap
496 msgid "Linux man-pages 6.13"
497 msgstr "Pagini de manual de Linux 6.13"
498
499 #. type: TH
500 #: mageia-cauldron
501 #, no-wrap
502 msgid "Linux man-pages 6.17"
503 msgstr "Pagini de manual de Linux 6.17"
504
505 #. type: TH
506 #: opensuse-leap-16-1 opensuse-tumbleweed
507 #, no-wrap
508 msgid "Linux man-pages (unreleased)"
509 msgstr "Pagini de manual Linux (nepublicate)"