# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # aereiae , 2014. # Azamat Hackimov , 2013-2014, 2016. # Dmitriy S. Seregin , 2013. # Katrin Kutepova , 2018. # Lockal , 2013. # Yuri Kozlov , 2011-2019. # Баринов Владимир, 2016. # Иван Павлов , 2017,2019. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:40+0200\n" "PO-Revision-Date: 2024-12-21 19:50+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " "(n%100>=11 && n%100<=14)? 2 : 3);\n" "X-Generator: Lokalize 2.0\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "rtnetlink" msgstr "" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 февраля 2026 г." #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.17" msgid "Linux man-pages 6.18" msgstr "Справочные страницы Linux 6.17" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "НАИМЕНОВАНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "rtnetlink - macros to manipulate rtnetlink messages" msgstr "rtnetlink - макросы для обработки сообщений rtnetlink" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "БИБЛИОТЕКА" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "Стандартная библиотека языка C (I,\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "СИНТАКСИС" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#include Easm/types.hE>\n" "B<#include Elinux/netlink.hE>\n" "B<#include Elinux/rtnetlink.hE>\n" "B<#include Esys/socket.hE>\n" msgstr "" "B<#include Easm/types.hE>\n" "B<#include Elinux/netlink.hE>\n" "B<#include Elinux/rtnetlink.hE>\n" "B<#include Esys/socket.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<, NETLINK_ROUTE);>\n" msgstr "BIB<, NETLINK_ROUTE);>\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<, int >IB<);>" msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "" "BIB<);>\n" "BIB<);>\n" msgstr "BIB<);>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<, unsigned int >IB<);>" msgid "BIB<, unsigned int >IB<);>\n" msgstr "BIB<, unsigned int >IB<);>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "" "BIB<);>\n" "BIB<);>\n" msgstr "BIB<);>" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "ОПИСАНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "All B(7) messages consist of a B(7) message header and " "appended attributes. The attributes should be manipulated only using the " "macros provided here." msgstr "" "Все сообщения B(7) состоят из заголовка сообщений B(7) и " "дополнительных атрибутов. Атрибуты могут быть обработаны только описанными " "здесь макросами." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "BIB<, >IB<)> returns true if I points to a " #| "valid routing attribute; I is the running length of the " #| "attribute buffer. When not true then you must assume there are no more " #| "attributes in the message, even if I is nonzero." msgid "" "BIB<, >IB<)> returns true if I points to a valid " "routing attribute; I is the running size of the attribute buffer. " "When not true then you must assume there are no more attributes in the " "message, even if I is nonzero." msgstr "" "BIB<, >IB<)> возвращает истинное значение в случае, " "если I указывает на правильный атрибут маршрутизации; I — " "рабочая длина буфера атрибутов. Если возвращаемое значение ложно, то в " "сообщении больше нет атрибутов, даже если I не равно нулю." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "BIB<)> returns a pointer to the start of this attribute's " "data." msgstr "BIB<)> возвращает указатель на начало данных атрибута." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "BIB<)> returns the length of this attribute's data." msgid "BIB<)> returns the size of this attribute's data." msgstr "BIB<)> возвращает длину данных атрибута." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "BIB<, >IB<)> gets the next attribute after " #| "I. Calling this macro will update I. You should use " #| "B to check the validity of the returned pointer." msgid "" "BIB<, >IB<)> gets the next attribute after I. " "Calling this macro will update I. You should use B to check " "the validity of the returned pointer." msgstr "" "BIB<, >IB<)> считывает следующий за I атрибут. " "Вызов этого макроса обновит I. Для проверки правильности " "полученного указателя используйте B." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "BIB<)> returns the length which is required for I " #| "bytes of data plus the header." msgid "" "BIB<)> returns the size which is required for I " "bytes of data plus the header." msgstr "" "BIB<)> возвращает длину, которая требуется для I " "байтов данных плюс заголовок." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "BIB<)> returns the amount of space which will be needed " #| "in a message with I bytes of data." msgid "" "BIB<)> returns the amount of space which will be needed in " "a message with I bytes of data." msgstr "" "BIB<)> возвращает количество места, которое требуется для " "сообщения с данными длиной I байт." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "СТАНДАРТЫ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux." msgstr "Linux." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "ПРОГРАММНЫЕ ОШИБКИ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This manual page is incomplete." msgstr "Данная справочная страница не полна." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. FIXME . ? would be better to use libnetlink in the EXAMPLE code here #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Creating a rtnetlink message to set the MTU of a device:" msgstr "Создание сообщения rtnetlink для установки MTU устройства:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "memset(&req, 0, sizeof(req));\n" #| "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\n" #| "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" #| "req.nh.nlmsg_type = RTM_NEWLINK;\n" #| "req.if.ifi_family = AF_UNSPEC;\n" #| "req.if.ifi_index = INTERFACE_INDEX;\n" #| "req.if.ifi_change = 0xffffffff; /* ??? */\n" #| "rta = (struct rtattr *)(((char *) &req) +\n" #| " NLMSG_ALIGN(req.nh.nlmsg_len));\n" #| "rta-Erta_type = IFLA_MTU;\n" #| "rta-Erta_len = RTA_LENGTH(sizeof(unsigned int));\n" #| "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" #| " RTA_LENGTH(sizeof(mtu));\n" #| "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" #| "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" msgid "" "#include Elinux/rtnetlink.hE\n" "\\&\n" "\\&...\n" "\\&\n" "struct {\n" " struct nlmsghdr nh;\n" " struct ifinfomsg if;\n" " char attrbuf[512];\n" "} req;\n" "\\&\n" "struct rtattr *rta;\n" "unsigned int mtu = 1000;\n" "\\&\n" "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" "\\&\n" "memset(&req, 0, sizeof(req));\n" "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n" "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" "req.nh.nlmsg_type = RTM_NEWLINK;\n" "req.if.ifi_family = AF_UNSPEC;\n" "req.if.ifi_index = INTERFACE_INDEX;\n" "req.if.ifi_change = 0xffffffff; /* ??? */\n" "rta = (struct rtattr *) ((char *) &req +\n" " NLMSG_ALIGN(req.nh.nlmsg_len));\n" "rta-Erta_type = IFLA_MTU;\n" "rta-Erta_len = RTA_LENGTH(sizeof(mtu));\n" "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" " RTA_LENGTH(sizeof(mtu));\n" "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" msgstr "" "memset(&req, 0, sizeof(req));\n" "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\n" "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" "req.nh.nlmsg_type = RTM_NEWLINK;\n" "req.if.ifi_family = AF_UNSPEC;\n" "req.if.ifi_index = INTERFACE_INDEX;\n" "req.if.ifi_change = 0xffffffff; /* ??? */\n" "rta = (struct rtattr *)(((char *) &req) +\n" " NLMSG_ALIGN(req.nh.nlmsg_len));\n" "rta-Erta_type = IFLA_MTU;\n" "rta-Erta_len = RTA_LENGTH(sizeof(unsigned int));\n" "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" " RTA_LENGTH(sizeof(mtu));\n" "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "СМОТРИТЕ ТАКЖЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(3), B(7), B(7)" msgstr "B(3), B(7), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 мая 2024 г." #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Страницы руководства Linux 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "Стандартная библиотека языка C (I, I<-lc>)" #. type: Plain text #: debian-trixie #, fuzzy, no-wrap #| msgid "BIB<, int >IB<);>" msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>" #. type: Plain text #: debian-trixie #, fuzzy, no-wrap #| msgid "BIB<, unsigned int >IB<);>" msgid "BIB<, unsigned int >IB<);>\n" msgstr "BIB<, unsigned int >IB<);>" #. type: Plain text #: debian-trixie #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "" "BIB<);>\n" "BIB<);>\n" msgstr "BIB<);>" #. type: Plain text #: debian-trixie msgid "" "BIB<, >IB<)> returns true if I points to a valid " "routing attribute; I is the running length of the attribute " "buffer. When not true then you must assume there are no more attributes in " "the message, even if I is nonzero." msgstr "" "BIB<, >IB<)> возвращает истинное значение в случае, " "если I указывает на правильный атрибут маршрутизации; I — " "рабочая длина буфера атрибутов. Если возвращаемое значение ложно, то в " "сообщении больше нет атрибутов, даже если I не равно нулю." #. type: Plain text #: debian-trixie msgid "BIB<)> returns the length of this attribute's data." msgstr "BIB<)> возвращает длину данных атрибута." #. type: Plain text #: debian-trixie msgid "" "BIB<, >IB<)> gets the next attribute after I. " "Calling this macro will update I. You should use B to " "check the validity of the returned pointer." msgstr "" "BIB<, >IB<)> считывает следующий за I атрибут. " "Вызов этого макроса обновит I. Для проверки правильности " "полученного указателя используйте B." #. type: Plain text #: debian-trixie msgid "" "BIB<)> returns the length which is required for I " "bytes of data plus the header." msgstr "" "BIB<)> возвращает длину, которая требуется для I " "байтов данных плюс заголовок." #. type: Plain text #: debian-trixie msgid "" "BIB<)> returns the amount of space which will be needed in " "a message with I bytes of data." msgstr "" "BIB<)> возвращает количество места, которое требуется для " "сообщения с данными длиной I байт." #. type: Plain text #: debian-trixie #, fuzzy, no-wrap #| msgid "" #| "memset(&req, 0, sizeof(req));\n" #| "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\n" #| "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" #| "req.nh.nlmsg_type = RTM_NEWLINK;\n" #| "req.if.ifi_family = AF_UNSPEC;\n" #| "req.if.ifi_index = INTERFACE_INDEX;\n" #| "req.if.ifi_change = 0xffffffff; /* ??? */\n" #| "rta = (struct rtattr *)(((char *) &req) +\n" #| " NLMSG_ALIGN(req.nh.nlmsg_len));\n" #| "rta-Erta_type = IFLA_MTU;\n" #| "rta-Erta_len = RTA_LENGTH(sizeof(unsigned int));\n" #| "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" #| " RTA_LENGTH(sizeof(mtu));\n" #| "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" #| "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" msgid "" "#include Elinux/rtnetlink.hE\n" "\\&\n" "\\&...\n" "\\&\n" "struct {\n" " struct nlmsghdr nh;\n" " struct ifinfomsg if;\n" " char attrbuf[512];\n" "} req;\n" "\\&\n" "struct rtattr *rta;\n" "unsigned int mtu = 1000;\n" "\\&\n" "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" "\\&\n" "memset(&req, 0, sizeof(req));\n" "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.if));\n" "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" "req.nh.nlmsg_type = RTM_NEWLINK;\n" "req.if.ifi_family = AF_UNSPEC;\n" "req.if.ifi_index = INTERFACE_INDEX;\n" "req.if.ifi_change = 0xffffffff; /* ??? */\n" "rta = (struct rtattr *)(((char *) &req) +\n" " NLMSG_ALIGN(req.nh.nlmsg_len));\n" "rta-Erta_type = IFLA_MTU;\n" "rta-Erta_len = RTA_LENGTH(sizeof(mtu));\n" "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" " RTA_LENGTH(sizeof(mtu));\n" "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" msgstr "" "memset(&req, 0, sizeof(req));\n" "req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));\n" "req.nh.nlmsg_flags = NLM_F_REQUEST;\n" "req.nh.nlmsg_type = RTM_NEWLINK;\n" "req.if.ifi_family = AF_UNSPEC;\n" "req.if.ifi_index = INTERFACE_INDEX;\n" "req.if.ifi_change = 0xffffffff; /* ??? */\n" "rta = (struct rtattr *)(((char *) &req) +\n" " NLMSG_ALIGN(req.nh.nlmsg_len));\n" "rta-Erta_type = IFLA_MTU;\n" "rta-Erta_len = RTA_LENGTH(sizeof(unsigned int));\n" "req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +\n" " RTA_LENGTH(sizeof(mtu));\n" "memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" "send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2025-01-05" msgstr "5 января 2025 г." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Страницы руководства Linux 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Страницы руководства Linux 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Страницы руководства Linux (не выпущены)"