# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Alexander Golubev , 2018. # Azamat Hackimov , 2011, 2014-2016. # Hotellook, 2014. # Nikita , 2014. # Spiros Georgaras , 2016. # Vladislav , 2015. # Yuri Kozlov , 2011-2019. # Иван Павлов , 2017. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:44+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 "socket" msgstr "socket" #. 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 "socket - Linux socket interface" msgstr "socket - интерфейс сокетов Linux" #. 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 Esys/socket.hE>\n" msgstr "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 #, fuzzy, no-wrap #| msgid "IB< = socket(int >IB<, int >IB<, int >IB<);>" msgid "IB< = socket(int >IB<, int >IB<, int >IB<);>\n" msgstr "IB< = socket(int >IB<, int >IB<, int >IB<);>" #. 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 "" "This manual page describes the Linux networking socket layer user " "interface. The BSD compatible sockets are the uniform interface between the " "user process and the network protocol stacks in the kernel. The protocol " "modules are grouped into I such as B, B, " "and B, and I such as B or " "B. See B(2) for more information on families and types." msgstr "" "В этой справочной странице описывается пользовательский интерфейс уровня " "сетевых сокетов Linux. Совместимый с сокетами BSD, он предоставляет " "унифицированный интерфейс между пользовательскими процессами и стеком " "сетевых протоколов в ядре. Модули протоколов группируются по I<семействам " "протоколов>, такими, как B, B и B, и I<типам " "сокетов>, такими, как B или B. Более подробная " "информация о семействах и типах приведена в B(2)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Socket-layer functions" msgstr "Функции уровня сокетов" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "These functions are used by the user process to send or receive packets " #| "and to do other socket operations. For more information see their " #| "respective manual pages." msgid "" "These functions are used by the user process to send or receive packets and " "to do other socket operations. For more information, see their respective " "manual pages." msgstr "" "Эти функции используются пользовательскими процессами для отправки или " "приёма пакетов и выполнения других операций над сокетами. Более подробная " "информация приведена в соответствующих справочных страницах." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2) creates a socket, B(2) connects a socket to a remote " "socket address, the B(2) function binds a socket to a local socket " "address, B(2) tells the socket that new connections shall be " "accepted, and B(2) is used to get a new socket with a new incoming " "connection. B(2) returns two connected anonymous sockets " "(implemented only for a few local families like B)" msgstr "" "Вызов B(2) создаёт сокет, B(2) соединяет сокет с удалённым " "сокетным адресом, B(2) привязывает сокет к локальному адресу, " "B(2) сообщает сокету, что должны приниматься новые соединения, а " "B(2) используется для получения нового сокета для нового входящего " "соединения. Вызов B(2) возвращает два соединённых анонимных " "сокета (реализовано только для некоторых локальных семейств, например " "B)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2), B(2), and B(2) send data over a socket, and " "B(2), B(2), B(2) receive data from a socket. " "B(2) and B(2) ожидают поступления данных или готовятся к " "передаче данных. Кроме того, для чтения и записи данных могут использоваться " "стандартные операции ввода-вывода: B(2), B(2), " "B(2), B(2) и B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2) returns the local socket address and B(2) " "returns the remote socket address. B(2) and B(2) " "are used to set or get socket layer or protocol options. B(2) can " "be used to set or read some other options." msgstr "" "Вызов B(2) возвращает адрес локального сокета, а " "B(2) возвращает адрес удалённого сокета. Вызовы " "B(2) и B(2) используются для установки или " "считывания параметров протокола или уровня сокетов. Вызов B(2) может " "быть использован для установки или чтения некоторых других параметров." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2) is used to close a socket. B(2) closes parts of a " "full-duplex socket connection." msgstr "" "Вызов B(2) используется для закрытия сокета. Вызов B(2) " "закрывает части полнодуплексного сокетного соединения." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Seeking, or calling B(2) or B(2) with a nonzero position is " "not supported on sockets." msgstr "" "Перемещение (seeking), или вызовы B(2) и B(2) с ненулевой " "позицией, для сокетов не поддерживается." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It is possible to do nonblocking I/O on sockets by setting the B " "flag on a socket file descriptor using B(2). Then all operations " "that would block will (usually) return with B (operation should be " "retried later); B(2) will return B error. The user " "can then wait for various events via B(2) or B(2)." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I/O events" msgstr "События ввода-вывода" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Event" msgstr "Событие" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Poll flag" msgstr "Флаг poll" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Occurrence" msgstr "Когда происходит" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Read" msgstr "Чтение" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "POLLIN" msgstr "POLLIN" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "New data arrived." msgstr "Поступили новые данные." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "A connection setup has been completed\n" "(for connection-oriented sockets)" msgstr "" "Установка соединения выполнена\n" "(для сокетов с установлением соединения)" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "POLLHUP" msgstr "POLLHUP" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "A disconnection request has been initiated by the other end." msgstr "Другая сторона инициировала запрос на разъединение." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "A connection is broken (only for connection-oriented protocols).\n" "When the socket is written\n" "B\n" "is also sent." msgstr "" "Соединение разорвано (только для протоколов с установлением соединения).\n" "Если производится запись в сокет, то также посылается\n" "сигнал B." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Write" msgstr "Запись" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "POLLOUT" msgstr "POLLOUT" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Socket has enough send buffer space for writing new data." msgstr "Сокет имеет достаточно места в буфере отправки для записи в него новых данных." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Read/Write" msgstr "Чтение/Запись" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "POLLIN |\n" msgstr "POLLIN |\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".br\n" msgstr ".br\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "An outgoing\n" "B(2)\n" "finished." msgstr "" "Исходящий\n" "B(2)\n" "завершён." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "POLLERR" msgstr "POLLERR" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "An asynchronous error occurred." msgstr "Произошла асинхронная ошибка." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The other end has shut down one direction." msgstr "Другая сторона закрыла (shut down) одно направление." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Exception" msgstr "Исключение" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "POLLPRI" msgstr "POLLPRI" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "Urgent data arrived.\n" "B\n" "is sent then." msgstr "" "Пришли неотложные данные.\n" "После посылается\n" "сигнал B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An alternative to B(2) and B(2) в ядре существует возможность " "информировать приложение о событиях с помощью сигнала B. Для этого " "необходимо установить с помощью B(2) в файловом дескрипторе сокета " "флаг B, а также назначить с помощью B(2) корректный " "обработчик сигнала B. Смотрите ниже раздел I<Сигналы>." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Socket address structures" msgstr "Структуры адреса сокета" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Each socket domain has its own format for socket addresses, with a domain-" "specific address structure. Each of these structures begins with an integer " "\"family\" field (typed as I) that indicates the type of the " "address structure. This allows the various system calls (e.g., " "B(2), B(2), B(2), B(2), " "B(2)), which are generic to all socket domains, to determine " "the domain of a particular socket address." msgstr "" "Каждый сокетный домен имеет свой формат сокетных адресов, выраженный в " "отдельной адресной структуре. Каждая из этих структур начинается с " "целочисленного поля «семейства» (с типом I), в котором " "указывается тип адресной структуры. Это позволяет различным системным " "вызовам (например, B(2), B(2), B(2), " "B(2), B(2)), которые являются общими для всех " "сокетов, определить домен конкретного сокетного адреса." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To allow any type of socket address to be passed to interfaces in the " "sockets API, the type I is defined. The purpose of this " "type is purely to allow casting of domain-specific socket address types to a " "\"generic\" type, so as to avoid compiler warnings about type mismatches in " "calls to the sockets API." msgstr "" "Для передачи сокетного адреса любого типа через программный интерфейс " "сокетов служит тип I. Целью данного типа является " "приведение типов сокетных адресов определённого домена к «общему» типу, что " "позволяет избежать предупреждений компилятора о несовпадении типов в вызовах " "API сокетов." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In addition, the sockets API provides the data type I. This type is suitable to accommodate all supported " "domain-specific socket address structures; it is large enough and is aligned " "properly. (In particular, it is large enough to hold IPv6 socket " "addresses.) The structure includes the following field, which can be used " "to identify the type of socket address actually stored in the structure:" msgstr "" "Также, программный интерфейс сокетов предоставляет тип данных I. Данный тип удобен для размещения всех поддерживаемых " "структур сокетных адресов определённого домена; он достаточно большой и " "имеет корректное выравнивание (в частности, он позволяет хранить сокетные " "адреса IPv6). Для определения типа сокетного адреса, который хранится в " "структуре, служит следующее поле:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " sa_family_t ss_family;\n" msgstr " sa_family_t ss_family;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I structure is useful in programs that must handle " "socket addresses in a generic way (e.g., programs that must deal with both " "IPv4 and IPv6 socket addresses)." msgstr "" "Структура I полезна для программ, которые должны работать " "с сокетными адресами единообразно (например, в программах, использующих " "одновременно сокетные адреса IPv4 и IPv6)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Socket options" msgstr "Параметры сокета" #. FIXME . #. In the list below, the text used to describe argument types #. for each socket option should be more consistent #. SO_ACCEPTCONN is in POSIX.1-2001, and its origin is explained in #. W R Stevens, UNPv1 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The socket options listed below can be set by using B(2) and " "read with B(2) with the socket level set to B for " "all sockets. Unless otherwise noted, I is a pointer to an I." msgstr "" "Следующие параметры сокета могут быть установлены с помощью B(2) " "или прочитаны с помощью B(2) с уровнем сокета, равным " "B для всех сокетов:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns a value indicating whether or not this socket has been marked to " "accept connections with B(2). The value 0 indicates that this is " "not a listening socket, the value 1 indicates that this is a listening " "socket. This socket option is read-only." msgstr "" "Определить, был или не был данный сокет помечен для прослушивания и приёма " "соединений с помощью B(2). Возвращаемое значение 0 обозначает, что " "это не прослушивающий сокет. Значение 1 обозначает, что это прослушивающий " "сокет. Данный параметр сокета доступен только для чтения." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 2.2)" msgid "B (since Linux 2.2)" msgstr "B (начиная с Linux 2.2)" #. type: TQ #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 3.10)" msgid "B (since Linux 3.19)" msgstr "B (начиная с Linux 3.10)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Attach a classic BPF (B) or an extended BPF " #| "(B) program to the socket for use as a filter of incoming " #| "packets. A packet will be dropped if the filter program returns zero. " #| "If the filter program returns a nonzero value which is less than the " #| "packet's data length, the packet will be truncated to the length " #| "returned. If the value returned by the filter is greater than or equal " #| "to the packet's data length, the packet is allowed to proceed unmodified." msgid "" "Attach a classic BPF (B) or an extended BPF " "(B) program to the socket for use as a filter of incoming " "packets. A packet will be dropped if the filter program returns zero. If " "the filter program returns a nonzero value which is less than the packet's " "data size, the packet will be truncated to the size returned. If the value " "returned by the filter is greater than or equal to the packet's data size, " "the packet is allowed to proceed unmodified." msgstr "" "Присоединить классическую (B) или расширенную " "(B) программу BPF к сокету, которая будет использоваться как " "фильтр входящих пакетов. Пакет будет отброшен, если фильтрующая программа " "возвращает ноль. Если фильтрующая программа возвращает ненулевое значение, " "меньше длины данных пакета, то пакет будет обрезан до возвращаемой длины. " "Если возвращаемое фильтром значение больше или равно длине данных пакета, то " "пакет разрешён к обработке без изменений." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The argument for B is a I structure, defined " "in Ilinux/filter.hE>:" msgstr "" "Для B аргументом является структура I, " "определяемая в Ilinux/filter.hE>:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct sock_fprog {\n" " unsigned short len;\n" " struct sock_filter *filter;\n" "};\n" msgstr "" "struct sock_fprog {\n" " unsigned short len;\n" " struct sock_filter *filter;\n" "};\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The argument for B is a file descriptor returned by the " "B(2) system call and must refer to a program of type " "B." msgstr "" "Для B аргументом является файловый дескриптор, возвращаемый " "системным вызовом B(2), он должен указывать на программу с типом " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These options may be set multiple times for a given socket, each time " "replacing the previous filter program. The classic and extended versions " "may be called on the same socket, but the previous filter will always be " "replaced such that a socket never has more than one filter defined." msgstr "" "Эти параметры могут быть назначены заданному сокету несколько раз, если " "перед этим заменять фильтрующую программу. Для одного сокета могут " "вызываться классическая и расширенная версии, но предыдущий фильтр всегда " "будет заменён, так как для сокета допускается определять не более одного " "фильтра." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "" #| "Both classic and extended BPF are explained in the kernel source file " #| "I" msgid "" "Both classic and extended BPF are explained in the kernel source file " "I" msgstr "" "Классический и расширенный BPF описаны в файле исходного кода ядра " "I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B, B" msgid "B" msgstr "B, B" #. type: TQ #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B, B" msgid "B" msgstr "B, B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For use with the B option, these options allow the user to set " "a classic BPF (B) or an extended BPF " "(B) program which defines how packets are " "assigned to the sockets in the reuseport group (that is, all sockets which " "have B set and are using the same local address to receive " "packets)." msgstr "" "При использовании вместе с B эти параметры позволяют " "пользователю задавать классическую (B) или " "расширенную (B) программу BPF, которая определяет " "как пакеты назначаются сокетам в группе reuseport (то есть всем сокетам, у " "которых установлен B, и использующим один локальный адрес для " "приёма пакетов)." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "" #| "The BPF program must return an index between 0 and N-1 representing the " #| "socket which should receive the packet (where N is the number of sockets " #| "in the group). If the BPF program returns an invalid index, socket " #| "selection will fall back to the plain B mechanism." msgid "" "The classic BPF program must return an index between 0 and N-1 representing " "the socket which should receive the packet (where N is the number of sockets " "in the group). If the BPF program returns an invalid index, socket " "selection will fall back to the plain B mechanism." msgstr "" "Программа BPF должна возвращать индекс от 0 до N-1, представляющий сокет, " "который должен получить пакет (где N — количество сокетов в группе). Если " "программа BPF возвращает некорректный индекс, то выбор сокета будет выполнен " "с помощью простого механизма B." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "" #| "Sockets are numbered in the order in which they are added to the group " #| "(that is, the order of B(2) calls for UDP sockets or the order of " #| "B(2) calls for TCP sockets). New sockets added to a reuseport " #| "group will inherit the BPF program. When a socket is removed from a " #| "reuseport group (via B(2)), the last socket in the group will be " #| "moved into the closed socket's position." msgid "" "Sockets are numbered in the order in which they are added to the group (that " "is, the order of B(2) calls for UDP sockets or the order of " "B(2) calls for TCP sockets)." msgstr "" "Сокеты нумеруются в порядке их добавления в группу (то есть, в порядке " "вызовов B(2) для сокетов UDP и в порядке вызовов B(2) для " "сокетов TCP). Новые сокеты, добавляемые в группу reuseport, будут " "наследовать программу BPF. Когда сокет удаляется из группы reuseport (с " "помощью B(2)), последний сокет в группе будет перемещён в позицию " "закрытого сокета." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "The extended BPF program can be of two types:" msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B" msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "In this case, the extended BPF program must return an index between 0 and " "N-1, like a classic BPF program." msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 3.9)" msgid "B (since Linux 4.19)" msgstr "B (начиная с Linux 3.9)" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "In this case, it must return an action (B or B) and the " "B helper can be used to select the socket which " "should receive the packet." msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "" #| "Sockets are numbered in the order in which they are added to the group " #| "(that is, the order of B(2) calls for UDP sockets or the order of " #| "B(2) calls for TCP sockets). New sockets added to a reuseport " #| "group will inherit the BPF program. When a socket is removed from a " #| "reuseport group (via B(2)), the last socket in the group will be " #| "moved into the closed socket's position." msgid "" "New sockets added to a reuseport group will inherit the BPF program. When a " "socket is removed from a reuseport group (via B(2)), the last socket " "in the group will be moved into the closed socket's position." msgstr "" "Сокеты нумеруются в порядке их добавления в группу (то есть, в порядке " "вызовов B(2) для сокетов UDP и в порядке вызовов B(2) для " "сокетов TCP). Новые сокеты, добавляемые в группу reuseport, будут " "наследовать программу BPF. Когда сокет удаляется из группы reuseport (с " "помощью B(2)), последний сокет в группе будет перемещён в позицию " "закрытого сокета." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These options may be set repeatedly at any time on any socket in the group " "to replace the current BPF program used by all sockets in the group." msgstr "" "Эти параметры могут быть повторно назначены в любое время любому сокету в " "группе для замены текущей программы BPF, используемой всеми сокетами в " "группе." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B takes the same argument type as " "B and B takes the same argument " "type as B." msgstr "" "Для B учитывается тот же тип аргумента как у " "B, а для B учитывается тот же " "тип аргумента как у B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "UDP support for this feature is available since Linux 4.5; TCP support is " "available since Linux 4.6." msgstr "" "Поддержка этого свойства для UDP доступна начиная с Linux 4.5; Поддержка " "этого свойства для TCP доступна начиная с Linux 4.6." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Bind this socket to a particular device like \\(lqeth0\\(rq, as specified " #| "in the passed interface name. If the name is an empty string or the " #| "option length is zero, the socket device binding is removed. The passed " #| "option is a variable-length null-terminated interface name string with " #| "the maximum size of B. If a socket is bound to an interface, " #| "only packets received from that particular interface are processed by the " #| "socket. Note that this works only for some socket types, particularly " #| "B sockets. It is not supported for packet sockets (use normal " #| "B(2) there)." msgid "" "Bind this socket to a particular device like \\[lq]eth0\\[rq], as specified " "in the passed interface name. If the name is an empty string or the option " "size is zero, the socket device binding is removed. The passed option is a " "variable-size null-terminated interface name string with the maximum size of " "B. If a socket is bound to an interface, only packets received " "from that particular interface are processed by the socket. Note that this " "works only for some socket types, particularly B sockets. It is " "not supported for packet sockets (use normal B(2) there)." msgstr "" "Привязать сокет к определённому устройству, например, к «eth0», в " "соответствии с переданным именем интерфейса. Если имя является пустой " "строкой или длина параметра равна нулю, то привязка сокета к устройству " "будет удалена. В качестве параметра передаётся оканчивающаяся null строка " "переменной длины с именем интерфейса, максимальная длина которого не " "превышает B. Если сокет привязан к интерфейсу, то сокетом " "обрабатываются только пакеты этого интерфейса. Заметим, что это работает " "только для некоторых типов сокетов, в частности, для сокетов B. Это " "не поддерживается для сокетов пакетной передачи (для них используйте обычный " "B(2))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before Linux 3.8, this socket option could be set, but could not retrieved " "with B(2). Since Linux 3.8, it is readable. The I " "argument should contain the buffer size available to receive the device name " "and is recommended to be B bytes. The real device name length is " "reported back in the I argument." msgstr "" "До Linux 3.8, данный параметр сокета можно было устанавливать, но нельзя " "прочитать с помощью B(2). Начиная с Linux 3.8 он доступен для " "чтения. Аргумент I должен содержать размер буфера, способного " "разместить имя устройства; рекомендуемое значение — B байт. " "Реальная длина имени устройства возвращается обратно через аргумент " "I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set or get the broadcast flag. When enabled, datagram sockets are allowed " "to send packets to a broadcast address. This option has no effect on stream-" "oriented sockets." msgstr "" "Задать или считать флаг широковещания. Если он установлен, то через " "датаграммные сокеты разрешено отправлять пакеты на широковещательный адрес. " "Этот параметр не действует на потоковые сокеты." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Enable BSD bug-to-bug compatibility. This is used by the UDP protocol " "module in Linux 2.0 and 2.2. If enabled, ICMP errors received for a UDP " "socket will not be passed to the user program. In later kernel versions, " "support for this option has been phased out: Linux 2.4 silently ignores it, " "and Linux 2.6 generates a kernel warning (printk()) if a program uses this " "option. Linux 2.0 also enabled BSD bug-to-bug compatibility options (random " "header changing, skipping of the broadcast flag) for raw sockets with this " "option, but that was removed in Linux 2.2." msgstr "" "Разрешить совместимость по ошибкам с BSD. Используется модулем протокола UDP " "в Linux версии 2.0 и 2.2. Если включено, то полученные UDP-сокетом ошибки " "ICMP не будут передаваться пользовательской программе. В последний версиях " "ядер поддержка этого параметра удалена: в Linux 2.4 он игнорируется, а в " "Linux 2.6 при использовании в программе для него генерируется предупреждение " "ядра (printk()). В Linux 2.0 также включён параметр совместимости по ошибкам " "с BSD и для неструктурированных сокетов (произвольное изменение заголовка, " "пропуск флага широковещательной передачи), но в Linux 2.2 это было удалено." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Enable socket debugging. Allowed only for processes with the " "B capability or an effective user ID of 0." msgstr "" "Включить отладку сокета. Разрешено только процессам с мандатом " "B или имеющим нулевой идентификатор эффективного пользователя." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 2.2)" msgid "B (since Linux 2.2)" msgstr "B (начиная с Linux 2.2)" #. type: TQ #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 3.4)" msgid "B (since Linux 3.19)" msgstr "B (начиная с Linux 3.4)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These two options, which are synonyms, may be used to remove the classic or " "extended BPF program attached to a socket with either B or " "B. The option value is ignored." msgstr "" "Эти два параметра, синонимы, можно использовать для удаления классической " "или расширенной программы BPF, присоединённой к сокету с помощью " "B или B. Значение параметра игнорируется." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.32)" msgstr "B (начиная с Linux 2.6.32)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Retrieves the socket domain as an integer, returning a value such as " "B. See B(2) for details. This socket option is read-" "only." msgstr "" "Получить доменный сокет в виде целого числа; пример возвращаемого значения: " "B. Подробней смотрите в B(2). Этот параметр сокета " "доступен только для чтения." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Get and clear the pending socket error. This socket option is read-only. " "Expects an integer." msgstr "" "Получить и очистить ожидающую обработки ошибку сокета. Этот параметр сокета " "доступен только для чтения. Ожидает целое число." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Don't send via a gateway, send only to directly connected hosts. The same " "effect can be achieved by setting the B flag on a socket " "B(2) operation. Expects an integer boolean flag." msgstr "" "Не выполнять отправку через шлюз, посылать только на машины, соединенные " "напрямую. Тот же эффект может быть достигнут путём установки для сокета " "флага B во время вызова B(2). В качестве параметра " "ожидается целочисленный логический флаг." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (gettable since Linux 3.19, settable since Linux 4.4)" msgstr "B (чтение, начиная с Linux 3.19; запись, начиная с Linux 4.4)" #. getsockopt 2c8c56e15df3d4c2af3d656e44feb18789f75837 #. setsockopt 70da268b569d32a9fddeea85dc18043de9d89f89 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Sets or gets the CPU affinity of a socket. Expects an integer flag." msgstr "" "Изменяет или возвращает привязку сокета к ЦП. В качестве параметра ожидается " "целочисленный логический флаг." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "int cpu = 1;\n" #| "setsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu, sizeof(cpu));\n" msgid "" "int cpu = 1;\n" "setsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu,\n" " sizeof(cpu));\n" msgstr "" "int cpu = 1;\n" "setsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu, sizeof(cpu));\n" #. #-#-#-#-# archlinux: socket.7.pot (PACKAGE VERSION) #-#-#-#-# #. From an email conversation with Eric Dumazet: #. >> Note that setting the option is not supported if SO_REUSEPORT is used. #. > #. > Please define "not supported". Does this yield an API diagnostic? #. > If so, what is it? #. > #. >> Socket will be selected from an array, either by a hash or BPF program #. >> that has no access to this information. #. > #. > Sorry -- I'm lost here. How does this comment relate to the proposed #. > man page text above? #. Simply that : #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores #. SO_INCOMING_CPU setting. #. type: Plain text #. #-#-#-#-# debian-trixie: socket.7.pot (PACKAGE VERSION) #-#-#-#-# #. From an email conversation with Eric Dumazet: #. >> Note that setting the option is not supported if SO_REUSEPORT is used. #. > #. > Please define "not supported". Does this yield an API diagnostic? #. > If so, what is it? #. > #. >> Socket will be selected from an array, either by a hash or BPF program #. >> that has no access to this information. #. > #. > Sorry -- I'm lost here. How does this comment relate to the proposed #. > man page text above? #. Simply that : #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores #. SO_INCOMING_CPU setting. #. type: Plain text #. #-#-#-#-# debian-unstable: socket.7.pot (PACKAGE VERSION) #-#-#-#-# #. From an email conversation with Eric Dumazet: #. >> Note that setting the option is not supported if SO_REUSEPORT is used. #. > #. > Please define "not supported". Does this yield an API diagnostic? #. > If so, what is it? #. > #. >> Socket will be selected from an array, either by a hash or BPF program #. >> that has no access to this information. #. > #. > Sorry -- I'm lost here. How does this comment relate to the proposed #. > man page text above? #. Simply that : #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores #. SO_INCOMING_CPU setting. #. type: Plain text #. #-#-#-#-# fedora-44: socket.7.pot (PACKAGE VERSION) #-#-#-#-# #. From an email conversation with Eric Dumazet: #. >> Note that setting the option is not supported if SO_REUSEPORT is used. #. > #. > Please define "not supported". Does this yield an API diagnostic? #. > If so, what is it? #. > #. >> Socket will be selected from an array, either by a hash or BPF program #. >> that has no access to this information. #. > #. > Sorry -- I'm lost here. How does this comment relate to the proposed #. > man page text above? #. Simply that : #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores #. SO_INCOMING_CPU setting. #. type: Plain text #. #-#-#-#-# fedora-rawhide: socket.7.pot (PACKAGE VERSION) #-#-#-#-# #. From an email conversation with Eric Dumazet: #. >> Note that setting the option is not supported if SO_REUSEPORT is used. #. > #. > Please define "not supported". Does this yield an API diagnostic? #. > If so, what is it? #. > #. >> Socket will be selected from an array, either by a hash or BPF program #. >> that has no access to this information. #. > #. > Sorry -- I'm lost here. How does this comment relate to the proposed #. > man page text above? #. Simply that : #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores #. SO_INCOMING_CPU setting. #. type: Plain text #. #-#-#-#-# mageia-cauldron: socket.7.pot (PACKAGE VERSION) #-#-#-#-# #. From an email conversation with Eric Dumazet: #. >> Note that setting the option is not supported if SO_REUSEPORT is used. #. > #. > Please define "not supported". Does this yield an API diagnostic? #. > If so, what is it? #. > #. >> Socket will be selected from an array, either by a hash or BPF program #. >> that has no access to this information. #. > #. > Sorry -- I'm lost here. How does this comment relate to the proposed #. > man page text above? #. Simply that : #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores #. SO_INCOMING_CPU setting. #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: socket.7.pot (PACKAGE VERSION) #-#-#-#-# #. From an email conversation with Eric Dumazet: #. >> Note that setting the option is not supported if SO_REUSEPORT is used. #. > #. > Please define "not supported". Does this yield an API diagnostic? #. > If so, what is it? #. > #. >> Socket will be selected from an array, either by a hash or BPF program #. >> that has no access to this information. #. > #. > Sorry -- I'm lost here. How does this comment relate to the proposed #. > man page text above? #. Simply that : #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores #. SO_INCOMING_CPU setting. #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: socket.7.pot (PACKAGE VERSION) #-#-#-#-# #. From an email conversation with Eric Dumazet: #. >> Note that setting the option is not supported if SO_REUSEPORT is used. #. > #. > Please define "not supported". Does this yield an API diagnostic? #. > If so, what is it? #. > #. >> Socket will be selected from an array, either by a hash or BPF program #. >> that has no access to this information. #. > #. > Sorry -- I'm lost here. How does this comment relate to the proposed #. > man page text above? #. Simply that : #. If an application uses both SO_INCOMING_CPU and SO_REUSEPORT, then #. SO_REUSEPORT logic, selecting the socket to receive the packet, ignores #. SO_INCOMING_CPU setting. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Because all of the packets for a single stream (i.e., all packets for the " "same 4-tuple) arrive on the single RX queue that is associated with a " "particular CPU, the typical use case is to employ one listening process per " "RX queue, with the incoming flow being handled by a listener on the same CPU " "that is handling the RX queue. This provides optimal NUMA behavior and " "keeps CPU caches hot." msgstr "" "Так как все пакеты одного потока (т. е., все пакеты одной связки 4-х " "значений (4-tuple)) поступают в одно очередь RX, которая связана с " "определённым ЦП, обычно, это используется для привязки слушающего процесса к " "очереди RX, чтобы входящий поток, обрабатываемый слушающим, был на том же " "ЦП, который обслуживает очередь RX. Это предоставляет оптимальное поведение " "NUMA и поддерживает кэши ЦП в актуальном состоянии." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (gettable since Linux 3.19, settable since Linux 4.4)" msgid "B (gettable since Linux 4.12)" msgstr "B (чтение, начиная с Linux 3.19; запись, начиная с Linux 4.4)" #. getsockopt 6d4339028b350efbf87c61e6d9e113e5373545c9 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns a system-level unique ID called NAPI ID that is associated with a RX " "queue on which the last packet associated with that socket is received." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This can be used by an application to split the incoming flows among worker " "threads based on the RX queue on which the packets associated with the flows " "are received. It allows each worker thread to be associated with a NIC HW " "receive queue and service all the connection requests received on that RX " "queue. This mapping between an app thread and a HW NIC queue streamlines " "the flow of data from the NIC to the application." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Enable sending of keep-alive messages on connection-oriented sockets. " "Expects an integer boolean flag." msgstr "" "Включить отправку «поддерживающих» (keep-alive) сообщений для сокетов, " "ориентированных на соединение. Ожидается целочисленный логический флаг." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Sets or gets the B option. The argument is a I structure." msgstr "" "Задать или считать параметр B. Аргументом является структура " "I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct linger {\n" " int l_onoff; /* linger active */\n" " int l_linger; /* how many seconds to linger for */\n" "};\n" msgstr "" "struct linger {\n" " int l_onoff; /* задержка активна */\n" " int l_linger; /* величина задержки в секундах */\n" "};\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When enabled, a B(2) or B(2) will not return until all " "queued messages for the socket have been successfully sent or the linger " "timeout has been reached. Otherwise, the call returns immediately and the " "closing is done in the background. When the socket is closed as part of " "B(2), it always lingers in the background." msgstr "" "Если этот параметр установлен, то B(2) или B(2) не вернут " "управление до тех пор, пока не будут отправлены все сообщения в очереди " "сокета или до истечения времени задержки (linger). В противном случае вызовы " "вернут управление немедленно и закрытие будет произведено в фоновом режиме. " "Если сокет закрывается как часть вызова B(2), то задержка всегда " "происходит в фоновом режиме." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. commit d59577b6ffd313d0ab3be39cb1ab47e29bdc9182 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When set, this option will prevent changing the filters associated with the " "socket. These filters include any set using the socket options " "B, B, B, and " "B." msgstr "" "Если указан, то это запрещает изменять фильтры, связанные с сокетом. К " "фильтрам относятся любые, добавленные с помощью параметров сокета " "B B B и " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The typical use case is for a privileged process to set up a raw socket (an " "operation that requires the B capability), apply a restrictive " "filter, set the B option, and then either drop its " "privileges or pass the socket file descriptor to an unprivileged process via " "a UNIX domain socket." msgstr "" "Обычно, он используется так: настраивается неструктурированный сокет " "привилегированного процесса (операция требует мандата B), " "применяется ограничивающий фильтр, назначается параметр B, а " "затем сбрасываются привилегии или файловый дескриптор сокета передаётся " "непривилегированного процессу через доменный сокет UNIX." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Once the B option has been enabled, attempts to change or " "remove the filter attached to a socket, or to disable the B " "option will fail with the error B." msgstr "" "После установки параметра B, все попытки изменить, удалить " "присоединённый к сокету фильтр или отключить с помощью параметра " "B, будут завершаться с ошибкой B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.25)" msgstr "B (начиная с Linux 2.6.25)" #. commit 4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0 #. and 914a9ab386a288d0f22252fc268ecbc048cdcbd5 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Set the mark for each packet sent through this socket (similar to the " #| "netfilter MARK target but socket-based). Changing the mark can be used " #| "for mark-based routing without netfilter or for packet filtering. " #| "Setting this option requires the B capability." msgid "" "Set the mark for each packet sent through this socket (similar to the " "netfilter MARK target but socket-based). Changing the mark can be used for " "mark-based routing without netfilter or for packet filtering. Setting this " "option requires the B or B (since Linux 5.17) " "capability." msgstr "" "Устанавливать метку на каждый пакет, отправленный через сокет (похоже на " "цель netfilter MARK, но для сокетов). Изменение метки можно использовать для " "маршрутизации на основе меток не задействуя netfilter или для фильтрации " "пакетов. Для установки этого параметра требуется мандат B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. don't document it because it can do too much harm. #. .B SO_NO_CHECK #. The kernel has support for the SO_NO_CHECK socket #. option (boolean: 0 == default, calculate checksum on xmit, #. 1 == do not calculate checksum on xmit). #. Additional note from Andi Kleen on SO_NO_CHECK (2010-08-30) #. On Linux UDP checksums are essentially free and there's no reason #. to turn them off and it would disable another safety line. #. That is why I didn't document the option. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If this option is enabled, out-of-band data is directly placed into the " "receive data stream. Otherwise, out-of-band data is passed only when the " "B flag is set during receiving." msgstr "" "Если включён этот параметр, то внепоточные данные помещаются непосредственно " "во входной поток данных. В противном случае внепоточные данные передаются " "только, если во время приёма установлен флаг B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Enable or disable the receiving of the B control " #| "message. For more information see B(7)." msgid "" "Enable or disable the receiving of the B control message. " "For more information, see B(7)." msgstr "" "Включить или выключить приём управляющего сообщения B. " "Подробней смотрите в B(7)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Enable or disable the receiving of the B control message. " #| "For more information see B(7)." msgid "" "Enable or disable the receiving of the B control message. For " "more information, see B(7)." msgstr "" "Включить или выключить приём управляющего сообщения B. " "Подробней смотрите в B(7)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 3.4)" msgstr "B (начиная с Linux 3.4)" #. commit ef64a54f6e558155b4f149bb10666b9e914b6c54 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This option, which is currently supported only for B(7) sockets, sets " "the value of the \"peek offset\" for the B(2) system call when used " "with B flag." msgstr "" "Этот параметр, который пока поддерживается только для сокетов B(7), " "устанавливает значение «смещения выборки» (peek offset) для системного " "вызова B, когда он используется с флагом B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When this option is set to a negative value (it is set to -1 for all new " "sockets), traditional behavior is provided: B(2) with the B " "flag will peek data from the front of the queue." msgstr "" "Если этому параметру присваивается отрицательное значение (равен -1 для всех " "новых сокетов), то действует обычное правило: B с флагом " "B выбирает данные из начала (front) очереди." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When the option is set to a value greater than or equal to zero, then the " "next peek at data queued in the socket will occur at the byte offset " "specified by the option value. At the same time, the \"peek offset\" will " "be incremented by the number of bytes that were peeked from the queue, so " "that a subsequent peek will return the next data in the queue." msgstr "" "Если этому параметру присваивается положительное значение или ноль, то " "следующая выборка данных из очереди сокета произойдёт по байтовому смещению, " "определяемому значением этого параметра. В то же время, «смещение выборки» " "будет увеличено на количество байт, выбранных из очереди, то есть " "последовательные операции выборки возвращают следующие данные из очереди." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If data is removed from the front of the queue via a call to B(2) (or " "similar) without the B flag, the \"peek offset\" will be decreased " "by the number of bytes removed. In other words, receiving data without the " "B flag will cause the \"peek offset\" to be adjusted to maintain " "the correct relative position in the queued data, so that a subsequent peek " "will retrieve the data that would have been retrieved had the data not been " "removed." msgstr "" "Если данные удалены из начала очереди с помощью вызова B(2) (или " "подобного) без флага B, то «смещение выборки» будет уменьшено на " "количество удалённых байт. Другими словами, приём данных без флага " "B корректирует «смещение выборки» относительно поддерживаемого " "относительного положения данных в очереди, и последующая выборка возвратит " "данные, которые были бы получены, если бы данные не удалялись." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For datagram sockets, if the \"peek offset\" points to the middle of a " "packet, the data returned will be marked with the B flag." msgstr "" "Для датаграммных сокетов, если «смещение выборки» указывает в середину " "пакета, то возвращаемые данные маркируются флагом B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following example serves to illustrate the use of B. " "Suppose a stream socket has the following queued input data:" msgstr "" "В следующем примере показано использование B. Предположим, в " "очереди потокового сокета есть входные данные:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid " aabbccddeeff\n" msgid "aabbccddeeff\n" msgstr " aabbccddeeff\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following sequence of B(2) calls would have the effect noted in " "the comments:" msgstr "" "Следующая последовательность вызовов B(2) выполнила бы то, что описано " "в комментариях:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "recv(fd, buf, 2, MSG_PEEK); // Peeks \"cc\"; offset set to 6\n" #| "recv(fd, buf, 2, MSG_PEEK); // Peeks \"dd\"; offset set to 8\n" #| "recv(fd, buf, 2, 0); // Reads \"aa\"; offset set to 6\n" #| "recv(fd, buf, 2, MSG_PEEK); // Peeks \"ee\"; offset set to 8\n" msgid "" "int ov = 4; // Set peek offset to 4\n" "setsockopt(fd, SOL_SOCKET, SO_PEEK_OFF, &ov, sizeof(ov));\n" "\\&\n" "recv(fd, buf, 2, MSG_PEEK); // Peeks \"cc\"; offset set to 6\n" "recv(fd, buf, 2, MSG_PEEK); // Peeks \"dd\"; offset set to 8\n" "recv(fd, buf, 2, 0); // Reads \"aa\"; offset set to 6\n" "recv(fd, buf, 2, MSG_PEEK); // Peeks \"ee\"; offset set to 8\n" msgstr "" "recv(fd, buf, 2, MSG_PEEK); // выборка «cc»; смещение 6\n" "recv(fd, buf, 2, MSG_PEEK); // выборка «dd»; смещение 8\n" "recv(fd, buf, 2, 0); // выборка «aa»; смещение 6\n" "recv(fd, buf, 2, MSG_PEEK); // выборка «ee»; смещение 8\n" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Return the credentials of the peer process connected to this socket. For " "further details, see B(7)." msgstr "" "Возвращает учётные данные (credentials) ответного процесса, подключённого к " "сокету. Дополнительную информацию смотрите в B(7)." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B" msgid "B(2const)" msgstr "B" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. For #. .BR ip (7), #. this also sets the IP type-of-service (TOS) field for outgoing packets. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the protocol-defined priority for all packets to be sent on this " "socket. Linux uses this value to order the networking queues: packets with " "a higher priority may be processed first depending on the selected device " "queueing discipline. Setting a priority outside the range 0 to 6 requires " "the B capability." msgstr "" "Установить определяемый протоколом приоритет для всех пакетов, отправляемых " "из этого сокета. Linux использует это значение для управления сетевыми " "очередями: пакеты с более высоким приоритетом могут быть обработаны раньше " "(в зависимости от выбранного для устройства способа постановки в очередь). " "Установка значения приоритета не из диапазона 0 до 6 требует мандата " "B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.32)" msgstr "B (начиная с Linux 2.6.32)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Retrieves the socket protocol as an integer, returning a value such as " "B. See B(2) for details. This socket option is read-" "only." msgstr "" "Получить протокол сокета в виде целого числа; пример возвращаемого значения: " "B. Подробней смотрите в B(2). Этот параметр сокета " "доступен только для чтения." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. Most (all?) other implementations do not do this -- MTK, Dec 05 #. The following thread on LMKL is quite informative: #. getsockopt/setsockopt with SO_RCVBUF and SO_SNDBUF "non-standard" behavior #. 17 July 2012 #. http://thread.gmane.org/gmane.linux.kernel/1328935 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Sets or gets the maximum socket receive buffer in bytes. The kernel doubles " "this value (to allow space for bookkeeping overhead) when it is set using " "B(2), and this doubled value is returned by B(2). " "The default value is set by the I file, and " "the maximum allowed value is set by the I " "file. The minimum (doubled) value for this option is 256." msgstr "" "Задать или получить максимальный размер буфера приёма сокета (в байтах). " "Ядро удваивает это значение (для пространства под учёт ресурсов (bookkeeping " "overhead)) при установке этого параметра с помощью B(2), и это " "удвоенное значение возвращается B(2). Значение по умолчанию " "устанавливается через файл I, а " "максимальное возможное значение устанавливается через файл I. Минимальное (удвоенное) значение для этого параметра равно " "256." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.14)" msgstr "B (начиная с Linux 2.6.14)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Using this socket option, a privileged (B) process can " "perform the same task as B, but the I limit can be " "overridden." msgstr "" "С помощью этого параметра сокета привилегированный (B) " "процесс может выполнить ту же работу, что и с помощью B, но " "возможно превысить ограничение I." #. type: TP #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B" msgid "B" msgstr "B" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B" msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Specify the minimum number of bytes in the buffer until the socket layer " "will pass the data to the protocol (B) or the user on " "receiving (B). These two values are initialized to 1. " "B is not changeable on Linux (B(2) fails with the " "error B). B is changeable only since Linux 2.4." msgstr "" "Задать минимальное количество байт в буфере до которого уровень сокета будет " "отправлять данные протоколу (B) или получать их от пользователя " "(B). Начальное значение этих двух элементов равно 1. Для " "B значение в Linux изменить нельзя (B(2) завершает " "выполнение с ошибкой B). Значение для B можно " "изменить начиная с Linux версии 2.4." #. Tested on kernel 2.6.14 -- mtk, 30 Nov 05 #. commit c7004482e8dcb7c3c72666395cfa98a216a4fb70 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Before Linux 2.6.28 B(2), B(2), and B(7) did not " "respect the B setting on Linux, and indicated a socket as " "readable when even a single byte of data was available. A subsequent read " "from the socket would then block until B bytes are available. " "Since Linux 2.6.28, B(2), B(2) и B(7) не учитывают " "настройку B, и помечают сокет как доступный для чтения даже " "когда доступен только 1 байт данных. Последующее чтение из сокета будет " "заблокировано до тех пор, пока не будет доступно B байт." #. type: TP #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B" msgid "B" msgstr "B" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B" msgid "B" msgstr "B" #. Not implemented in Linux 2.0. #. Implemented in Linux 2.1.11 for getsockopt: always return a zero struct. #. Implemented in Linux 2.3.41 for setsockopt, and actually used. #. in fact to EAGAIN #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Specify the receiving or sending timeouts until reporting an error. The " #| "argument is a I. If an input or output function blocks " #| "for this period of time, and data has been sent or received, the return " #| "value of that function will be the amount of data transferred; if no data " #| "has been transferred and the timeout has been reached, then -1 is " #| "returned with I set to B or B, or " #| "B (for B(2)) just as if the socket was specified " #| "to be nonblocking. If the timeout is set to zero (the default), then the " #| "operation will never timeout. Timeouts only have effect for system calls " #| "that perform socket I/O (e.g., B(2), B(2), B(2), " #| "B(2)); timeouts have no effect for B(2), B(2), " "B(2), and so on." msgstr "" "Задать время ожидания (при отправке или приёме) до генерации сообщения об " "ошибке. Аргументом является структура I. Если вводящая или " "выводящая функция блокируется на этот период времени, и данные был " "отправлены или получены, то возвращаемое значение этой функции будет равно " "количеству переданных данных; если данные не проходили и время ожидания " "истекло, то возвращается -1 и I устанавливается в B, " "B или B (для B(2)) — также как, если был " "сокет был заблокирован. Если время ожидания установлено в 0 (по умолчанию), " "то операция не будет ждать. Время ожидания учитывается только в системных " "вызовах, которые выполняют ввод-вывод из сокета (например, B(2), " "B(2), B(2), B(2)); время ожидания не учитывается в " "B(2). Similarly, " "B(2) also returns a B whenever an B event is " "returned." msgstr "" #. commit 6e5d58fdc9bedd0255a8 #. ("skbuff: Fix not waking applications when errors are enqueued") #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Background: this option was added when waking up on an error condition " "occurred only via the I and I sets of B(2) and B(2) will busy poll when they operate on sockets " "with B set and no events to report are found." msgstr "" "Значение в файле I определяет как долго " "B(2) in the signal handler to find out which " "socket the event occurred on. An alternative (in Linux 2.2) is to set a " "real-time signal using the B B(2); the handler of the real " "time signal will be called with the file descriptor in the I field of " "its I. See B(2) for more information." msgstr "" "Если был произведён вызов B(2) с B или B(2) с " "B, то при появлении событий ввода/вывода посылается сигнал " "B. Для определения сокета, в котором произошло событие, в обработчике " "можно воспользоваться вызовом B(2) или B