Home
last modified time | relevance | path

Searched refs:Netlink (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v6.6/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
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
78 Initial implementation of Netlink depended on a static allocation
[all …]
Dnetlink-raw.rst4 Netlink specification support for raw Netlink families
7 This document describes the additional properties required by raw Netlink
Dindex.rst4 Netlink Handbook
7 Netlink documentation for users.
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
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
72 information on the Netlink specification properties that are only relevant to
[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.
45 Python-pretty-printed. This is because some Netlink types can't
49 The spec and Netlink internals are factored out as a standalone
Dgenetlink-legacy.rst4 Netlink specification support for legacy Generic Netlink families
8 required to describe older Generic Netlink families which form
17 New Netlink families should use ``multi-attr`` to define arrays.
71 Netlink families should have instead defined this as a flat structure,
262 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
/Linux-v6.6/tools/net/ynl/lib/
Dynl.py21 class Netlink: class
102 self.type = self._type & ~Netlink.NLA_TYPE_MASK
199 if self.nl_type == Netlink.NLMSG_ERROR:
203 elif self.nl_type == Netlink.NLMSG_DONE:
208 if self.nl_flags & Netlink.NLM_F_ACK_TLVS and extack_off:
212 if extack.type == Netlink.NLMSGERR_ATTR_MSG:
214 elif extack.type == Netlink.NLMSGERR_ATTR_MISS_TYPE:
216 elif extack.type == Netlink.NLMSGERR_ATTR_MISS_NEST:
218 elif extack.type == Netlink.NLMSGERR_ATTR_OFFS:
279 with socket.socket(socket.AF_NETLINK, socket.SOCK_RAW, Netlink.NETLINK_GENERIC) as sock:
[all …]
D__init__.py5 from .ynl import YnlFamily, Netlink
/Linux-v6.6/tools/net/ynl/
Dcli.py9 from lib import YnlFamily, Netlink
23 const=Netlink.NLM_F_REPLACE)
25 const=Netlink.NLM_F_EXCL)
27 const=Netlink.NLM_F_CREATE)
29 const=Netlink.NLM_F_APPEND)
/Linux-v6.6/Documentation/networking/
Dgeneric_netlink.rst4 Generic Netlink
7 A wiki document on how to use Generic Netlink can be found here:
Dopenvswitch.rst37 protocols that have become obsolete. Therefore, the Netlink interface
74 A flow key is passed over a Netlink socket as a sequence of Netlink
100 A wildcarded flow is described with two sequences of Netlink attributes
101 passed over the Netlink socket. A flow key, exactly as described above, and an
110 Support for the mask Netlink attribute is optional for both the kernel and user
Dl2tp.rst92 Netlink API
99 L2TP uses `Generic Netlink`_ (GENL). Several commands are defined:
668 .. _Generic Netlink: generic_netlink.html
Dfilter.rst298 nla Netlink attribute of type X with offset A
299 nlan Nested Netlink attribute of type X with offset A
Dnexthop-group-resilient.rst160 Netlink UAPI
/Linux-v6.6/Documentation/core-api/
Dnetlink.rst6 Netlink notes for kernel developers
58 Netlink specification
61 Documentation of the Netlink specification parts which are only relevant
/Linux-v6.6/net/netlink/
DKconfig3 # Netlink Sockets
/Linux-v6.6/drivers/net/can/
DKconfig53 bool "CAN device drivers with Netlink support"
57 standard library and provides features for the Netlink interface such
74 bit-rate specified via Netlink argument "bitrate" when the device
78 bit-timing parameters must be specified directly using the Netlink
/Linux-v6.6/Documentation/filesystems/
Dautofs-mount-control.rst145 ioctl mechanism in favor of systems such as Netlink. An implementation
147 found to be inadequate, in this case. The Generic Netlink system was
148 used for this as raw Netlink would lead to a significant increase in
149 complexity. There's no question that the Generic Netlink system is an
164 mount at a time. A Generic Netlink implementation would exclude this
/Linux-v6.6/Documentation/driver-api/
Dconnector.rst102 Netlink itself is not a reliable protocol. That means that messages can
/Linux-v6.6/net/
DKconfig499 bool "Netlink interface for ethtool"
/Linux-v6.6/net/netfilter/
DKconfig155 tool which uses Netlink.
395 tristate 'Connection tracking timeout tuning via Netlink'
407 tristate 'Connection tracking helpers in user-space via Netlink'
/Linux-v6.6/Documentation/crypto/
Duserspace-if.rst407 the aforementioned Netlink kernel interface. [1] also contains a test
/Linux-v6.6/lib/
DKconfig590 # Netlink attribute parsing support is select'ed if needed
/Linux-v6.6/Documentation/networking/devlink/
Ddevlink-trap.rst44 Netlink event: Packet w/ metadata

12