Debian Codegraph @

po/ru/man3/libnetlink.3.po

raw
1 # Russian 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]>, 2007.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2025-08-10 07:55+0200\n"
9 "PO-Revision-Date: 2007-02-03 11:22+0300\n"
10 "Last-Translator: Виктор Ерёмин <[email protected]>\n"
11 "Language-Team: Russian <[email protected]>\n"
12 "Language: ru\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%10==1 && n%100!=11 ? 0 : n%10>=2 && "
17 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable mageia-cauldron
21 #, no-wrap
22 msgid "libnetlink"
23 msgstr "libnetlink"
24
25 #. type: SH
26 #: archlinux debian-trixie debian-unstable mageia-cauldron
27 #, no-wrap
28 msgid "NAME"
29 msgstr "НАИМЕНОВАНИЕ"
30
31 #. type: Plain text
32 #: archlinux debian-trixie debian-unstable mageia-cauldron
33 msgid "libnetlink - A library for accessing the netlink service"
34 msgstr "libnetlink - библиотека для доступа к сервису netlink"
35
36 #. type: SH
37 #: archlinux debian-trixie debian-unstable mageia-cauldron
38 #, no-wrap
39 msgid "SYNOPSIS"
40 msgstr "СИНТАКСИС"
41
42 #. type: Plain text
43 #: archlinux debian-trixie debian-unstable mageia-cauldron
44 #, no-wrap
45 msgid "#include E<lt>asm/types.hE<gt>\n"
46 msgstr "#include E<lt>asm/types.hE<gt>\n"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable mageia-cauldron
50 #, no-wrap
51 msgid "#include E<lt>libnetlink.hE<gt>\n"
52 msgstr "#include E<lt>libnetlink.hE<gt>\n"
53
54 #. type: Plain text
55 #: archlinux debian-trixie debian-unstable mageia-cauldron
56 #, no-wrap
57 msgid "#include E<lt>linux/netlink.hE<gt>\n"
58 msgstr "#include E<lt>linux/netlink.hE<gt>\n"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable mageia-cauldron
62 #, no-wrap
63 msgid "#include E<lt>linux/rtnetlink.hE<gt>\n"
64 msgstr "#include E<lt>linux/rtnetlink.hE<gt>\n"
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable mageia-cauldron
68 #, no-wrap
69 msgid "int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions)\n"
70 msgstr "int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions)\n"
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable mageia-cauldron
74 #, no-wrap
75 msgid "int rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type)\n"
76 msgstr "int rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type)\n"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable mageia-cauldron
80 #, no-wrap
81 msgid "int rtnl_send(struct rtnl_handle *rth, char *buf, int len)\n"
82 msgstr "int rtnl_send(struct rtnl_handle *rth, char *buf, int len)\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable mageia-cauldron
86 #, no-wrap
87 msgid "int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len)\n"
88 msgstr "int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len)\n"
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable mageia-cauldron
92 #, no-wrap
93 msgid ""
94 "int rtnl_dump_filter(struct rtnl_handle *rth,\n"
95 "\t\t int (*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *),\n"
96 "\t\t void *arg1,\n"
97 "\t\t int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
98 "\t\t void *arg2)\n"
99 msgstr ""
100 "int rtnl_dump_filter(struct rtnl_handle *rth,\n"
101 "\t\t int (*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *),\n"
102 "\t\t void *arg1,\n"
103 "\t\t int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
104 "\t\t void *arg2)\n"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable mageia-cauldron
108 #, no-wrap
109 msgid ""
110 "int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,\n"
111 "\t unsigned groups, struct nlmsghdr *answer,\n"
112 msgstr ""
113 "int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,\n"
114 "\t unsigned groups, struct nlmsghdr *answer,\n"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable mageia-cauldron
118 #, no-wrap
119 msgid "\t int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
120 msgstr "\t int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable mageia-cauldron
124 #, no-wrap
125 msgid "\t void *jarg)\n"
126 msgstr "\t void *jarg)\n"
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable mageia-cauldron
130 #, no-wrap
131 msgid ""
132 "int rtnl_listen(struct rtnl_handle *rtnl,\n"
133 "\t int (*handler)(struct sockaddr_nl *, struct rtnl_ctrl_data *,\n"
134 "\t\t\t struct nlmsghdr *n, void *),\n"
135 "\t void *jarg)\n"
136 msgstr ""
137 "int rtnl_listen(struct rtnl_handle *rtnl,\n"
138 "\t int (*handler)(struct sockaddr_nl *, struct rtnl_ctrl_data *,\n"
139 "\t\t\t struct nlmsghdr *n, void *),\n"
140 "\t void *jarg)\n"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable mageia-cauldron
144 #, no-wrap
145 msgid ""
146 "int rtnl_from_file(FILE *rtnl,\n"
147 "\t int (*handler)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
148 "\t void *jarg)\n"
149 msgstr ""
150 "int rtnl_from_file(FILE *rtnl,\n"
151 "\t int (*handler)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
152 "\t void *jarg)\n"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable mageia-cauldron
156 #, no-wrap
157 msgid "int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data)\n"
158 msgstr "int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data)\n"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable mageia-cauldron
162 #, no-wrap
163 msgid "int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen)\n"
164 msgstr "int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen)\n"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable mageia-cauldron
168 #, no-wrap
169 msgid "int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data)\n"
170 msgstr "int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data)\n"
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable mageia-cauldron
174 #, no-wrap
175 msgid "int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen)\n"
176 msgstr "int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen)\n"
177
178 #. type: SH
179 #: archlinux debian-trixie debian-unstable mageia-cauldron
180 #, no-wrap
181 msgid "DESCRIPTION"
182 msgstr "ОПИСАНИЕ"
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable mageia-cauldron
186 msgid ""
187 "libnetlink provides a higher level interface to B<rtnetlink>(7). The read "
188 "functions return 0 on success and a negative errno on failure. The send "
189 "functions return the amount of data sent, or -1 on error."
190 msgstr ""
191 "libnetlink предоставляет интерфейс более высокого уровня к B<rtnetlink>(7). "
192 "Функции чтения возвращают 0 при успешном завершении, и отрицательный код "
193 "errno в случае ошибки. Функции отправки возвращают объем отправленной "
194 "информации, или -1 в случае ошибки."
195
196 #. type: TP
197 #: archlinux debian-trixie debian-unstable mageia-cauldron
198 #, no-wrap
199 msgid "rtnl_open"
200 msgstr "rtnl_open"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable mageia-cauldron
204 #, fuzzy
205 #| msgid ""
206 #| "Opens an rtnetlink socket and stores the state in descriptor B<rth.> The "
207 #| "descriptor is passed to all subsequent calls. B<subscriptions> is a "
208 #| "bitmap of rtnetlink multicast groups the socket will be a member of."
209 msgid ""
210 "Open a rtnetlink socket and save the state into the B<rth> handle. This "
211 "handle is passed to all subsequent calls. B<subscriptions> is a bitmap of "
212 "the rtnetlink multicast groups the socket will be a member of."
213 msgstr ""
214 "Открывает сокет rtnetlink и сохраняет состояние в дескриптор B<rth.> "
215 "Дескриптор передается всем последующим вызовам. B<subscriptions> - битовая "
216 "карта групп мультикаста rtnetlink, членом которых будет сокет."
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable mageia-cauldron
220 #, no-wrap
221 msgid "rtnl_wilddump_request"
222 msgstr "rtnl_wilddump_request"
223
224 #. XXX
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable mageia-cauldron
227 #, fuzzy
228 #| msgid ""
229 #| "Requests a full dump of the B<type> type database for addresses in the "
230 #| "B<family> family."
231 msgid ""
232 "Request a full dump of the B<type> database for B<family> addresses. "
233 "B<type> is a rtnetlink message type."
234 msgstr ""
235 "Запрашивает полный дамп базы данных типа B<type> для адресов семейства "
236 "B<family>."
237
238 #. type: TP
239 #: archlinux debian-trixie debian-unstable mageia-cauldron
240 #, no-wrap
241 msgid "rtnl_dump_request"
242 msgstr "rtnl_dump_request"
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable mageia-cauldron
246 #, fuzzy
247 #| msgid ""
248 #| "Requests a full dump of a data buffer of type B<type> into a buffer "
249 #| "B<buf> with a maximum length of B<len>. B<type> is the rtnetlink message "
250 #| "type."
251 msgid ""
252 "Request a full dump of the B<type> data buffer into B<buf> with maximum "
253 "length of B<len.> B<type> is a rtnetlink message type."
254 msgstr ""
255 "Запрашивает полный дамп буфера данных типа B<type> в буфер B<buf> с "
256 "максимальной длиной, равной B<len>. B<type> - тип сообщения rtnetlink."
257
258 #. type: TP
259 #: archlinux debian-trixie debian-unstable mageia-cauldron
260 #, no-wrap
261 msgid "rtnl_dump_filter"
262 msgstr "rtnl_dump_filter"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable mageia-cauldron
266 #, fuzzy
267 #| msgid ""
268 #| "Receive netlink data after request and filter it. Handler function "
269 #| "B<filter> checks if received message is required. Handler function is "
270 #| "passed message source address, message itself and B<arg1> as arguments. 0 "
271 #| "means message passed filter, negative value is returned by "
272 #| "I<rtnl_dump_filter> in case of error. NULL as filter I<filter> means no "
273 #| "filter is required. B<junk> is used to filter messages not intended for "
274 #| "local socket. Only one bundle of messages will be received. Unless there "
275 #| "are no messages in queue, function is non-blocking."
276 msgid ""
277 "Receive netlink data after a request and filter it. The B<filter> callback "
278 "checks if the received message is wanted. It gets the source address of the "
279 "message, the message itself and B<arg1> as arguments. 0 as return means that "
280 "the filter passed, a negative value is returned by I<rtnl_dump_filter> in "
281 "case of error. NULL for I<filter> means to not use a filter. B<junk> is "
282 "used to filter messages not destined to the local socket. Only one message "
283 "bundle is received. If there is a message pending, this function does not "
284 "block."
285 msgstr ""
286 "Получить данные netlink после запроса и отфильтровать их. Функция-"
287 "обработчик B<filter> проверяет, требуется ли полученное сообщение. Функции "
288 "обработчика передаётся адрес источника сообщения, само сообщение и B<arg1> в "
289 "качестве аргументов. 0 обозначает, что сообщение прошло фильтр, "
290 "отрицательное значение возвращается I<rtnl_dump_filter> в случае ошибки. "
291 "NULL в качестве фильтра I<filter> означает что фильтр не требуется. B<junk> "
292 "используется для фильтрации сообщений, не предназначенных для локального "
293 "сокета. Будет получен только один набор (bundle) сообщений. За исключением "
294 "случаев, когда нет сообщений в очереди, функция не является блокирующей."
295
296 #. type: TP
297 #: archlinux debian-trixie debian-unstable mageia-cauldron
298 #, no-wrap
299 msgid "rtnl_listen"
300 msgstr "rtnl_listen"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable mageia-cauldron
304 #, fuzzy
305 #| msgid ""
306 #| "Receive the netlink data after the request and pass it to the handler "
307 #| "function I<handler> B<handler> is a handler function that is passed the "
308 #| "message source address, the message itself, and the cookie B<jarg> as an "
309 #| "argument. It will be called for all messages received. Only one set of "
310 #| "messages will be received. Unless there are no messages in the queue, the "
311 #| "function is non-blocking."
312 msgid ""
313 "Receive netlink data after a request and pass it to I<handler.> B<handler> "
314 "is a callback that gets the message source address, anscillary data, the "
315 "message itself, and the B<jarg> cookie as arguments. It will get called for "
316 "all received messages. Only one message bundle is received. If there is a "
317 "message pending this function does not block."
318 msgstr ""
319 "Получить данные netlink после запроса и передать их на функцию-обработчик "
320 "I<handler.> B<handler> - это функция-обработчик, которой передаётся адрес "
321 "источника сообщения, само сообщение, и B<jarg> cookie как аргумент. Она "
322 "будет вызвана для всех полученных сообщений. Будет получен только один набор "
323 "сообщений. За исключением случаев, когда нет сообщений в очереди, функция не "
324 "является блокирующей."
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable mageia-cauldron
328 #, no-wrap
329 msgid "rtnl_from_file"
330 msgstr "rtnl_from_file"
331
332 # FIXME I<rtnl_listen,> →I<rtnl_listen>,
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable mageia-cauldron
335 msgid ""
336 "Works like I<rtnl_listen,> but reads a netlink message bundle from the file "
337 "B<file> and passes the messages to B<handler> for parsing. The file should "
338 "contain raw data as received from a rtnetlink socket."
339 msgstr ""
340 "Работает как I<rtnl_listen>, но считывает набор (bundle) сообщений netlink "
341 "из файла B<file> и передает сообщения обработчику B<handler> для обработки. "
342 "Файл содержит \"сырые\" данные в том виде, в каком они были получены из "
343 "сокета rtnetlink."
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable mageia-cauldron
347 #, fuzzy
348 #| msgid ""
349 #| "The following functions are useful if you want to construct custom "
350 #| "rtnetlink messages. For a simple filtered database dump, the higher-level "
351 #| "functions above are better. For more information on generating rtnetlink "
352 #| "messages, see B<rtnetlink>(3) and B<netlink>(3)."
353 msgid ""
354 "The following functions are useful to construct custom rtnetlink messages. "
355 "For simple database dumping with filtering it is better to use the higher "
356 "level functions above. See B<rtnetlink>(3) and B<netlink>(3) on how to "
357 "generate a rtnetlink message. The following utility functions require a "
358 "continuous buffer that already contains a netlink message header and a "
359 "rtnetlink request."
360 msgstr ""
361 "Следующие функции полезны, если требуется сконструировать нестандартные "
362 "сообщения rtnetlink. Для простого дампа базы данных с фильтрацией, лучше "
363 "использовать функции более высокого уровня, приведенные выше. За "
364 "дополнительной информацией о генерации сообщений rtnetlink обратитесь к "
365 "B<rtnetlink>(3) и B<netlink>(3)."
366
367 #. type: TP
368 #: archlinux debian-trixie debian-unstable mageia-cauldron
369 #, no-wrap
370 msgid "rtnl_send"
371 msgstr "rtnl_send"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable mageia-cauldron
375 #, fuzzy
376 #| msgid ""
377 #| "Send rtnetlink message to buffer B<buf> of length B<len> to descriptor "
378 #| "B<rth>."
379 msgid "Send the rtnetlink message in B<buf> of length B<len> to handle B<rth.>"
380 msgstr ""
381 "Отправить rtnetlink-сообщение в буфер B<buf> длиной B<len> дескриптору "
382 "B<rth>."
383
384 #. type: TP
385 #: archlinux debian-trixie debian-unstable mageia-cauldron
386 #, no-wrap
387 msgid "addattr32"
388 msgstr "addattr32"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable mageia-cauldron
392 msgid ""
393 "Add a __u32 attribute of type B<type> and with value B<data> to netlink "
394 "message B<n,> which is part of a buffer of length B<maxlen.>"
395 msgstr ""
396 "Добавить __u32-атрибут типа B<type> со значением B<data> к netlink-сообщению "
397 "B<n>, которое является частью буфера длиной B<maxlen>."
398
399 #. type: TP
400 #: archlinux debian-trixie debian-unstable mageia-cauldron
401 #, no-wrap
402 msgid "addattr_l"
403 msgstr "addattr_l"
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable mageia-cauldron
407 msgid ""
408 "Add a variable length attribute of type B<type> and with value B<data> and "
409 "B<alen> length to netlink message B<n,> which is part of a buffer of length "
410 "B<maxlen.> B<data> is copied."
411 msgstr ""
412 "Добавить атрибут переменной длины типа B<type> со значением B<data> и длиной "
413 "B<alen> к netlink-сообщению B<n>, которое являются частью буфера длиной "
414 "B<maxlen>. Содержимое B<data> копируется."
415
416 #. type: TP
417 #: archlinux debian-trixie debian-unstable mageia-cauldron
418 #, no-wrap
419 msgid "rta_addattr32"
420 msgstr "rta_addattr32"
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable mageia-cauldron
424 msgid "Initialize the rtnetlink attribute B<rta> with a __u32 data value."
425 msgstr "Инициализировать rtnetlink-атрибут B<rta> __u32-значением."
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable mageia-cauldron
429 msgid ""
430 "Initialize the rtnetlink attribute B<rta> with a variable length data value."
431 msgstr "Инициализировать rtnetlink-атрибут B<rta> значением переменной длины."
432
433 #. type: SH
434 #: archlinux debian-trixie debian-unstable mageia-cauldron
435 #, no-wrap
436 msgid "BUGS"
437 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable mageia-cauldron
441 msgid "This library is meant for internal use, use libmnl for new programs."
442 msgstr ""
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable mageia-cauldron
446 msgid ""
447 "The functions sometimes use fprintf and exit when a fatal error occurs. "
448 "This library should be named librtnetlink."
449 msgstr ""
450 "Функции иногда используют fprintf и завершаются при возникновении фатальной "
451 "ошибки. Эта библиотека должна быть названа librtnetlink."
452
453 #. type: SH
454 #: archlinux debian-trixie debian-unstable mageia-cauldron
455 #, no-wrap
456 msgid "AUTHORS"
457 msgstr "АВТОРЫ"
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable mageia-cauldron
461 msgid ""
462 "netlink/rtnetlink was designed and written by Alexey Kuznetsov. Andi Kleen "
463 "wrote the man page."
464 msgstr ""
465 "netlink/rtnetlink был спроектирован и написан Алексеем Кузнецовым. Энди "
466 "Клеен (Andi Kleen) написал страницу руководства."
467
468 #. type: SH
469 #: archlinux debian-trixie debian-unstable mageia-cauldron
470 #, no-wrap
471 msgid "SEE ALSO"
472 msgstr "СМОТРИТЕ ТАКЖЕ"
473
474 #. type: Plain text
475 #: archlinux debian-trixie debian-unstable mageia-cauldron
476 msgid "B<netlink>(7), B<rtnetlink>(7)"
477 msgstr "B<netlink>(7), B<rtnetlink>(7)"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable mageia-cauldron
481 msgid "/usr/include/linux/rtnetlink.h"
482 msgstr "/usr/include/linux/rtnetlink.h"