Home
last modified time | relevance | path

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

/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py40 class Netlink: class
275 self.type = self._type & ~Netlink.NLA_TYPE_MASK
276 self.is_nest = self._type & Netlink.NLA_F_NESTED
348 if self.nl_type == Netlink.NLMSG_ERROR:
352 elif self.nl_type == Netlink.NLMSG_DONE:
358 if self.nl_flags & Netlink.NLM_F_ACK_TLVS and extack_off:
362 if extack.type == Netlink.NLMSGERR_ATTR_MSG:
364 elif extack.type == Netlink.NLMSGERR_ATTR_MISS_TYPE:
366 elif extack.type == Netlink.NLMSGERR_ATTR_MISS_NEST:
368 elif extack.type == Netlink.NLMSGERR_ATTR_OFFS:
[all …]
/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 depended on a static allocation
[all …]
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
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 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
/linux/tools/net/ynl/pyynl/
H A Dcli.py19 from lib import YnlFamily, Netlink, NlError, SpecFamily, SpecException, YnlException
198 spec_group = parser.add_argument_group('Netlink family selection')
201 help=('list Netlink families supported by YNL '
205 help='name of the Netlink FAMILY to use')
240 nlflags = parser.add_argument_group('Netlink message flags (NLM_F_*)',
243 'Classic Netlink families.'))
245 const=Netlink.NLM_F_REPLACE)
247 const=Netlink.NLM_F_EXCL)
249 const=Netlink.NLM_F_CREATE)
251 const=Netlink
[all...]
/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 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 Dsriov.rst14 The old SR-IOV API is implemented in ``rtnetlink`` Netlink family as part of
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
H A Dswitchdev.rst29 kernel | Netlink
H A Dcan.rst1227 Netlink interface to set/get devices properties
/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/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/net/
H A DKconfig522 bool "Netlink interface for ethtool"
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Dice.rst775 LLDP/DCBX agents that interface with the Linux kernel's DCB Netlink API. We