Home
last modified time | relevance | path

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

1234

/linux/Documentation/netlink/specs/
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 Dnet_shaper.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
[all...]
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
9 attribute-sets:
10 -
11 name: rpc-status
12 attributes:
13 -
16 byte-order: big-endian
17 -
[all …]
H A Dpsp.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
9 -
12 entries: [hdr0-aes-gcm-128, hdr0-aes-gcm-256,
13 hdr0-aes-gmac-128, hdr0-aes-gmac-256]
15 attribute-sets:
16 -
18 attributes:
19 -
25 -
[all …]
H A Dhandshake.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
7 ---
15 -
17 name: handler-class
18 value-start: 0
20 -
22 name: msg-type
23 value-start: 0
25 -
28 value-start: 0
[all …]
H A Ddev-energymodel.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 ---
6 name: dev-energymodel
13 uapi-header: linux/dev_energymodel.h
16 -
18 name: perf-state-flags
20 -
21 name: perf-state-inefficient
22 doc: >-
23 The performance state is inefficient. There is in this perf-domain,
[all …]
H A Dtcp_metrics.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
10 c-family-name: tcp-metrics-genl-name
11 c-version-name: tcp-metrics-genl-version
12 max-by-define: true
13 kernel-policy: global
16 -
17 name: tcp-fastopen-cookie-max
21 attribute-sets:
[all …]
/linux/include/uapi/linux/
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 */
307 /* Generic Netlink command attributes */
337 #define IPVS_CMD_MAX (__IPVS_CMD_MAX - 1)
339 /* Attributes used in the first level of commands */
342 IPVS_CMD_ATTR_SERVICE, /* nested service attribute */
343 IPVS_CMD_ATTR_DEST, /* nested destination attribute */
344 IPVS_CMD_ATTR_DAEMON, /* nested sync daemon attribute */
351 #define IPVS_CMD_ATTR_MAX (__IPVS_CMD_ATTR_MAX - 1)
354 * 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 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 …]
H A Dpkt_cls.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
10 /* Action attributes */
63 #define TC_ACT_UNSPEC (-1)
75 * equivalent of TC_ACT_STOLEN - drop
89 #define TC_ACT_EXT_VAL_MASK ((1 << __TC_ACT_EXT_SHIFT) - 1)
203 #define TCA_POLICE_MAX (__TCA_POLICE_MAX -
[all...]
H A Dmroute.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
47 #define ALL_VIFS ((vifi_t)(-1))
58 /* Passed by mrouted for an MRT_ADD_VIF - again we use the
85 unsigned int mfcc_pkt_cnt; /* pkt count for src-grp */
121 /* ipmr netlink table attributes */
133 #define IPMRA_TABLE_MAX (__IPMRA_TABLE_MAX - 1)
136 * [ IPMRA_TABLE_VIFS ] - nested attribute
137 * [ IPMRA_VIF ] - nested attribute
145 #define IPMRA_VIF_MAX (__IPMRA_VIF_MAX - 1)
147 /* vif-specific attributes */
[all …]
H A Ddcbnl.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 2008-2011, Intel Corporation.
16 * Place - Suite 330, Boston, MA 02111-1307 USA.
50 * ----
53 * 1 credit-based shaper
55 * 3-254 reserved
94 * given in u-seconds
109 * value is given as percentage (1-100)
114 * the QCN capable hardware may add CN-TAG TLV to the
136 *@rppp_rp_centiseconds: the number of RP-centiseconds accumulated
[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/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_le in nla_ok()
[all...]
H A Dnlattr.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
4 * NETLINK Netlink attributes
6 * Copyright (c) 2003-2013 Thomas Graf <tgraf@suug.ch>
34 LIBBPF_NLA_NESTED, /**< Nested attributes */
38 #define LIBBPF_NLA_TYPE_MAX (__LIBBPF_NLA_TYPE_MAX - 1)
69 * Iterate over a stream of attributes
81 * libbpf_nla_data - head of payload
115 * libbpf_nla_len - length of payload
120 return nla->nla_len - NLA_HDRLEN; in libbpf_nla_len()
138 return (struct nlattr *)((void *)req + NLMSG_ALIGN(req->nh.nlmsg_len)); in req_tail()
[all …]
/linux/tools/net/ynl/pyynl/
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-clas
[all...]
/linux/Documentation/networking/
H A Dopenvswitch.rst1 .. SPDX-License-Identifier: GPL-2.0
8 flow-level packet processing on selected network devices. It can be
10 VLAN processing, network access control, flow-based network control,
26 packets of the same type entirely in-kernel).
30 ----------------------
45 kernel-provided version:
47 - If userspace's notion of the flow key for the packet matches the
50 - If the kernel's flow key includes more fields than the userspace
55 as long as it uses the kernel-provided flow key to do it.
57 - If the userspace flow key includes more fields than the
[all …]
/linux/include/linux/
H A Dtsm.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 * Privilege level is a nested permission concept to allow confidential
15 * guests to partition address space, 4-levels are supported.
20 * struct tsm_report_desc - option descriptor for generating tsm report blobs
25 * @service_guid: optional service-provider service guid to attest
26 * @service_manifest_version: optional service-provider service manifest version requested
38 * struct tsm_report - track state of report generation relative to options
58 * enum tsm_attr_index - index used to reference report attributes
78 * enum tsm_bin_attr_index - index used to reference binary report attributes
92 * struct tsm_report_ops - attributes and operations for tsm_report instances
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Ddoc_generator.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8; mode: python -*-
40 def headroom(level: int) -> str:
45 def bold(text: str) -> str:
50 def inline(text: str) -> str:
55 def sanitize(text: str) -> str:
60 def rst_fields(self, key: str, value: str, level: int = 0) -> str:
64 def rst_definition(self, key: str, value: Any, level: int = 0) -> str:
68 def rst_paragraph(self, paragraph: str, level: int = 0) -> str:
72 def rst_bullet(self, item: str, level: int = 0) -> str:
[all …]
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-man
[all...]

1234