Home
last modified time | relevance | path

Searched full:nest (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/linux-6.12.1/include/uapi/linux/
Dethtool_netlink.h162 ETHTOOL_A_BITSET_BITS_BIT, /* nest - _A_BITSET_BIT_* */
173 ETHTOOL_A_BITSET_BITS, /* nest - _A_BITSET_BITS_* */
196 ETHTOOL_A_STRINGS_STRING, /* nest - _A_STRINGS_* */
207 ETHTOOL_A_STRINGSET_STRINGS, /* nest - _A_STRINGS_* */
216 ETHTOOL_A_STRINGSETS_STRINGSET, /* nest - _A_STRINGSET_* */
227 ETHTOOL_A_STRSET_HEADER, /* nest - _A_HEADER_* */
228 ETHTOOL_A_STRSET_STRINGSETS, /* nest - _A_STRINGSETS_* */
240 ETHTOOL_A_LINKINFO_HEADER, /* nest - _A_HEADER_* */
256 ETHTOOL_A_LINKMODES_HEADER, /* nest - _A_HEADER_* */
276 ETHTOOL_A_LINKSTATE_HEADER, /* nest - _A_HEADER_* */
[all …]
Dtipc_netlink.h77 TIPC_NLA_BEARER, /* nest */
78 TIPC_NLA_SOCK, /* nest */
79 TIPC_NLA_PUBL, /* nest */
80 TIPC_NLA_LINK, /* nest */
81 TIPC_NLA_MEDIA, /* nest */
82 TIPC_NLA_NODE, /* nest */
83 TIPC_NLA_NET, /* nest */
84 TIPC_NLA_NAME_TABLE, /* nest */
85 TIPC_NLA_MON, /* nest */
86 TIPC_NLA_MON_PEER, /* nest */
[all …]
Dsmc.h70 SMC_GEN_SYS_INFO, /* nest */
71 SMC_GEN_LGR_SMCR, /* nest */
72 SMC_GEN_LINK_SMCR, /* nest */
73 SMC_GEN_LGR_SMCD, /* nest */
74 SMC_GEN_DEV_SMCD, /* nest */
75 SMC_GEN_DEV_SMCR, /* nest */
76 SMC_GEN_STATS, /* nest */
77 SMC_GEN_FBACK_STATS, /* nest */
125 SMC_NLA_LGR_R_V2_COMMON, /* nest */
126 SMC_NLA_LGR_R_V2, /* nest */
[all …]
/linux-6.12.1/Documentation/netlink/specs/
Dethtool.yaml83 type: nest
97 type: nest
114 type: nest
128 type: nest
136 type: nest
144 type: nest
148 type: nest
159 type: nest
163 type: nest
171 type: nest
[all …]
Ddevlink.yaml297 type: nest
301 type: nest
312 type: nest
316 type: nest
323 type: nest
327 type: nest
335 type: nest
339 type: nest
346 type: nest
351 type: nest
[all …]
Dnftables.yaml289 type: nest
308 type: nest
358 type: nest
395 type: nest
400 type: nest
429 type: nest
500 type: nest
534 type: nest
540 type: nest
553 type: nest
[all …]
Dovs_flow.yaml382 type: nest
389 type: nest
429 type: nest
471 type: nest
532 type: nest
581 type: nest
612 type: nest
616 type: nest
630 type: nest
657 type: nest
[all …]
Dtc.yaml1408 type: nest
1412 type: nest
1454 type: nest
1997 type: nest
2002 sub-type: nest
2006 type: nest
2020 type: nest
2024 type: nest
2143 sub-type: nest
2253 type: nest
[all …]
Dteam.yaml53 type: nest
57 type: nest
71 type: nest
119 type: nest
Dnlctrl.yaml69 sub-type: nest
74 sub-type: nest
78 type: nest-type-value
83 type: nest-type-value
/linux-6.12.1/net/ethtool/
Dcabletest.c133 phydev->nest = nla_nest_start(phydev->skb, in ethnl_cable_test_alloc()
135 if (!phydev->nest) { in ethnl_cable_test_alloc()
158 nla_nest_end(phydev->skb, phydev->nest); in ethnl_cable_test_finished()
169 struct nlattr *nest; in ethnl_cable_test_result_with_src() local
172 nest = nla_nest_start(phydev->skb, ETHTOOL_A_CABLE_NEST_RESULT); in ethnl_cable_test_result_with_src()
173 if (!nest) in ethnl_cable_test_result_with_src()
185 nla_nest_end(phydev->skb, nest); in ethnl_cable_test_result_with_src()
189 nla_nest_cancel(phydev->skb, nest); in ethnl_cable_test_result_with_src()
197 struct nlattr *nest; in ethnl_cable_test_fault_length_with_src() local
200 nest = nla_nest_start(phydev->skb, in ethnl_cable_test_fault_length_with_src()
[all …]
Dstrset.c160 static int strset_get_id(const struct nlattr *nest, u32 *val, in strset_get_id() argument
166 ret = nla_parse_nested(tb, ARRAY_SIZE(get_stringset_policy) - 1, nest, in strset_get_id()
170 if (NL_REQ_ATTR_CHECK(extack, nest, tb, ETHTOOL_A_STRINGSET_ID)) in strset_get_id()
186 struct nlattr *nest = tb[ETHTOOL_A_STRSET_STRINGSETS]; in strset_parse_request() local
190 if (!nest) in strset_parse_request()
192 ret = nla_validate_nested(nest, in strset_parse_request()
199 nla_for_each_nested(attr, nest, rem) { in strset_parse_request()
332 /* calculate size of ETHTOOL_A_STRSET_STRINGSET nest for one string set */
346 /* ETHTOOL_A_STRING_INDEX, ETHTOOL_A_STRING_VALUE, nest */ in strset_set_size()
451 struct nlattr *nest; in strset_fill_reply() local
[all …]
Dstats.c209 struct nlattr *nest; in stat_put() local
217 * of ETHTOOL_A_STATS_GRP_STAT. Since we're one nest away from the in stat_put()
227 nest = nla_nest_start(skb, ETHTOOL_A_STATS_GRP_STAT); in stat_put()
228 if (!nest) in stat_put()
233 nla_nest_cancel(skb, nest); in stat_put()
237 nla_nest_end(skb, nest); in stat_put()
317 struct nlattr *nest; in stats_put_rmon_hist() local
329 nest = nla_nest_start(skb, attr); in stats_put_rmon_hist()
330 if (!nest) in stats_put_rmon_hist()
341 nla_nest_end(skb, nest); in stats_put_rmon_hist()
[all …]
Dbitset.c205 /* bit nest */ in ethnl_bitset32_size()
208 /* bits nest */ in ethnl_bitset32_size()
212 /* outermost nest */ in ethnl_bitset32_size()
217 * ethnl_put_bitset32() - Put a bitset nest into a message
219 * @attrtype: attribute type for the bitset nest
236 struct nlattr *nest; in ethnl_put_bitset32() local
239 nest = nla_nest_start(skb, attrtype); in ethnl_put_bitset32()
240 if (!nest) in ethnl_put_bitset32()
297 nla_nest_end(skb, nest); in ethnl_put_bitset32()
301 nla_nest_cancel(skb, nest); in ethnl_put_bitset32()
[all …]
Dtsinfo.c111 struct nlattr *nest; in tsinfo_put_stats() local
113 nest = nla_nest_start(skb, ETHTOOL_A_TSINFO_STATS); in tsinfo_put_stats()
114 if (!nest) in tsinfo_put_stats()
125 nla_nest_end(skb, nest); in tsinfo_put_stats()
129 nla_nest_cancel(skb, nest); in tsinfo_put_stats()
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dconntrack_dump_flush.c24 struct nlattr *nest, *nest_ip, *nest_proto; in build_cta_tuple_v4() local
26 nest = mnl_attr_nest_start(nlh, type); in build_cta_tuple_v4()
27 if (!nest) in build_cta_tuple_v4()
45 mnl_attr_nest_end(nlh, nest); in build_cta_tuple_v4()
52 struct nlattr *nest, *nest_ip, *nest_proto; in build_cta_tuple_v6() local
54 nest = mnl_attr_nest_start(nlh, type); in build_cta_tuple_v6()
55 if (!nest) in build_cta_tuple_v6()
73 mnl_attr_nest_end(nlh, nest); in build_cta_tuple_v6()
78 struct nlattr *nest, *nest_proto; in build_cta_proto() local
80 nest = mnl_attr_nest_start(nlh, CTA_PROTOINFO); in build_cta_proto()
[all …]
/linux-6.12.1/net/netfilter/
Dnfnetlink_hook.c63 struct nlattr *nest = nla_nest_start(nlskb, NFNLA_HOOK_CHAIN_INFO); in nfnl_start_info_type() local
66 if (!nest) in nfnl_start_info_type()
71 return nest; in nfnl_start_info_type()
73 nla_nest_cancel(nlskb, nest); in nfnl_start_info_type()
82 struct nlattr *nest, *nest2; in nfnl_hook_put_bpf_prog_info() local
91 nest = nfnl_start_info_type(nlskb, NFNL_HOOK_TYPE_BPF); in nfnl_hook_put_bpf_prog_info()
92 if (!nest) in nfnl_hook_put_bpf_prog_info()
104 nla_nest_end(nlskb, nest); in nfnl_hook_put_bpf_prog_info()
108 nla_nest_cancel(nlskb, nest); in nfnl_hook_put_bpf_prog_info()
118 struct nlattr *nest, *nest2; in nfnl_hook_put_nft_chain_info() local
[all …]
Dnft_tunnel.c546 struct nlattr *nest; in nft_tunnel_ip_dump() local
549 nest = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_IP6); in nft_tunnel_ip_dump()
550 if (!nest) in nft_tunnel_ip_dump()
559 nla_nest_cancel(skb, nest); in nft_tunnel_ip_dump()
563 nla_nest_end(skb, nest); in nft_tunnel_ip_dump()
565 nest = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_IP); in nft_tunnel_ip_dump()
566 if (!nest) in nft_tunnel_ip_dump()
573 nla_nest_cancel(skb, nest); in nft_tunnel_ip_dump()
577 nla_nest_end(skb, nest); in nft_tunnel_ip_dump()
587 struct nlattr *nest, *inner; in nft_tunnel_opts_dump() local
[all …]
/linux-6.12.1/drivers/crypto/nx/
DKconfig10 Support for PowerPC Nest (NX) encryption acceleration. This
21 Support for PowerPC Nest (NX) compression acceleration. This
35 Support for PowerPC Nest (NX) compression acceleration. This
46 Support for PowerPC Nest (NX) compression acceleration. This
/linux-6.12.1/net/8021q/
Dvlan_netlink.c226 struct nlattr *nest; in vlan_fill_info() local
239 nest = nla_nest_start_noflag(skb, IFLA_VLAN_INGRESS_QOS); in vlan_fill_info()
240 if (nest == NULL) in vlan_fill_info()
253 nla_nest_end(skb, nest); in vlan_fill_info()
257 nest = nla_nest_start_noflag(skb, IFLA_VLAN_EGRESS_QOS); in vlan_fill_info()
258 if (nest == NULL) in vlan_fill_info()
274 nla_nest_end(skb, nest); in vlan_fill_info()
/linux-6.12.1/net/sched/
Dact_api.c513 struct nlattr *nest; in tcf_dump_walker() local
537 nest = nla_nest_start_noflag(skb, n_i); in tcf_dump_walker()
538 if (!nest) { in tcf_dump_walker()
547 nlmsg_trim(skb, nest); in tcf_dump_walker()
550 nla_nest_end(skb, nest); in tcf_dump_walker()
568 nla_nest_cancel(skb, nest); in tcf_dump_walker()
590 struct nlattr *nest; in tcf_del_walker() local
598 nest = nla_nest_start_noflag(skb, 0); in tcf_del_walker()
599 if (nest == NULL) in tcf_del_walker()
627 nla_nest_end(skb, nest); in tcf_del_walker()
[all …]
/linux-6.12.1/net/ipv4/
Dip_tunnel_core.c741 struct nlattr *nest; in ip_tun_fill_encap_opts_geneve() local
744 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_GENEVE); in ip_tun_fill_encap_opts_geneve()
745 if (!nest) in ip_tun_fill_encap_opts_geneve()
755 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_geneve()
761 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_geneve()
769 struct nlattr *nest; in ip_tun_fill_encap_opts_vxlan() local
771 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_VXLAN); in ip_tun_fill_encap_opts_vxlan()
772 if (!nest) in ip_tun_fill_encap_opts_vxlan()
777 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_vxlan()
781 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_vxlan()
[all …]
/linux-6.12.1/net/core/
Dpage_pool_user.c117 struct nlattr *nest; in page_pool_nl_stats_fill() local
127 nest = nla_nest_start(rsp, NETDEV_A_PAGE_POOL_STATS_INFO); in page_pool_nl_stats_fill()
135 nla_nest_end(rsp, nest); in page_pool_nl_stats_fill()
165 nla_nest_cancel(rsp, nest); in page_pool_nl_stats_fill()
179 struct nlattr *nest; in netdev_nl_page_pool_stats_get_doit() local
186 nest = info->attrs[NETDEV_A_PAGE_POOL_STATS_INFO]; in netdev_nl_page_pool_stats_get_doit()
187 err = nla_parse_nested(tb, ARRAY_SIZE(tb) - 1, nest, in netdev_nl_page_pool_stats_get_doit()
193 if (NL_REQ_ATTR_CHECK(info->extack, nest, tb, NETDEV_A_PAGE_POOL_ID)) in netdev_nl_page_pool_stats_get_doit()
/linux-6.12.1/kernel/events/
Dring_buffer.c50 (*(volatile unsigned int *)&rb->nest)++; in perf_output_get_handle()
58 unsigned int nest; in perf_output_put_handle() local
64 nest = READ_ONCE(rb->nest); in perf_output_put_handle()
65 if (nest > 1) { in perf_output_put_handle()
66 WRITE_ONCE(rb->nest, nest - 1); in perf_output_put_handle()
74 * incremented @rb->nest. in perf_output_put_handle()
117 * We must publish the head before decrementing the nest count, in perf_output_put_handle()
122 WRITE_ONCE(rb->nest, 0); in perf_output_put_handle()
125 * Ensure we decrement @rb->nest before we validate the @rb->head. in perf_output_put_handle()
130 WRITE_ONCE(rb->nest, 1); in perf_output_put_handle()
[all …]
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c760 struct rtattr *rta, *nest; in add_addr() local
778 nest = (void *)(data + off); in add_addr()
779 nest->rta_type = NLA_F_NESTED | MPTCP_PM_ATTR_ADDR; in add_addr()
780 nest->rta_len = RTA_LENGTH(0); in add_addr()
781 off += NLMSG_ALIGN(nest->rta_len); in add_addr()
880 nest->rta_len = off - nest_start; in add_addr()
891 struct rtattr *rta, *nest; in del_addr() local
913 nest = (void *)(data + off); in del_addr()
914 nest->rta_type = NLA_F_NESTED | MPTCP_PM_ATTR_ADDR; in del_addr()
915 nest->rta_len = RTA_LENGTH(0); in del_addr()
[all …]

12345678910>>...12