Home
last modified time | relevance | path

Searched refs:nla_nest_start (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v6.6/net/ethtool/
Dcabletest.c130 phydev->nest = nla_nest_start(phydev->skb, in ethnl_cable_test_alloc()
168 nest = nla_nest_start(phydev->skb, ETHTOOL_A_CABLE_NEST_RESULT); in ethnl_cable_test_result()
191 nest = nla_nest_start(phydev->skb, in ethnl_cable_test_fault_length()
366 nest = nla_nest_start(phydev->skb, in ethnl_cable_test_amplitude()
390 nest = nla_nest_start(phydev->skb, ETHTOOL_A_CABLE_TDR_NEST_PULSE); in ethnl_cable_test_pulse()
412 nest = nla_nest_start(phydev->skb, ETHTOOL_A_CABLE_TDR_NEST_STEP); in ethnl_cable_test_step()
Dtunnels.c94 ports = nla_nest_start(skb, ETHTOOL_A_TUNNEL_INFO_UDP_PORTS); in ethnl_tunnel_info_fill_reply()
102 table = nla_nest_start(skb, ETHTOOL_A_TUNNEL_UDP_TABLE); in ethnl_tunnel_info_fill_reply()
125 table = nla_nest_start(skb, ETHTOOL_A_TUNNEL_UDP_TABLE); in ethnl_tunnel_info_fill_reply()
138 entry = nla_nest_start(skb, ETHTOOL_A_TUNNEL_UDP_TABLE_ENTRY); in ethnl_tunnel_info_fill_reply()
Dstrset.c382 string_attr = nla_nest_start(skb, ETHTOOL_A_STRINGS_STRING); in strset_fill_string()
409 stringset_attr = nla_nest_start(skb, ETHTOOL_A_STRINGSETS_STRINGSET); in strset_fill_set()
418 strings_attr = nla_nest_start(skb, ETHTOOL_A_STRINGSET_STRINGS); in strset_fill_set()
446 nest = nla_nest_start(skb, ETHTOOL_A_STRSET_STRINGSETS); in strset_fill_reply()
Dstats.c227 nest = nla_nest_start(skb, ETHTOOL_A_STATS_GRP_STAT); in stat_put()
329 nest = nla_nest_start(skb, attr); in stats_put_rmon_hist()
381 nest = nla_nest_start(skb, ETHTOOL_A_STATS_GRP); in stats_put_stats()
Dbitset.c239 nest = nla_nest_start(skb, attrtype); in ethnl_put_bitset32()
273 bits = nla_nest_start(skb, ETHTOOL_A_BITSET_BITS); in ethnl_put_bitset32()
281 attr = nla_nest_start(skb, ETHTOOL_A_BITSET_BITS_BIT); in ethnl_put_bitset32()
/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_restrack.c17 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_cq_entry()
67 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_qp_entry()
120 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_mr_entry()
/Linux-v6.6/net/smc/
Dsmc_stats.c57 attrs = nla_nest_start(skb, type); in smc_nl_fill_stats_rmb_data()
116 attrs = nla_nest_start(skb, type); in smc_nl_fill_stats_bufsize_data()
173 attrs = nla_nest_start(skb, SMC_NLA_STATS_SMCD_TECH); in smc_nl_fill_stats_tech_data()
175 attrs = nla_nest_start(skb, SMC_NLA_STATS_SMCR_TECH); in smc_nl_fill_stats_tech_data()
279 attrs = nla_nest_start(skb, SMC_GEN_STATS); in smc_nl_get_stats()
344 attrs = nla_nest_start(skb, SMC_GEN_FBACK_STATS); in smc_nl_get_fback_details()
/Linux-v6.6/net/bridge/
Dbr_cfm_netlink.c462 tb = nla_nest_start(skb, IFLA_BRIDGE_CFM_MEP_CREATE_INFO); in br_cfm_config_fill_info()
484 tb = nla_nest_start(skb, IFLA_BRIDGE_CFM_MEP_CONFIG_INFO); in br_cfm_config_fill_info()
508 tb = nla_nest_start(skb, IFLA_BRIDGE_CFM_CC_CONFIG_INFO); in br_cfm_config_fill_info()
532 tb = nla_nest_start(skb, IFLA_BRIDGE_CFM_CC_RDI_INFO); in br_cfm_config_fill_info()
547 tb = nla_nest_start(skb, IFLA_BRIDGE_CFM_CC_CCM_TX_INFO); in br_cfm_config_fill_info()
588 tb = nla_nest_start(skb, in br_cfm_config_fill_info()
625 tb = nla_nest_start(skb, IFLA_BRIDGE_CFM_MEP_STATUS_INFO); in br_cfm_status_fill_info()
659 tb = nla_nest_start(skb, in br_cfm_status_fill_info()
Dbr_vlan_options.c20 nest = nla_nest_start(skb, BRIDGE_VLANDB_ENTRY_TUNNEL_INFO); in __vlan_tun_put()
356 nest = nla_nest_start(skb, BRIDGE_VLANDB_GLOBAL_OPTIONS); in br_vlan_global_opts_fill()
408 nest2 = nla_nest_start(skb, in br_vlan_global_opts_fill()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c330 rx = nla_nest_start(msg, MT76_TM_STATS_ATTR_LAST_RX); in mt7615_tm_dump_stats()
337 rssi = nla_nest_start(msg, MT76_TM_RX_ATTR_RCPI); in mt7615_tm_dump_stats()
347 rssi = nla_nest_start(msg, MT76_TM_RX_ATTR_IB_RSSI); in mt7615_tm_dump_stats()
357 rssi = nla_nest_start(msg, MT76_TM_RX_ATTR_WB_RSSI); in mt7615_tm_dump_stats()
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Drestrack.c89 table_attr = nla_nest_start(msg, in fill_stat_mr_entry()
131 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in fill_res_mr_entry()
/Linux-v6.6/net/devlink/
Ddev.c62 reload_stats_entry = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_STATS_ENTRY); in devlink_reload_stat_put()
85 reload_stats_attr = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_STATS); in devlink_reload_stats_put()
87 reload_stats_attr = nla_nest_start(msg, DEVLINK_ATTR_REMOTE_RELOAD_STATS); in devlink_reload_stats_put()
97 act_info = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_ACTION_INFO); in devlink_reload_stats_put()
103 act_stats = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_ACTION_STATS); in devlink_reload_stats_put()
157 dev_stats = nla_nest_start(msg, DEVLINK_ATTR_DEV_STATS); in devlink_nl_fill()
1213 selftests = nla_nest_start(msg, DEVLINK_ATTR_SELFTESTS); in devlink_nl_selftests_fill()
1283 result_attr = nla_nest_start(skb, DEVLINK_ATTR_SELFTEST_RESULT); in devlink_selftest_result_put()
1340 selftests = nla_nest_start(msg, DEVLINK_ATTR_SELFTESTS); in devlink_nl_cmd_selftests_run()
/Linux-v6.6/net/netfilter/ipset/
Dip_set_bitmap_gen.h98 nested = nla_nest_start(skb, IPSET_ATTR_DATA); in mtype_head()
212 adt = nla_nest_start(skb, IPSET_ATTR_ADT); in mtype_list()
229 nested = nla_nest_start(skb, IPSET_ATTR_DATA); in mtype_list()
Dip_set_list_set.c465 nested = nla_nest_start(skb, IPSET_ATTR_DATA); in list_set_head()
493 atd = nla_nest_start(skb, IPSET_ATTR_ADT); in list_set_list()
505 nested = nla_nest_start(skb, IPSET_ATTR_DATA); in list_set_list()
/Linux-v6.6/net/netfilter/
Dnfnetlink_hook.c63 struct nlattr *nest = nla_nest_start(nlskb, NFNLA_HOOK_CHAIN_INFO); in nfnl_start_info_type()
95 nest2 = nla_nest_start(nlskb, NFNLA_HOOK_INFO_DESC); in nfnl_hook_put_bpf_prog_info()
131 nest2 = nla_nest_start(nlskb, NFNLA_HOOK_INFO_DESC); in nfnl_hook_put_nft_chain_info()
Dnf_conntrack_netlink.c74 nest_parms = nla_nest_start(skb, CTA_TUPLE_PROTO); in ctnetlink_dump_tuples_proto()
115 nest_parms = nla_nest_start(skb, CTA_TUPLE_IP); in ctnetlink_dump_tuples_ip()
208 nest_proto = nla_nest_start(skb, CTA_PROTOINFO); in ctnetlink_dump_protoinfo()
237 nest_helper = nla_nest_start(skb, CTA_HELP); in ctnetlink_dump_helpinfo()
273 nest_count = nla_nest_start(skb, attr); in dump_counters()
317 nest_count = nla_nest_start(skb, CTA_TIMESTAMP); in ctnetlink_dump_timestamp()
367 nest_secctx = nla_nest_start(skb, CTA_SECCTX); in ctnetlink_dump_secctx()
427 nest_parms = nla_nest_start(skb, CTA_TUPLE_MASTER); in ctnetlink_dump_master()
445 nest_parms = nla_nest_start(skb, type); in dump_ct_seq_adj()
497 nest_parms = nla_nest_start(skb, CTA_SYNPROXY); in ctnetlink_dump_ct_synproxy()
[all …]
Dnfnetlink_cthelper.c471 nest_parms = nla_nest_start(skb, NFCTH_TUPLE); in nfnl_cthelper_dump_tuple()
496 nest_parms1 = nla_nest_start(skb, NFCTH_POLICY); in nfnl_cthelper_dump_policy()
505 nest_parms2 = nla_nest_start(skb, (NFCTH_POLICY_SET + i)); in nfnl_cthelper_dump_policy()
/Linux-v6.6/drivers/thermal/
Dthermal_netlink.c207 start_cap = nla_nest_start(msg, THERMAL_GENL_ATTR_CPU_CAPABILITY); in thermal_genl_event_cpu_capability_change()
432 start_tz = nla_nest_start(msg, THERMAL_GENL_ATTR_TZ); in thermal_genl_cmd_tz_get_id()
467 start_trip = nla_nest_start(msg, THERMAL_GENL_ATTR_TZ_TRIP); in thermal_genl_cmd_tz_get_trip()
571 start_cdev = nla_nest_start(msg, THERMAL_GENL_ATTR_CDEV); in thermal_genl_cmd_cdev_get()
/Linux-v6.6/drivers/net/wireguard/
Dnetlink.c80 allowedip_nest = nla_nest_start(skb, 0); in get_allowedips()
109 struct nlattr *allowedips_nest, *peer_nest = nla_nest_start(skb, 0); in get_peer()
171 allowedips_nest = nla_nest_start(skb, WGPEER_A_ALLOWEDIPS); in get_peer()
254 peers_nest = nla_nest_start(skb, WGDEVICE_A_PEERS); in wg_get_device_dump()
/Linux-v6.6/net/netlink/
Dpolicy.c260 attr = nla_nest_start(skb, nestattr); in __netlink_policy_dump_write_attr()
434 policy = nla_nest_start(skb, state->policy_idx); in netlink_policy_dump_write()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c731 rx = nla_nest_start(msg, MT76_TM_STATS_ATTR_LAST_RX); in mt7915_tm_dump_stats()
738 rssi = nla_nest_start(msg, MT76_TM_RX_ATTR_RCPI); in mt7915_tm_dump_stats()
748 rssi = nla_nest_start(msg, MT76_TM_RX_ATTR_IB_RSSI); in mt7915_tm_dump_stats()
758 rssi = nla_nest_start(msg, MT76_TM_RX_ATTR_WB_RSSI); in mt7915_tm_dump_stats()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/
Dtestmode.c599 a = nla_nest_start(msg, MT76_TM_ATTR_STATS); in mt76_testmode_dump()
646 a = nla_nest_start(msg, MT76_TM_ATTR_TX_POWER); in mt76_testmode_dump()
658 a = nla_nest_start(msg, MT76_TM_ATTR_MAC_ADDRS); in mt76_testmode_dump()
/Linux-v6.6/drivers/infiniband/core/
Dnldev.c739 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP_ENTRY); in fill_res_range_qp_entry()
769 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP); in fill_res_srq_qps()
871 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP_ENTRY); in fill_stat_counter_qp_entry()
896 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP); in fill_stat_counter_qps()
927 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_STAT_HWCOUNTER_ENTRY); in rdma_nl_stat_hwcounter_entry()
971 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_STAT_HWCOUNTERS); in fill_stat_counter_hwcounters()
2214 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_STAT_HWCOUNTERS); in stat_get_doit_default_counter()
2428 table = nla_nest_start(msg, RDMA_NLDEV_ATTR_STAT_HWCOUNTERS); in nldev_stat_get_counter_status_doit()
2434 entry = nla_nest_start(msg, in nldev_stat_get_counter_status_doit()
/Linux-v6.6/include/linux/netfilter/ipset/
Dip_set.h399 struct nlattr *__nested = nla_nest_start(skb, type); in nla_put_ipaddr4()
413 struct nlattr *__nested = nla_nest_start(skb, type); in nla_put_ipaddr6()
/Linux-v6.6/net/core/
Dbpf_sk_storage.c552 nla_stg = nla_nest_start(skb, SK_DIAG_BPF_STORAGE); in diag_get()
601 nla_stgs = nla_nest_start(skb, stg_array_type); in bpf_sk_storage_diag_put_all()
662 nla_stgs = nla_nest_start(skb, stg_array_type); in bpf_sk_storage_diag_put()

123