Searched full:netlink (Results 1 – 25 of 102) sorted by relevance
12345
| /Documentation/userspace-api/netlink/ |
| D | intro.rst | 4 Introduction to Netlink 7 Netlink is often described as an ioctl() replacement. 12 To achieve this Netlink uses a minimal fixed-format metadata header 18 netlink as it is used today and dives into more "historical" uses 24 Netlink communication happens over sockets, a socket needs to be 36 A very simplified flow of a Netlink "call" will therefore look 48 Netlink also provides natural support for "dumping", i.e. communicating 70 it is opening a Netlink socket, with all headers provided by the user 71 (hence NETLINK, RAW). The last argument is the protocol within Netlink. 75 Classic vs Generic Netlink [all …]
|
| D | netlink-raw.rst | 4 Netlink specification support for raw Netlink families 7 This document describes the additional properties required by raw Netlink 8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol 14 The netlink-raw schema extends the :doc:`genetlink-legacy <genetlink-legacy>` 16 multicast IDs used by raw netlink families. See :ref:`classic_netlink` for more 17 information. The raw netlink families also make use of type-specific 27 opening a netlink socket. 34 protocol: netlink-raw 64 Several raw netlink families such as 84 the wrapper attr has very similar characteristics to a netlink message. It may [all …]
|
| D | index.rst | 4 Netlink Handbook 7 Netlink documentation for users. 17 netlink-raw 20 - :ref:`Documentation/core-api/netlink.rst <kernel_netlink>`
|
| D | specs.rst | 4 Netlink protocol specifications (in YAML) 7 Netlink protocol specifications are complete, machine readable descriptions of 8 Netlink protocols written in YAML. The goal of the specifications is to allow 9 separating Netlink parsing from user space logic and minimize the amount of 10 hand written Netlink code for each new family, command, attribute. 11 Netlink specs should be complete and not depend on any other spec 22 YAML specifications can be found under ``Documentation/netlink/specs/`` 34 There are four schema levels for Netlink specs, from the simplest used 45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of 47 - ``netlink-raw`` - catch all schema supporting pre-Generic Netlink protocols [all …]
|
| D | intro-specs.rst | 4 Using Netlink protocol specifications 7 This document is a quick starting guide for using Netlink protocol 14 developing Netlink related code. The tool is implemented in Python 15 and can use a YAML specification to issue Netlink requests 16 to the kernel. Only Generic Netlink is supported. 26 YAML specs can be found under ``Documentation/netlink/specs/``. 30 $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/ethtool.yaml \ 45 Python-pretty-printed. This is because some Netlink types can't 49 The spec and Netlink internals are factored out as a standalone 67 /* Documentation/netlink/specs/fou.yaml */ [all …]
|
| D | genetlink-legacy.rst | 4 Netlink specification support for legacy Generic Netlink families 8 required to describe older Generic Netlink families which form 22 Generic Netlink family version, default is 1. 31 New Netlink families should use ``multi-attr`` to define arrays. 95 Netlink families should have instead defined this as a flat structure, 286 New Netlink families should never respond to a DO operation with multiple
|
| D | c-code-gen.rst | 4 Netlink spec C code generation 7 This document describes how Netlink specifications are used to render 66 Attribute enums are traditionally unnamed in netlink headers.
|
| /Documentation/driver-api/ |
| D | connector.rst | 7 Kernel connector - new netlink based userspace <-> kernel space easy 11 netlink based network. One must register a callback and an identifier. 12 When the driver receives a special netlink message with the appropriate 25 netlink based networking for inter-process communication in a significantly 63 netlink group to the user which is equal to its id.idx. 102 Netlink itself is not a reliable protocol. That means that messages can 111 2.6.14 has a new netlink socket implementation, which by default does not 112 allow people to send data to netlink groups other than 1. 113 So, if you wish to use a netlink socket (for example using connector) 138 2.6.14 netlink code only allows to select a group which is less or equal to [all …]
|
| D | dpll.rst | 35 user in response to the `do` request of netlink command 37 with `dump` netlink request of the same command. 39 netlink ``DPLL_CMD_DEVICE_SET`` command. 55 response to `do` request of netlink ``DPLL_CMD_PIN_GET`` command. 58 Configuration of a pin can be changed by `do` request of netlink 139 attribute. Example of netlink `set state on parent pin` message format: 161 device. Example of netlink `set priority on parent pin` message format: 244 there is no way to add new dpll device via netlink from user space and 247 All netlink commands require ``GENL_ADMIN_PERM``. This is to prevent 250 List of netlink commands with possible attributes [all …]
|
| /Documentation/filesystems/ |
| D | quota.rst | 23 Quota netlink interface 29 Thus quota netlink interface has been designed to pass information about 33 The interface uses generic netlink framework (see 35 more details about this layer). The name of the quota generic netlink interface 37 the quota netlink protocol is not namespace aware, quota netlink messages are
|
| /Documentation/netlink/ |
| D | netlink-raw.yaml | 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 19 description: Specification of a raw netlink protocol 25 description: Name of the netlink family. 31 enum: [ netlink-raw ] # Trim 32 # Start netlink-raw 34 description: Protocol number to use for netlink-raw 36 # End netlink-raw 130 The netlink attribute type. Members of type 'binary' or 'pad' 222 description: The netlink attribute type 290 # Start netlink-raw [all …]
|
| /Documentation/networking/ |
| D | generic_netlink.rst | 4 Generic Netlink 7 A wiki document on how to use Generic Netlink can be found here:
|
| D | statistics.rst | 47 Queue statistics are accessible via the netdev netlink family. 51 see `Documentation/userspace-api/netlink/intro-specs.rst`. 149 netlink section in uAPIs 159 netdev (netlink) argument 162 `netdev` generic netlink family allows accessing page pool and per queue 178 ethtool-netlink 181 Ethtool netlink is a replacement for the older IOCTL interface. 232 translated to netlink attributes when dumped. Drivers must not overwrite
|
| D | nfc.rst | 24 The control operations are available to userspace via generic netlink. 40 | AF_NFC | netlink | 76 Generic netlink is used to implement the interface to the control operations. 100 All polling operations requested through one netlink socket are stopped when 118 netlink event. As a target can support more than one NFC protocol, the user
|
| D | l2tp.rst | 92 Netlink API 95 L2TP applications use netlink to manage L2TP tunnel and session 96 instances in the kernel. The L2TP netlink API is defined in 99 L2TP uses `Generic Netlink`_ (GENL). Several commands are defined: 102 netlink attribute types that can be used with each command. 108 attributes. If netlink is used to manage L2TPv2 tunnel and session 258 netlink command and attribute definitions. 262 - Open L2TP netlink socket:: 312 /* there are other session options which can be set using netlink 484 The ppp<ifunit> interface can then be configured as usual with netlink's [all …]
|
| D | operstates.rst | 32 Both admin and operational state can be queried via the netlink 153 Applications have to use the netlink interface to influence the 161 are multicasted on the netlink group RTNLGRP_LINK. 169 netlink multicast signals this state 173 - see how operstate and IFF_RUNNING is echoed via netlink multicast
|
| /Documentation/accounting/ |
| D | taskstats.rst | 6 Taskstats is a netlink-based interface for sending per-task and 30 To get statistics during a task's lifetime, userspace opens a unicast netlink 39 to be limited and assists in flow control over the netlink interface and is 67 The data exchanged between user and kernel space is a netlink message belonging 68 to the NETLINK_GENERIC family and using the netlink attributes interface. 146 2. Defining separate statistic structs and using the netlink attributes 147 interface to return them. Since userspace processes each netlink attribute 155 processing new netlink attributes. But if the new fields expand the existing 170 - increase the receive buffer sizes for the netlink sockets opened by
|
| /Documentation/hwmon/ |
| D | acpi_power_meter.rst | 31 When both of them are set, an ACPI event will be broadcast on the ACPI netlink 42 the netlink event socket and a poll notification will be sent to the 48 all cases the ACPI event will be broadcast on the ACPI netlink event socket as
|
| /Documentation/netlink/specs/ |
| D | ovs_datapath.yaml | 9 OVS datapath configuration over generic netlink. 27 doc: Allow last Netlink attribute to be unaligned 30 doc: Allow datapath to associate multiple Netlink PIDs to each vport
|
| /Documentation/netlabel/ |
| D | introduction.rst | 36 protocol built on top of the Generic NETLINK transport mechanism. The exact 37 formatting of these NetLabel messages as well as the Generic NETLINK family
|
| /Documentation/core-api/ |
| D | netlink.rst | 6 Netlink notes for kernel developers 58 Netlink specification 61 Documentation of the Netlink specification parts which are only relevant
|
| /Documentation/ABI/stable/ |
| D | thermal-notification | 4 The notification is in the form of a netlink event.
|
| /Documentation/w1/ |
| D | index.rst | 12 w1-netlink.rst
|
| /Documentation/networking/devlink/ |
| D | index.rst | 17 netlink commands. 47 attributes of devlink netlink.
|
| /Documentation/userspace-api/ |
| D | vduse.rst | 33 4. Send the VDPA_CMD_DEV_NEW netlink message to attach the VDUSE 38 1. Send the VDPA_CMD_DEV_DEL netlink message to detach the VDUSE 46 The netlink messages can be sent via vdpa tool in iproute2 or use the 107 the VDPA_CMD_DEV_NEW netlink message. Userspace needs to read()/write() on
|
12345