Home
last modified time | relevance | path

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

12

/linux/Documentation/userspace-api/netlink/
H A 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 depende
[all...]
H A Dindex.rst4 Netlink Handbook
7 Netlink documentation for users.
H A 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
H A 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 specificatio
[all...]
H A 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
H A Dnetlink-raw.rst4 Netlink specification support for raw Netlink families
7 This document describes the additional properties required by raw Netlink
H A Dc-code-gen.rst4 Netlink spec C code generation
7 This document describes how Netlink specifications are used to render
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py22 # Generic Netlink code which should really be in some library, but I can't quickly find one.
26 class Netlink: class
27 # Netlink socket
35 # Netlink message
109 return f"Netlink error: {os.strerror(self.error)}\n{self.nl_msg}"
131 self.type = self._type & ~Netlink.NLA_TYPE_MASK
132 self.is_nest = self._type & Netlink.NLA_F_NESTED
204 if self.nl_type == Netlink.NLMSG_ERROR:
208 elif self.nl_type == Netlink.NLMSG_DONE:
214 if self.nl_flags & Netlink
[all...]
H A D__init__.py5 from .ynl import YnlFamily, Netlink, NlError
9 "YnlFamily", "Netlink", "NlError"]
/linux/tools/net/ynl/pyynl/
H A Dcli.py12 from lib import YnlFamily, Netlink, NlError
80 const=Netlink.NLM_F_REPLACE)
82 const=Netlink.NLM_F_EXCL)
84 const=Netlink.NLM_F_CREATE)
86 const=Netlink.NLM_F_APPEND)
/linux/Documentation/networking/
H A Dgeneric_netlink.rst4 Generic Netlink
7 A wiki document on how to use Generic Netlink can be found here:
H A Dsriov.rst14 The old SR-IOV API is implemented in ``rtnetlink`` Netlink family as part of
H A 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
H A Dtcp_ao.rst262 | Extendability | ``setsockopt()`` | Netlink messages are |
274 | Dump-ability | ``getsockopt()`` | Netlink .dump() |
283 | Monitoring & warnings| ``TCP_DIAG`` | same Netlink socket |
H A Dmptcp.rst68 connection. The path managers can be controlled via a Netlink API; see
H A Dl2tp.rst92 Netlink API
99 L2TP uses `Generic Netlink`_ (GENL). Several commands are defined:
777 .. _Generic Netlink: generic_netlink.html
H A Dfilter.rst298 nla Netlink attribute of type X with offset A
299 nlan Nested Netlink attribute of type X with offset A
H A Dnexthop-group-resilient.rst160 Netlink UAPI
/linux/Documentation/core-api/
H A Dnetlink.rst6 Netlink notes for kernel developers
58 Netlink specification
61 Documentation of the Netlink specification parts which are only relevant
/linux/Documentation/translations/zh_CN/networking/
H A Dnapi.rst163 用户可以使用 Netlink 来查询某个设备或设备队列的 NAPI 标识符。这既可以在用户应用程序中通过编程
188 上述参数也可以通过 Netlink 的 netdev-genl 接口,基于每个 NAPI 实例进行设置。当通过
189 Netlink 进行配置且是基于每个 NAPI 实例设置时,上述参数使用连字符(-)而非下划线(_)
/linux/net/netlink/
H A DKconfig3 # Netlink Sockets
/linux/drivers/net/can/
H A 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/Documentation/filesystems/
H A 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/Documentation/driver-api/
H A Dconnector.rst102 Netlink itself is not a reliable protocol. That means that messages can
/linux/lib/
H A DKconfig447 # Netlink attribute parsing support is select'ed if needed

12