# 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: 2024-03-01 17:06+0100\n" "PO-Revision-Date: 2019-10-06 09:20+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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "rtnetlink" msgstr "" #. type: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31 октября 2023 г." #. type: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Linux man-pages 6.06" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "ИМЯ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "rtnetlink - macros to manipulate rtnetlink messages" msgstr "rtnetlink - макросы для обработки сообщений rtnetlink" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Standard C library (I, I<-lc>)" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "СИНТАКСИС" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<, NETLINK_ROUTE);>\n" msgstr "BIB<, NETLINK_ROUTE);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<, int >IB<);>" msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "" "BIB<);>\n" "BIB<);>\n" msgstr "BIB<);>" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "" "BIB<);>\n" "BIB<);>\n" msgstr "BIB<);>" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "ОПИСАНИЕ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed 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 #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "BIB<)> returns a pointer to the start of this attribute's " "data." msgstr "BIB<)> возвращает указатель на начало данных атрибута." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "BIB<)> returns the length of this attribute's data." msgstr "BIB<)> возвращает длину данных атрибута." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "BIB<)> returns the length which is required for I " "bytes of data plus the header." msgstr "" "BIB<)> возвращает длину, которая требуется для I " "байтов данных плюс заголовок." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "СТАНДАРТЫ" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "Linux." msgstr "Linux." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "ДЕФЕКТЫ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "This manual page is incomplete." msgstr "Данная справочная страница не полна." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. FIXME . ? would be better to use libnetlink in the EXAMPLE code here #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Creating a rtnetlink message to set the MTU of a device:" msgstr "Создание сообщения rtnetlink для установки MTU устройства:" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "СМ. ТАКЖЕ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B(3), B(7), B(7)" msgstr "B(3), B(7), B(7)" #. type: TH #: debian-bookworm #, no-wrap msgid "2022-10-30" msgstr "30 октября 2022 г." #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "Linux man-pages 6.03" #. type: Plain text #: debian-bookworm msgid "These macros are nonstandard Linux extensions." msgstr "Данные макросы являются нестандартными расширениями Linux." #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "#include Elinux/rtnetlink.hE\n" msgstr "#include Elinux/rtnetlink.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "\\&...\n" msgstr "\\&...\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "struct {\n" " struct nlmsghdr nh;\n" " struct ifinfomsg if;\n" " char attrbuf[512];\n" "} req;\n" msgstr "" "struct {\n" " struct nlmsghdr nh;\n" " struct ifinfomsg if;\n" " char attrbuf[512];\n" "} req;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "struct rtattr *rta;\n" "unsigned int mtu = 1000;\n" msgstr "" "struct rtattr *rta;\n" "unsigned int mtu = 1000;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" msgstr "int rtnetlink_sk = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, 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 "" "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 #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "2023-07-15" msgstr "15 июля 2023 г." #. type: TH #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "Linux man-pages 6.05.01" msgstr "Linux man-pages 6.05.01" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "30 марта 2023 г." #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "Linux man-pages 6.04"