Home
last modified time | relevance | path

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

12345

/Linux-v4.19/net/ncsi/
Dncsi-netlink.c78 vid_nest = nla_nest_start(skb, NCSI_CHANNEL_ATTR_VLAN_LIST); in ncsi_write_channel_info()
112 pnest = nla_nest_start(skb, NCSI_PKG_ATTR); in ncsi_write_package_info()
118 cnest = nla_nest_start(skb, NCSI_PKG_ATTR_CHANNEL_LIST); in ncsi_write_package_info()
124 nest = nla_nest_start(skb, NCSI_CHANNEL_ATTR); in ncsi_write_package_info()
186 attr = nla_nest_start(skb, NCSI_ATTR_PACKAGE_LIST); in ncsi_pkg_info_nl()
249 attr = nla_nest_start(skb, NCSI_ATTR_PACKAGE_LIST); in ncsi_pkg_info_all_nl()
/Linux-v4.19/net/tipc/
Dnetlink_compat.c385 bearer = nla_nest_start(skb, TIPC_NLA_BEARER); in tipc_nl_compat_bearer_enable()
396 prop = nla_nest_start(skb, TIPC_NLA_BEARER_PROP); in tipc_nl_compat_bearer_enable()
417 bearer = nla_nest_start(skb, TIPC_NLA_BEARER); in tipc_nl_compat_bearer_disable()
650 media = nla_nest_start(skb, TIPC_NLA_MEDIA); in tipc_nl_compat_media_set()
657 prop = nla_nest_start(skb, TIPC_NLA_MEDIA_PROP); in tipc_nl_compat_media_set()
677 bearer = nla_nest_start(skb, TIPC_NLA_BEARER); in tipc_nl_compat_bearer_set()
684 prop = nla_nest_start(skb, TIPC_NLA_BEARER_PROP); in tipc_nl_compat_bearer_set()
704 link = nla_nest_start(skb, TIPC_NLA_LINK); in __tipc_nl_compat_link_set()
711 prop = nla_nest_start(skb, TIPC_NLA_LINK_PROP); in __tipc_nl_compat_link_set()
756 link = nla_nest_start(skb, TIPC_NLA_LINK); in tipc_nl_compat_link_reset_stats()
[all …]
Dnet.c164 attrs = nla_nest_start(msg->skb, TIPC_NLA_NET); in __tipc_nl_add_net()
/Linux-v4.19/net/bridge/
Dbr_mdb.c29 nest = nla_nest_start(skb, MDBA_ROUTER); in br_rports_fill_info()
36 port_nest = nla_nest_start(skb, MDBA_ROUTER_PORT); in br_rports_fill_info()
94 nest = nla_nest_start(skb, MDBA_MDB); in br_mdb_fill_info()
108 nest2 = nla_nest_start(skb, MDBA_MDB_ENTRY); in br_mdb_fill_info()
135 nest_ent = nla_nest_start(skb, in br_mdb_fill_info()
232 nest = nla_nest_start(skb, MDBA_MDB); in nlmsg_populate_mdb_fill()
235 nest2 = nla_nest_start(skb, MDBA_MDB_ENTRY); in nlmsg_populate_mdb_fill()
430 nest = nla_nest_start(skb, MDBA_ROUTER); in nlmsg_populate_rtr_fill()
/Linux-v4.19/net/dcb/
Ddcbnl.c249 nest = nla_nest_start(skb, DCB_ATTR_PFC_CFG); in dcbnl_getpfccfg()
307 nest = nla_nest_start(skb, DCB_ATTR_CAP); in dcbnl_getcap()
351 nest = nla_nest_start(skb, DCB_ATTR_NUMTCS); in dcbnl_getnumtcs()
482 app_nest = nla_nest_start(skb, DCB_ATTR_APP); in dcbnl_getapp()
581 pg_nest = nla_nest_start(skb, DCB_ATTR_PG_CFG); in __dcbnl_pg_getcfg()
601 param_nest = nla_nest_start(skb, i); in __dcbnl_pg_getcfg()
892 bcn_nest = nla_nest_start(skb, DCB_ATTR_BCN); in dcbnl_bcn_getcfg()
1005 app = nla_nest_start(skb, app_nested_type); in dcbnl_build_peer_app()
1039 ieee = nla_nest_start(skb, DCB_ATTR_IEEE); in dcbnl_ieee_fill()
1109 app = nla_nest_start(skb, DCB_ATTR_IEEE_APP_TABLE); in dcbnl_ieee_fill()
[all …]
/Linux-v4.19/net/netlabel/
Dnetlabel_cipso_v4.c501 nla_a = nla_nest_start(ans_skb, NLBL_CIPSOV4_A_TAGLST); in netlbl_cipsov4_list()
520 nla_a = nla_nest_start(ans_skb, NLBL_CIPSOV4_A_MLSLVLLST); in netlbl_cipsov4_list()
532 nla_b = nla_nest_start(ans_skb, NLBL_CIPSOV4_A_MLSLVL); in netlbl_cipsov4_list()
551 nla_a = nla_nest_start(ans_skb, NLBL_CIPSOV4_A_MLSCATLST); in netlbl_cipsov4_list()
563 nla_b = nla_nest_start(ans_skb, NLBL_CIPSOV4_A_MLSCAT); in netlbl_cipsov4_list()
Dnetlabel_mgmt.c318 nla_a = nla_nest_start(skb, NLBL_MGMT_A_SELECTORLIST); in netlbl_mgmt_listentry()
326 nla_b = nla_nest_start(skb, NLBL_MGMT_A_ADDRSELECTOR); in netlbl_mgmt_listentry()
360 nla_b = nla_nest_start(skb, NLBL_MGMT_A_ADDRSELECTOR); in netlbl_mgmt_listentry()
/Linux-v4.19/drivers/infiniband/core/
Dnldev.c284 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_SUMMARY_ENTRY); in fill_res_info_entry()
319 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_SUMMARY); in fill_res_info()
376 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP_ENTRY); in fill_res_qp_entry()
438 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_CM_ID_ENTRY); in fill_res_cm_id_entry()
492 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_CQ_ENTRY); in fill_res_cq_entry()
529 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_MR_ENTRY); in fill_res_mr_entry()
566 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_PD_ENTRY); in fill_res_pd_entry()
964 table_attr = nla_nest_start(skb, fe->nldev_attr); in res_get_common_dumpit()
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Drestrack.c152 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in fill_res_qp_entry()
219 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in fill_res_ep_entry()
390 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in fill_res_cq_entry()
450 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in fill_res_mr_entry()
/Linux-v4.19/net/ieee802154/
Dnl802154.c315 struct nlattr *nl_flags = nla_nest_start(msg, attr); in nl802154_put_flags()
341 nl_page = nla_nest_start(msg, NL802154_ATTR_CHANNELS_SUPPORTED); in nl802154_send_wpan_phy_channels()
363 nl_caps = nla_nest_start(msg, NL802154_ATTR_WPAN_PHY_CAPS); in nl802154_put_capabilities()
367 nl_channels = nla_nest_start(msg, NL802154_CAP_ATTR_CHANNELS); in nl802154_put_capabilities()
383 nl_ed_lvls = nla_nest_start(msg, in nl802154_put_capabilities()
399 nl_tx_pwrs = nla_nest_start(msg, NL802154_CAP_ATTR_TX_POWERS); in nl802154_put_capabilities()
507 nl_cmds = nla_nest_start(msg, NL802154_ATTR_SUPPORTED_COMMANDS); in nl802154_send_wpan_phy()
696 nl_dev_addr = nla_nest_start(msg, NL802154_KEY_ID_ATTR_IMPLICIT); in ieee802154_llsec_send_key_id()
771 nl_key_id = nla_nest_start(msg, NL802154_ATTR_SEC_OUT_KEY_ID); in nl802154_get_llsec_params()
1458 nl_key = nla_nest_start(msg, NL802154_ATTR_SEC_KEY); in nl802154_send_key()
[all …]
/Linux-v4.19/net/openvswitch/
Dmeter.c130 nla = nla_nest_start(reply, OVS_METER_ATTR_BANDS); in ovs_meter_cmd_reply_stats()
139 band_nla = nla_nest_start(reply, OVS_BAND_ATTR_UNSPEC); in ovs_meter_cmd_reply_stats()
169 nla = nla_nest_start(reply, OVS_METER_ATTR_BANDS); in ovs_meter_cmd_features()
173 band_nla = nla_nest_start(reply, OVS_BAND_ATTR_UNSPEC); in ovs_meter_cmd_features()
Dvport-vxlan.c46 exts = nla_nest_start(skb, OVS_TUNNEL_ATTR_EXTENSION); in vxlan_get_options()
Dflow_netlink.c839 nla = nla_nest_start(skb, OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS); in vxlan_opt_to_nlattr()
926 nla = nla_nest_start(skb, OVS_KEY_ATTR_TUNNEL); in ip_tun_to_nlattr()
1935 start = nla_nest_start(skb, OVS_KEY_ATTR_NSH); in nsh_key_to_nlattr()
2018 encap = nla_nest_start(skb, OVS_KEY_ATTR_ENCAP); in __ovs_nla_put_key()
2025 in_encap = nla_nest_start(skb, OVS_KEY_ATTR_ENCAP); in __ovs_nla_put_key()
2204 nla = nla_nest_start(skb, attr); in ovs_nla_put_key()
3133 start = nla_nest_start(skb, OVS_ACTION_ATTR_SAMPLE); in sample_action_to_attr()
3146 ac_start = nla_nest_start(skb, OVS_SAMPLE_ATTR_ACTIONS); in sample_action_to_attr()
3172 start = nla_nest_start(skb, OVS_ACTION_ATTR_CLONE); in clone_action_to_attr()
3198 start = nla_nest_start(skb, OVS_ACTION_ATTR_SET); in set_action_to_attr()
[all …]
/Linux-v4.19/net/core/
Ddevlink.c1663 match_attr = nla_nest_start(skb, DEVLINK_ATTR_DPIPE_MATCH); in devlink_dpipe_match_put()
1688 matches_attr = nla_nest_start(skb, DEVLINK_ATTR_DPIPE_TABLE_MATCHES); in devlink_dpipe_matches_put()
1710 action_attr = nla_nest_start(skb, DEVLINK_ATTR_DPIPE_ACTION); in devlink_dpipe_action_put()
1735 actions_attr = nla_nest_start(skb, DEVLINK_ATTR_DPIPE_TABLE_ACTIONS); in devlink_dpipe_actions_put()
1757 table_attr = nla_nest_start(skb, DEVLINK_ATTR_DPIPE_TABLE); in devlink_dpipe_table_put()
1837 tables_attr = nla_nest_start(skb, DEVLINK_ATTR_DPIPE_TABLES); in devlink_dpipe_tables_fill()
1938 action_attr = nla_nest_start(skb, in devlink_dpipe_action_values_put()
1975 match_attr = nla_nest_start(skb, in devlink_dpipe_match_values_put()
1997 entry_attr = nla_nest_start(skb, DEVLINK_ATTR_DPIPE_ENTRY); in devlink_dpipe_entry_put()
2009 matches_attr = nla_nest_start(skb, in devlink_dpipe_entry_put()
[all …]
Drtnetlink.c632 slave_data = nla_nest_start(skb, IFLA_INFO_SLAVE_DATA); in rtnl_link_slave_info_fill()
664 data = nla_nest_start(skb, IFLA_INFO_DATA); in rtnl_link_info_fill()
684 linkinfo = nla_nest_start(skb, IFLA_LINKINFO); in rtnl_link_fill()
753 mx = nla_nest_start(skb, RTA_METRICS); in rtnetlink_put_metrics()
1034 vf_ports = nla_nest_start(skb, IFLA_VF_PORTS); in rtnl_vf_ports_fill()
1039 vf_port = nla_nest_start(skb, IFLA_VF_PORT); in rtnl_vf_ports_fill()
1068 port_self = nla_nest_start(skb, IFLA_PORT_SELF); in rtnl_port_self_fill()
1250 vf = nla_nest_start(skb, IFLA_VF_INFO); in rtnl_fill_vfinfo()
1269 vfvlanlist = nla_nest_start(skb, IFLA_VF_VLAN_LIST); in rtnl_fill_vfinfo()
1282 vfstats = nla_nest_start(skb, IFLA_VF_STATS); in rtnl_fill_vfinfo()
[all …]
/Linux-v4.19/net/netfilter/
Dnf_conntrack_netlink.c66 nest_parms = nla_nest_start(skb, CTA_TUPLE_PROTO | NLA_F_NESTED); in ctnetlink_dump_tuples_proto()
107 nest_parms = nla_nest_start(skb, CTA_TUPLE_IP | NLA_F_NESTED); in ctnetlink_dump_tuples_ip()
191 nest_proto = nla_nest_start(skb, CTA_PROTOINFO | NLA_F_NESTED); in ctnetlink_dump_protoinfo()
219 nest_helper = nla_nest_start(skb, CTA_HELP | NLA_F_NESTED); in ctnetlink_dump_helpinfo()
253 nest_count = nla_nest_start(skb, attr | NLA_F_NESTED); in dump_counters()
297 nest_count = nla_nest_start(skb, CTA_TIMESTAMP | NLA_F_NESTED); in ctnetlink_dump_timestamp()
341 nest_secctx = nla_nest_start(skb, CTA_SECCTX | NLA_F_NESTED); in ctnetlink_dump_secctx()
401 nest_parms = nla_nest_start(skb, CTA_TUPLE_MASTER | NLA_F_NESTED); in ctnetlink_dump_master()
419 nest_parms = nla_nest_start(skb, type | NLA_F_NESTED); in dump_ct_seq_adj()
471 nest_parms = nla_nest_start(skb, CTA_SYNPROXY | NLA_F_NESTED); in ctnetlink_dump_ct_synproxy()
[all …]
Dnft_tunnel.c403 nest = nla_nest_start(skb, NFTA_TUNNEL_KEY_IP6); in nft_tunnel_ip_dump()
414 nest = nla_nest_start(skb, NFTA_TUNNEL_KEY_IP); in nft_tunnel_ip_dump()
434 nest = nla_nest_start(skb, NFTA_TUNNEL_KEY_OPTS); in nft_tunnel_opts_dump()
Dnfnetlink_cthelper.c465 nest_parms = nla_nest_start(skb, NFCTH_TUPLE | NLA_F_NESTED); in nfnl_cthelper_dump_tuple()
490 nest_parms1 = nla_nest_start(skb, NFCTH_POLICY | NLA_F_NESTED); in nfnl_cthelper_dump_policy()
499 nest_parms2 = nla_nest_start(skb, in nfnl_cthelper_dump_policy()
/Linux-v4.19/net/netlink/
Dgenetlink.c667 nla_ops = nla_nest_start(skb, CTRL_ATTR_OPS); in ctrl_fill_info()
683 nest = nla_nest_start(skb, i + 1); in ctrl_fill_info()
701 nla_grps = nla_nest_start(skb, CTRL_ATTR_MCAST_GROUPS); in ctrl_fill_info()
711 nest = nla_nest_start(skb, i + 1); in ctrl_fill_info()
751 nla_grps = nla_nest_start(skb, CTRL_ATTR_MCAST_GROUPS); in ctrl_fill_mcgrp_info()
755 nest = nla_nest_start(skb, 1); in ctrl_fill_mcgrp_info()
/Linux-v4.19/net/8021q/
Dvlan_netlink.c229 nest = nla_nest_start(skb, IFLA_VLAN_INGRESS_QOS); in vlan_fill_info()
247 nest = nla_nest_start(skb, IFLA_VLAN_EGRESS_QOS); in vlan_fill_info()
/Linux-v4.19/net/wireless/
Dnl80211.c660 nla_nest_start(msg, NL80211_FREQUENCY_ATTR_WMM); in nl80211_msg_put_wmm_rules()
666 struct nlattr *nl_wmm_rule = nla_nest_start(msg, j); in nl80211_msg_put_wmm_rules()
795 txqattr = nla_nest_start(msg, attrtype); in nl80211_put_txq_stats()
1116 struct nlattr *nl_modes = nla_nest_start(msg, attr); in nl80211_put_iftypes()
1144 nl_combis = nla_nest_start(msg, in nl80211_put_iface_combinations()
1155 nl_combi = nla_nest_start(msg, i + 1); in nl80211_put_iface_combinations()
1159 nl_limits = nla_nest_start(msg, NL80211_IFACE_COMB_LIMITS); in nl80211_put_iface_combinations()
1166 nl_limit = nla_nest_start(msg, j + 1); in nl80211_put_iface_combinations()
1219 nl_tcp = nla_nest_start(msg, NL80211_WOWLAN_TRIG_TCP_CONNECTION); in nl80211_send_wowlan_tcp_caps()
1259 nl_wowlan = nla_nest_start(msg, NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED); in nl80211_send_wowlan()
[all …]
/Linux-v4.19/net/sched/
Dematch.c443 top_start = nla_nest_start(skb, tlv); in tcf_em_tree_dump()
450 list_start = nla_nest_start(skb, TCA_EMATCH_TREE_LIST); in tcf_em_tree_dump()
Dact_api.c216 nest = nla_nest_start(skb, n_i); in tcf_dump_walker()
259 nest = nla_nest_start(skb, 0); in tcf_del_walker()
723 nest = nla_nest_start(skb, TCA_OPTIONS); in tcf_action_dump_1()
747 nest = nla_nest_start(skb, a->order); in tcf_action_dump()
1014 nest = nla_nest_start(skb, TCA_ACT_TAB); in tca_get_fill()
1136 nest = nla_nest_start(skb, TCA_ACT_TAB); in tca_action_flush()
1468 nest = nla_nest_start(skb, TCA_ACT_TAB); in tc_dump_action()
Dact_pedit.c110 struct nlattr *keys_start = nla_nest_start(skb, TCA_PEDIT_KEYS_EX); in tcf_pedit_key_ex_dump()
117 key_start = nla_nest_start(skb, TCA_PEDIT_KEY_EX); in tcf_pedit_key_ex_dump()
/Linux-v4.19/drivers/net/
Dmacsec.c2367 struct nlattr *secy_nest = nla_nest_start(skb, MACSEC_ATTR_SECY); in nla_put_secy()
2436 attr = nla_nest_start(skb, MACSEC_ATTR_TXSC_STATS); in dump_secy()
2445 attr = nla_nest_start(skb, MACSEC_ATTR_SECY_STATS); in dump_secy()
2454 txsa_list = nla_nest_start(skb, MACSEC_ATTR_TXSA_LIST); in dump_secy()
2464 txsa_nest = nla_nest_start(skb, j++); in dump_secy()
2479 attr = nla_nest_start(skb, MACSEC_SA_ATTR_STATS); in dump_secy()
2497 rxsc_list = nla_nest_start(skb, MACSEC_ATTR_RXSC_LIST); in dump_secy()
2505 struct nlattr *rxsc_nest = nla_nest_start(skb, j++); in dump_secy()
2520 attr = nla_nest_start(skb, MACSEC_RXSC_ATTR_STATS); in dump_secy()
2534 rxsa_list = nla_nest_start(skb, MACSEC_RXSC_ATTR_SA_LIST); in dump_secy()
[all …]

12345