Home
last modified time | relevance | path

Searched full:netlink (Results 1 – 25 of 102) sorted by relevance

12345

/Documentation/userspace-api/netlink/
Dintro.rst4 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 …]
Dnetlink-raw.rst4 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 …]
Dindex.rst4 Netlink Handbook
7 Netlink documentation for users.
17 netlink-raw
20 - :ref:`Documentation/core-api/netlink.rst <kernel_netlink>`
Dspecs.rst4 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 …]
Dintro-specs.rst4 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 …]
Dgenetlink-legacy.rst4 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
Dc-code-gen.rst4 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/
Dconnector.rst7 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 …]
Ddpll.rst35 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/
Dquota.rst23 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/
Dnetlink-raw.yaml4 $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/
Dgeneric_netlink.rst4 Generic Netlink
7 A wiki document on how to use Generic Netlink can be found here:
Dstatistics.rst47 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
Dnfc.rst24 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
Dl2tp.rst92 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 …]
Doperstates.rst32 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/
Dtaskstats.rst6 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/
Dacpi_power_meter.rst31 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/
Dovs_datapath.yaml9 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/
Dintroduction.rst36 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/
Dnetlink.rst6 Netlink notes for kernel developers
58 Netlink specification
61 Documentation of the Netlink specification parts which are only relevant
/Documentation/ABI/stable/
Dthermal-notification4 The notification is in the form of a netlink event.
/Documentation/w1/
Dindex.rst12 w1-netlink.rst
/Documentation/networking/devlink/
Dindex.rst17 netlink commands.
47 attributes of devlink netlink.
/Documentation/userspace-api/
Dvduse.rst33 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