Home
last modified time | relevance | path

Searched +full:nested +full:- +full:attributes (Results 1 – 25 of 115) sorted by relevance

12345

/linux/Documentation/netlink/specs/
H A Dnfsd.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 uapi-header: linux/nfsd_netlink.h
10 -
12 name: cache-type
14 -
16 name: export-flags
19 - readonly
20 - insecure-port
21 - rootsquash
[all …]
H A Ddevlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
10 -
12 name: sb-pool-type
14 -
16 -
18 -
20 name: port-type
22 -
[all …]
H A Dnl80211.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
4 protocol: genetlink-legacy
6 doc: >-
10 -
14 - unspec
15 - get-wiphy
16 - set-wiphy
17 - new-wiphy
18 - del-wiphy
[all …]
H A Dovpn.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 # Copyright (c) 2024-2025, OpenVPN Inc.
7 ---
15 -
17 name: nonce-tail-size
19 -
21 name: cipher-alg
22 entries: [none, aes-gcm, chacha20-poly1305]
23 -
25 name: del-peer-reason
[all …]
H A Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
4 protocol: genetlink-legacy
5 uapi-header: linux/genetlink.h
8 genetlink meta-family that exposes information about all genetlink
12 -
13 name: op-flags
15 enum-name:
17 - admin-perm
18 - cmd-cap-do
[all …]
H A Drt-link.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
[all...]
H A Dnet_shaper.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: net-shaper
33 @cap-get operation.
36 -
38 name: max-handle-id
41 -
45 render-max: true
47 - name: unspec
49 -
[all …]
H A Dnetdev.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 doc: >-
9 -
11 name: page-size
17 -
19 name: xdp-act
20 render-max: true
22 -
24 doc: >-
[all …]
H A Ddpll.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
8 -
16 -
20 -
23 render-max: true
24 -
26 name: lock-status
31 -
37 -
[all …]
/linux/include/uapi/linux/
H A Dopenvswitch.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * Copyright (c) 2007-2017 Nicira, Inc.
18 * 02110-1301, USA
28 * struct ovs_header - header for OVS Generic Netlink messages.
32 * Attributes following the header are specific to a particular OVS Generic
46 * - API users are expected to provide OVS_DP_ATTR_USER_FEATURES
63 * enum ovs_datapath_attr - attributes for %OVS_DP_* commands.
75 * @OVS_DP_ATTR_PER_CPU_PIDS: Per-cpu array of PIDs for upcalls when
85 * These attributes follow the &struct ovs_header within the Generic Netlink
102 * per-cpu dispatch mode
[all …]
H A Dsmc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
5 * Definitions for generic netlink based configuration of an SMC-R PNET table
15 /* Netlink SMC_PNETID attributes */
23 SMC_PNETID_MAX = __SMC_PNETID_MAX - 1
36 /* gennetlink interface to access non-socket information from SMC module */
67 /* SMC_GENL_FAMILY top level attributes */
79 SMC_GEN_MAX = __SMC_GEN_MAX - 1
82 /* SMC_GEN_SYS_INFO attributes */
92 SMC_NLA_SYS_MAX = __SMC_NLA_SYS_MAX - 1
[all …]
H A Dncsi.h2 * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018.
14 * enum ncsi_nl_commands - supported NCSI commands
17 * @NCSI_CMD_PKG_INFO: list package and channel attributes. Requires
19 * specific package and its channels - otherwise a dump request returns
26 * @NCSI_CMD_SEND_CMD: send NC-SI command to network card.
47 NCSI_CMD_MAX = __NCSI_CMD_AFTER_LAST - 1
51 * enum ncsi_nl_attrs - General NCSI netlink attributes
53 * @NCSI_ATTR_UNSPEC: unspecified attributes to catch errors
55 * @NCSI_ATTR_PACKAGE_LIST: nested array of NCSI_PKG_ATTR attributes
59 * @NCSI_ATTR_MULTI_FLAG: flag to signal that multi-mode should be enabled with
[all …]
H A Dip_vs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
23 #define IP_VS_SVC_F_ONEPACKET 0x0004 /* one-packet scheduling */
301 /* Generic Netlink command attributes */
331 #define IPVS_CMD_MAX (__IPVS_CMD_MAX - 1)
333 /* Attributes used in the first level of commands */
336 IPVS_CMD_ATTR_SERVICE, /* nested service attribute */
337 IPVS_CMD_ATTR_DEST, /* nested destination attribute */
338 IPVS_CMD_ATTR_DAEMON, /* nested sync daemon attribute */
345 #define IPVS_CMD_ATTR_MAX (__IPVS_CMD_ATTR_MAX - 1)
348 * Attributes used to describe a service
[all …]
H A Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
17 #define NETLINK_ISCSI 8 /* Open-iSCSI */
45 * struct nlmsghdr - fixed format metadata header of Netlink messages
99 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
104 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
106 NLMSG_ALIGN((nlh)->nlmsg_len)))
108 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
109 (nlh)->nlmsg_len <= (len))
110 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
134 * enum nlmsgerr_attrs - nlmsgerr attributes
[all …]
H A Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2026 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
95 * Frame registration is done on a per-interface basis and registrations
105 * attributes so applications know what to expect.
[all …]
H A Dnexthop.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
17 __u32 id; /* nexthop id - must exist */
25 return ((entry->weight_high << 8) | entry->weight) + 1; in nexthop_grp_weight()
29 NEXTHOP_GRP_TYPE_MPATH, /* hash-threshold nexthop group
36 #define NEXTHOP_GRP_TYPE_MAX (__NEXTHOP_GRP_TYPE_MAX - 1)
46 NHA_ID, /* u32; id for nexthop. id == 0 means auto-assign */
50 /* if NHA_GROUP attribute is added, no other attributes can be set */
69 /* nested; resilient nexthop group attributes */
71 /* nested; nexthop bucket attributes */
74 /* u32; operation-specific flags */
[all …]
/linux/include/uapi/linux/tc_act/
H A Dtc_tunnel_key.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
32 TCA_TUNNEL_KEY_ENC_OPTS, /* Nested TCA_TUNNEL_KEY_ENC_OPTS_
33 * attributes
41 #define TCA_TUNNEL_KEY_MAX (__TCA_TUNNEL_KEY_MAX - 1)
45 TCA_TUNNEL_KEY_ENC_OPTS_GENEVE, /* Nested
47 * attributes
49 TCA_TUNNEL_KEY_ENC_OPTS_VXLAN, /* Nested
51 * attributes
53 TCA_TUNNEL_KEY_ENC_OPTS_ERSPAN, /* Nested
55 * attributes
[all …]
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_tlv.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2019 Intel Corporation. */
7 * fm10k_tlv_msg_init - Initialize message block for TLV data storage
25 * fm10k_tlv_attr_put_null_string - Place null terminated string on message
76 * fm10k_tlv_attr_get_null_string - Get null terminated string from attribute
95 while (len--) in fm10k_tlv_attr_get_null_string()
102 * fm10k_tlv_attr_put_mac_vlan - Store MAC/VLAN attribute in message
140 * fm10k_tlv_attr_get_mac_vlan - Get MAC/VLAN stored in attribute
163 * fm10k_tlv_attr_put_bool - Add header indicating value "true"
188 * fm10k_tlv_attr_put_value - Store integer value attribute in message
[all …]
/linux/drivers/net/ieee802154/
H A Dmac802154_hwsim.h35 #define MAC802154_HWSIM_CMD_MAX (__MAC802154_HWSIM_MAX - 1)
37 /* mac802154 hwsim netlink attributes
41 * @MAC802154_HWSIM_ATTR_EDGE: nested attribute of edges
42 * @MAC802154_HWSIM_ATTR_EDGES: list if nested attributes which contains the
54 #define MAC802154_HWSIM_ATTR_MAX (__MAC802154_HWSIM_ATTR_MAX - 1)
56 /* mac802154 hwsim edge netlink attributes
71 #define MAC802154_HWSIM_EDGE_ATTR_MAX (__MAC802154_HWSIM_EDGE_ATTR_MAX - 1)
/linux/tools/net/ynl/pyynl/
H A Dcli.py2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
17 # pylint: disable=no-name-in-module,wrong-import-position
22 # pylint: disable=too-few-public-methods,too-many-locals
50 """A custom encoder for emitting JSON with ynl-specific instance types"""
60 """Print a list of attributes with their types and documentation."""
65 attr_info = f'{prefix}- {color(attr_name, Colors.BOLD)}: {attr.type}'
76 # Show nested attributes reference and recursively display them
78 if attr.type == 'nest' and 'nested-attributes' in attr.yaml:
79 nested_set_name = attr.yaml['nested-attributes']
80 attr_info += f" -> {nested_set_name}"
[all …]
H A Dynl_gen_c.py2 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
4 # pylint: disable=line-too-long, missing-class-docstring, missing-function-docstring
5 # pylint: disable=too-many-positional-arguments, too-many-arguments, too-many-statements
6 # pylint: disable=too-many-branches, too-many-locals, too-many-instance-attributes
7 # pylint: disable=too-many-nested-blocks, too-many-lines, too-few-public-methods
8 # pylint: disable=broad-exception-raised, broad-exception-caught, protected-access
26 # pylint: disable=no-name-in-module,wrong-import-position
33 return name.upper().replace('-', '_')
37 return name.lower().replace('-', '_')
42 Turn a string limit like u32-max or s64-min into its numerical value
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 # pylint: disable=missing-class-docstring, missing-function-docstring
4 # pylint: disable=too-many-branches, too-many-locals, too-many-instance-attributes
5 # pylint: disable=too-many-lines
39 # pylint: disable=too-few-public-methods
121 'binary', 'string', 'nul-string',
122 'nested', 'nested-array',
128 self.error = -nl_msg.error
150 Returned by YnlFamily.get_policy(). Attributes of the policy
151 are accessible as attributes of the object. Nested policies
[all …]
/linux/tools/lib/bpf/
H A Dnlattr.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
4 * NETLINK Netlink attributes
6 * Copyright (c) 2003-2013 Thomas Graf <tgraf@suug.ch>
27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
29 *remaining -= totlen; in nla_next()
36 nla->nla_len >= sizeof(*nla) && in nla_ok()
37 nla->nla_len <= remaining; in nla_ok()
42 return nla->nla_type & NLA_TYPE_MASK; in nla_type()
57 if (pt->type > LIBBPF_NLA_TYPE_MAX) in validate_nla()
60 if (pt->minlen) in validate_nla()
[all …]
/linux/Documentation/driver-api/
H A Ddpll.rst1 .. SPDX-License-Identifier: GPL-2.0
10 PLL - Phase Locked Loop is an electronic circuit which syntonizes clock
14 DPLL - Digital Phase Locked Loop is an integrated circuit which in
44 attributes that result in single device match.
63 request, where user provides attributes that result in single pin match.
81 - ``DPLL_PIN_STATE_CONNECTED`` - the pin is selected to drive dpll
83 - ``DPLL_PIN_STATE_DISCONNECTED`` - the pin is not selected to drive
89 - ``DPLL_PIN_STATE_SELECTABLE`` - the pin shall be considered as valid
91 - ``DPLL_PIN_STATE_DISCONNECTED`` - the pin shall be not considered as
97 for automatic-only DPLL devices where mode cannot be switched to manual.
[all …]
/linux/Documentation/networking/devlink/
H A Dindex.rst5 related to any device class, such as chip-wide/switch-ASIC-wide configuration.
8 -------
13 in devlink core, but don't allow registration of most sub-objects once
25 Nested instances
26 ----------------
32 - Lock ordering should be maintained. If driver needs to take instance
33 lock of both nested and parent instances at the same time, devlink
34 instance lock of the nested instance should be taken first, only then
36 - Driver should use object-specific helpers to setup the
37 nested relationship:
[all …]

12345