Searched +full:nested +full:- +full:attributes (Results 1 – 25 of 128) sorted by relevance
123456
/Linux-v6.6/Documentation/netlink/specs/ |
D | ethtool.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 11 name: udp-tunnel-type 12 enum-name: 14 entries: [ vxlan, geneve, vxlan-gpe ] 15 - 20 attribute-sets: 21 - 23 attributes: [all …]
|
D | ovs_flow.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 6 uapi-header: linux/openvswitch.h 12 - 13 name: ovs-header 18 - 19 name: dp-ifindex 24 - 25 name: ovs-flow-stats 28 - [all …]
|
D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 19 attribute-sets: 20 - 22 name-prefix: devlink-attr- 23 attributes: [all …]
|
D | rt_link.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 name: rt-link 4 protocol: netlink-raw 11 - 12 name: ifinfo-flags 15 - 17 - 19 - 21 - 23 - [all …]
|
D | ovs_vport.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 6 uapi-header: linux/openvswitch.h 12 - 13 name: ovs-header 16 - 17 name: dp-ifindex 19 - 20 name: vport-type 22 enum-name: ovs-vport-type [all …]
|
D | handshake.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 15 - 17 name: handler-class 18 value-start: 0 20 - 22 name: msg-type 23 value-start: 0 25 - 28 value-start: 0 31 attribute-sets: [all …]
|
/Linux-v6.6/include/uapi/linux/ |
D | openvswitch.h | 1 /* 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. 73 * @OVS_DP_ATTR_PER_CPU_PIDS: Per-cpu array of PIDs for upcalls when 82 * These attributes follow the &struct ovs_header within the Generic Netlink 95 * per-cpu dispatch mode [all …]
|
D | ncsi.h | 2 * 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 …]
|
D | smc.h | 1 /* 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 …]
|
D | ip_vs.h | 1 /* 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 …]
|
D | netlink.h | 1 /* 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 …]
|
D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2023 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 …]
|
D | nexthop.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 __u32 id; /* nexthop id - must exist */ 24 NEXTHOP_GRP_TYPE_MPATH, /* hash-threshold nexthop group 31 #define NEXTHOP_GRP_TYPE_MAX (__NEXTHOP_GRP_TYPE_MAX - 1) 35 NHA_ID, /* u32; id for nexthop. id == 0 means auto-assign */ 39 /* if NHA_GROUP attribute is added, no other attributes can be set */ 58 /* nested; resilient nexthop group attributes */ 60 /* nested; nexthop bucket attributes */ 66 #define NHA_MAX (__NHA_MAX - 1) 70 /* Pad attribute for 64-bit alignment. */ [all …]
|
/Linux-v6.6/include/uapi/linux/tc_act/ |
D | tc_tunnel_key.h | 1 /* 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-v6.6/Documentation/userspace-api/netlink/ |
D | specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 17 - the C uAPI header 18 - documentation of the protocol as a ReST file 19 - policy tables for input attribute validation 20 - operation tables 25 See :doc:`intro-specs` for a practical starting guide. 28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)`` 36 Each next level inherits the attributes of the previous level, meaning that 40 - ``genetlink`` - most streamlined, should be used by all new families 41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing [all …]
|
/Linux-v6.6/include/net/ |
D | netlink.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Netlink Messages and Attributes Interface (As Seen On TV) 12 * ------------------------------------------------------------------------ 14 * ------------------------------------------------------------------------ 17 * <--- nlmsg_total_size(payload) ---> 18 * <-- nlmsg_msg_size(payload) -> 19 * +----------+- - -+-------------+- - -+-------- - - 21 * +----------+- - -+-------------+- - -+-------- - - 22 * nlmsg_data(nlh)---^ ^ 23 * nlmsg_next(nlh)-----------------------+ [all …]
|
/Linux-v6.6/include/uapi/rdma/ |
D | rdma_netlink.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 21 #define RDMA_NL_GET_CLIENT(type) ((type & (((1 << 6) - 1) << 10)) >> 10) 22 #define RDMA_NL_GET_OP(type) (type & ((1 << 10) - 1)) 38 /* iwarp port mapper op-codes */ 85 /* The following maintains bisectability of rdma-core */ 164 * RESOLVE - The client requests the local service to resolve a path. 165 * SET_TIMEOUT - The local service requests the client to set the timeout. 166 * IP_RESOLVE - The client requests the local service to resolve an IP to GID. 183 * attributes 189 * ALL - For connected CM operation (6 pathrecords) [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_tlv.c | 1 // 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-v6.6/drivers/block/drbd/ |
D | drbd_nla.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * validate_nla (called from nla_parse_nested) ignores attributes in drbd_nla_check_mandatory() 16 * In order to have it validate attributes with the DRBD_GENLA_F_MANDATORY in drbd_nla_check_mandatory() 22 if (nla->nla_type & DRBD_GENLA_F_MANDATORY) { in drbd_nla_check_mandatory() 23 nla->nla_type &= ~DRBD_GENLA_F_MANDATORY; in drbd_nla_check_mandatory() 25 return -EOPNOTSUPP; in drbd_nla_check_mandatory() 48 * If any nested attribute has the DRBD_GENLA_F_MANDATORY flag set and in drbd_nla_find_nested() 49 * we don't know about that attribute, reject all the nested in drbd_nla_find_nested() 50 * attributes. in drbd_nla_find_nested()
|
/Linux-v6.6/drivers/net/ieee802154/ |
D | mac802154_hwsim.h | 35 #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-v6.6/Documentation/networking/ |
D | ethtool-netlink.rst | 13 requests and replies is passed using netlink attributes. 26 unprivileged users have attributes with sensitive information (e.g. 27 wake-on-lan password) omitted. 33 Attributes which represent a boolean value usually use NLA_U8 type so that we 36 in "set" requests). For these attributes, the "true" value should be passed as 37 number 1 but any non-zero value should be understood as "true" by recipient. 38 In the tables below, "bool" denotes NLA_U8 attributes interpreted in this way. 41 with "+", parent nest can contain multiple attributes of the same type. This 44 Attributes that need to be filled-in by device drivers and that are dumped to 53 Each request or reply message contains a nested attribute with common header. [all …]
|
D | openvswitch.rst | 1 .. 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-v6.6/tools/lib/bpf/ |
D | nlattr.c | 1 // 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-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | testmode.h | 1 /* SPDX-License-Identifier: ISC */ 13 * enum mt76_testmode_attr - testmode attributes inside NL80211_ATTR_TESTDATA 37 * @MT76_TM_ATTR_TX_POWER: per-antenna tx power array (nested, u8 attrs) 41 * @MT76_TM_ATTR_STATS: statistics (nested, see &enum mt76_testmode_stats_attr) 46 * @MT76_TM_ATTR_TX_IPG: tx inter-packet gap, in unit of us (u32) 49 * @MT76_TM_ATTR_DRV_DATA: driver specific netlink attrs (nested) 51 * @MT76_TM_ATTR_MAC_ADDRS: array of nested MAC addresses (nested) 92 MT76_TM_ATTR_MAX = NUM_MT76_TM_ATTRS - 1, 96 * enum mt76_testmode_state - statistics attributes 121 MT76_TM_STATS_ATTR_MAX = NUM_MT76_TM_STATS_ATTRS - 1, [all …]
|
/Linux-v6.6/tools/net/ynl/ |
D | ynl-gen-c.py | 2 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 16 return name.upper().replace('-', '_') 20 return name.lower().replace('-', '_') 25 return 'ys->family_id' 30 … return f"mnl_cb_run2(ys->rx_buf, len, 0, 0, {cb}, {data},{ind}ynl_cb_array, NLMSG_MIN_TYPE)" 32 return f"mnl_cb_run2(ys->rx_buf, len, ys->seq, ys->portid,{ind}{cb}, {data},{ind}" + \ 47 if 'nested-attributes' in attr: 48 self.nested_attrs = attr['nested-attributes'] 68 if 'name-prefix' in self.attr: 69 enum_name = f"{self.attr['name-prefix']}{self.name}" [all …]
|
123456