/linux/drivers/thermal/ |
A D | thermal_netlink.c | 83 if (nla_put_u32(skb, THERMAL_GENL_ATTR_TZ_ID, id)) in thermal_genl_sampling_temp() 86 if (nla_put_u32(skb, THERMAL_GENL_ATTR_TZ_TEMP, temp)) in thermal_genl_sampling_temp() 115 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_tz() 156 nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, in thermal_genl_event_cdev_add() 158 nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_MAX_STATE, in thermal_genl_event_cdev_add() 175 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, in thermal_genl_event_cdev_state_update() 177 nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_CUR_STATE, in thermal_genl_event_cdev_state_update() 366 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, tz->id) || in __thermal_genl_cmd_tz_get_id() 466 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, id) || in thermal_genl_cmd_tz_get_temp() 467 nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_TEMP, temp)) in thermal_genl_cmd_tz_get_temp() [all …]
|
/linux/net/bridge/ |
A D | br_cfm_netlink.c | 541 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_CC_RDI_RDI, in br_cfm_config_fill_info() 594 if (nla_put_u32(skb, in br_cfm_config_fill_info() 633 if (nla_put_u32(skb, in br_cfm_status_fill_info() 638 if (nla_put_u32(skb, in br_cfm_status_fill_info() 643 if (nla_put_u32(skb, in br_cfm_status_fill_info() 664 if (nla_put_u32(skb, in br_cfm_status_fill_info() 669 if (nla_put_u32(skb, in br_cfm_status_fill_info() 674 if (nla_put_u32(skb, in br_cfm_status_fill_info() 693 if (nla_put_u32(skb, in br_cfm_status_fill_info() 698 if (nla_put_u32(skb, in br_cfm_status_fill_info() [all …]
|
A D | br_mrp_netlink.c | 463 if (nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_RING_ID, in br_mrp_fill_info() 468 if (p && nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_P_IFINDEX, in br_mrp_fill_info() 473 if (p && nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_S_IFINDEX, in br_mrp_fill_info() 478 if (p && nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_I_IFINDEX, in br_mrp_fill_info() 485 if (nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_RING_STATE, in br_mrp_fill_info() 488 if (nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_RING_ROLE, in br_mrp_fill_info() 491 if (nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_TEST_INTERVAL, in br_mrp_fill_info() 494 if (nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_TEST_MAX_MISS, in br_mrp_fill_info() 497 if (nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_TEST_MONITOR, in br_mrp_fill_info() 501 if (nla_put_u32(skb, IFLA_BRIDGE_MRP_INFO_IN_STATE, in br_mrp_fill_info() [all …]
|
/linux/net/mptcp/ |
A D | diag.c | 53 if (nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_TOKEN_REM, sf->remote_token) || in subflow_get_info() 54 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_TOKEN_LOC, sf->token) || in subflow_get_info() 55 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ, in subflow_get_info() 59 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_MAP_SFSEQ, in subflow_get_info() 61 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_SSN_OFFSET, sf->ssn_offset) || in subflow_get_info() 64 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_FLAGS, flags) || in subflow_get_info()
|
/linux/net/ethtool/ |
A D | rings.c | 63 (nla_put_u32(skb, ETHTOOL_A_RINGS_RX_MAX, in rings_fill_reply() 65 nla_put_u32(skb, ETHTOOL_A_RINGS_RX, in rings_fill_reply() 68 (nla_put_u32(skb, ETHTOOL_A_RINGS_RX_MINI_MAX, in rings_fill_reply() 70 nla_put_u32(skb, ETHTOOL_A_RINGS_RX_MINI, in rings_fill_reply() 73 (nla_put_u32(skb, ETHTOOL_A_RINGS_RX_JUMBO_MAX, in rings_fill_reply() 75 nla_put_u32(skb, ETHTOOL_A_RINGS_RX_JUMBO, in rings_fill_reply() 78 (nla_put_u32(skb, ETHTOOL_A_RINGS_TX_MAX, in rings_fill_reply() 80 nla_put_u32(skb, ETHTOOL_A_RINGS_TX, in rings_fill_reply()
|
A D | channels.c | 65 (nla_put_u32(skb, ETHTOOL_A_CHANNELS_RX_MAX, in channels_fill_reply() 67 nla_put_u32(skb, ETHTOOL_A_CHANNELS_RX_COUNT, in channels_fill_reply() 70 (nla_put_u32(skb, ETHTOOL_A_CHANNELS_TX_MAX, in channels_fill_reply() 72 nla_put_u32(skb, ETHTOOL_A_CHANNELS_TX_COUNT, in channels_fill_reply() 75 (nla_put_u32(skb, ETHTOOL_A_CHANNELS_OTHER_MAX, in channels_fill_reply() 77 nla_put_u32(skb, ETHTOOL_A_CHANNELS_OTHER_COUNT, in channels_fill_reply() 80 (nla_put_u32(skb, ETHTOOL_A_CHANNELS_COMBINED_MAX, in channels_fill_reply() 82 nla_put_u32(skb, ETHTOOL_A_CHANNELS_COMBINED_COUNT, in channels_fill_reply()
|
/linux/drivers/infiniband/core/ |
A D | nldev.c | 179 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_DRIVER_U32, value)) in _rdma_nl_put_driver_u32() 319 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_PORT_INDEX, port)) in fill_port_info() 337 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_LID, attr.lid)) in fill_port_info() 351 ret = nla_put_u32(msg, in fill_port_info() 455 err = nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_PID, pid); in fill_res_name_pid() 475 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_RQPN, in fill_res_qp_entry_query() 478 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_RQ_PSN, in fill_res_qp_entry_query() 621 nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_CTXN, in fill_res_cq_entry() 708 nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_CTXN, in fill_res_pd_entry() 832 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_CQN, in fill_res_srq_entry() [all …]
|
/linux/net/nfc/ |
A D | netlink.c | 186 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_targets_found() 243 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_tm_activated() 245 if (nla_put_u32(msg, NFC_ATTR_TM_PROTOCOLS, protocol)) in nfc_genl_tm_activated() 274 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_tm_deactivated() 343 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_device_removed() 377 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_llc_send_sdres() 439 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se_idx) || in nfc_genl_se_added() 470 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se_idx)) in nfc_genl_se_removed() 506 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se_idx) || in nfc_genl_se_transaction() 551 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se_idx) || in nfc_genl_se_connectivity() [all …]
|
/linux/fs/quota/ |
A D | netlink.c | 63 ret = nla_put_u32(skb, QUOTA_NL_A_QTYPE, qid.type); in quota_send_warning() 71 ret = nla_put_u32(skb, QUOTA_NL_A_WARNING, warntype); in quota_send_warning() 74 ret = nla_put_u32(skb, QUOTA_NL_A_DEV_MAJOR, MAJOR(dev)); in quota_send_warning() 77 ret = nla_put_u32(skb, QUOTA_NL_A_DEV_MINOR, MINOR(dev)); in quota_send_warning()
|
/linux/net/sched/ |
A D | sch_fq_pie.c | 457 if (nla_put_u32(skb, TCA_FQ_PIE_LIMIT, sch->limit) || in fq_pie_dump() 458 nla_put_u32(skb, TCA_FQ_PIE_FLOWS, q->flows_cnt) || in fq_pie_dump() 459 nla_put_u32(skb, TCA_FQ_PIE_TARGET, in fq_pie_dump() 462 nla_put_u32(skb, TCA_FQ_PIE_TUPDATE, in fq_pie_dump() 464 nla_put_u32(skb, TCA_FQ_PIE_ALPHA, q->p_params.alpha) || in fq_pie_dump() 465 nla_put_u32(skb, TCA_FQ_PIE_BETA, q->p_params.beta) || in fq_pie_dump() 466 nla_put_u32(skb, TCA_FQ_PIE_QUANTUM, q->quantum) || in fq_pie_dump() 467 nla_put_u32(skb, TCA_FQ_PIE_MEMORY_LIMIT, q->memory_limit) || in fq_pie_dump() 468 nla_put_u32(skb, TCA_FQ_PIE_ECN_PROB, q->ecn_prob) || in fq_pie_dump() 469 nla_put_u32(skb, TCA_FQ_PIE_ECN, q->p_params.ecn) || in fq_pie_dump() [all …]
|
A D | sch_pie.c | 471 if (nla_put_u32(skb, TCA_PIE_TARGET, in pie_dump() 474 nla_put_u32(skb, TCA_PIE_LIMIT, sch->limit) || in pie_dump() 475 nla_put_u32(skb, TCA_PIE_TUPDATE, in pie_dump() 477 nla_put_u32(skb, TCA_PIE_ALPHA, q->params.alpha) || in pie_dump() 478 nla_put_u32(skb, TCA_PIE_BETA, q->params.beta) || in pie_dump() 479 nla_put_u32(skb, TCA_PIE_ECN, q->params.ecn) || in pie_dump() 480 nla_put_u32(skb, TCA_PIE_BYTEMODE, q->params.bytemode) || in pie_dump() 481 nla_put_u32(skb, TCA_PIE_DQ_RATE_ESTIMATOR, in pie_dump()
|
A D | sch_codel.c | 225 if (nla_put_u32(skb, TCA_CODEL_TARGET, in codel_dump() 227 nla_put_u32(skb, TCA_CODEL_LIMIT, in codel_dump() 229 nla_put_u32(skb, TCA_CODEL_INTERVAL, in codel_dump() 231 nla_put_u32(skb, TCA_CODEL_ECN, in codel_dump() 235 nla_put_u32(skb, TCA_CODEL_CE_THRESHOLD, in codel_dump()
|
A D | sch_fq.c | 982 if (nla_put_u32(skb, TCA_FQ_PLIMIT, sch->limit) || in fq_dump() 983 nla_put_u32(skb, TCA_FQ_FLOW_PLIMIT, q->flow_plimit) || in fq_dump() 984 nla_put_u32(skb, TCA_FQ_QUANTUM, q->quantum) || in fq_dump() 986 nla_put_u32(skb, TCA_FQ_RATE_ENABLE, q->rate_enable) || in fq_dump() 987 nla_put_u32(skb, TCA_FQ_FLOW_MAX_RATE, in fq_dump() 989 nla_put_u32(skb, TCA_FQ_FLOW_REFILL_DELAY, in fq_dump() 991 nla_put_u32(skb, TCA_FQ_ORPHAN_MASK, q->orphan_mask) || in fq_dump() 992 nla_put_u32(skb, TCA_FQ_LOW_RATE_THRESHOLD, in fq_dump() 995 nla_put_u32(skb, TCA_FQ_BUCKETS_LOG, q->fq_trees_log) || in fq_dump() 996 nla_put_u32(skb, TCA_FQ_TIMER_SLACK, q->timer_slack) || in fq_dump() [all …]
|
A D | cls_flow.c | 633 if (nla_put_u32(skb, TCA_FLOW_KEYS, f->keymask) || in flow_dump() 634 nla_put_u32(skb, TCA_FLOW_MODE, f->mode)) in flow_dump() 638 if (nla_put_u32(skb, TCA_FLOW_MASK, f->mask) || in flow_dump() 639 nla_put_u32(skb, TCA_FLOW_XOR, f->xor)) in flow_dump() 643 nla_put_u32(skb, TCA_FLOW_RSHIFT, f->rshift)) in flow_dump() 646 nla_put_u32(skb, TCA_FLOW_ADDEND, f->addend)) in flow_dump() 650 nla_put_u32(skb, TCA_FLOW_DIVISOR, f->divisor)) in flow_dump() 653 nla_put_u32(skb, TCA_FLOW_BASECLASS, f->baseclass)) in flow_dump() 657 nla_put_u32(skb, TCA_FLOW_PERTURB, f->perturb_period / HZ)) in flow_dump()
|
/linux/net/hsr/ |
A D | hsr_netlink.c | 129 if (nla_put_u32(skb, IFLA_HSR_SLAVE1, port->dev->ifindex)) in hsr_fill_info() 135 if (nla_put_u32(skb, IFLA_HSR_SLAVE2, port->dev->ifindex)) in hsr_fill_info() 207 res = nla_put_u32(skb, HSR_A_IFINDEX, port->dev->ifindex); in hsr_nl_ringerror() 323 res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); in hsr_get_node_status() 351 res = nla_put_u32(skb_out, HSR_A_ADDR_B_IFINDEX, in hsr_get_node_status() 357 res = nla_put_u32(skb_out, HSR_A_IF1_AGE, hsr_node_if1_age); in hsr_get_node_status() 365 res = nla_put_u32(skb_out, HSR_A_IF1_IFINDEX, in hsr_get_node_status() 370 res = nla_put_u32(skb_out, HSR_A_IF2_AGE, hsr_node_if2_age); in hsr_get_node_status() 378 res = nla_put_u32(skb_out, HSR_A_IF2_IFINDEX, in hsr_get_node_status() 451 res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); in hsr_get_node_list()
|
/linux/drivers/net/bonding/ |
A D | bond_netlink.c | 44 if (nla_put_u32(skb, IFLA_BOND_SLAVE_LINK_FAILURE_COUNT, in bond_fill_slave_info() 549 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info() 552 if (nla_put_u32(skb, IFLA_BOND_UPDELAY, in bond_fill_info() 556 if (nla_put_u32(skb, IFLA_BOND_DOWNDELAY, in bond_fill_info() 560 if (nla_put_u32(skb, IFLA_BOND_PEER_NOTIF_DELAY, in bond_fill_info() 591 if (nla_put_u32(skb, IFLA_BOND_ARP_ALL_TARGETS, in bond_fill_info() 597 nla_put_u32(skb, IFLA_BOND_PRIMARY, primary->dev->ifindex)) in bond_fill_info() 612 if (nla_put_u32(skb, IFLA_BOND_RESEND_IGMP, in bond_fill_info() 624 if (nla_put_u32(skb, IFLA_BOND_MIN_LINKS, in bond_fill_info() 628 if (nla_put_u32(skb, IFLA_BOND_LP_INTERVAL, in bond_fill_info() [all …]
|
/linux/net/ncsi/ |
A D | ncsi-netlink.c | 66 nla_put_u32(skb, NCSI_CHANNEL_ATTR_ID, nc->id); in ncsi_write_channel_info() 68 nla_put_u32(skb, NCSI_CHANNEL_ATTR_LINK_STATE, m->data[2]); in ncsi_write_channel_info() 115 rc = nla_put_u32(skb, NCSI_PKG_ATTR_ID, np->id); in ncsi_write_package_info() 504 nla_put_u32(skb, NCSI_ATTR_IFINDEX, nr->rsp->dev->ifindex); in ncsi_send_netlink_rsp() 506 nla_put_u32(skb, NCSI_ATTR_PACKAGE_ID, np->id); in ncsi_send_netlink_rsp() 508 nla_put_u32(skb, NCSI_ATTR_CHANNEL_ID, nc->id); in ncsi_send_netlink_rsp() 510 nla_put_u32(skb, NCSI_ATTR_CHANNEL_ID, NCSI_RESERVED_CHANNEL); in ncsi_send_netlink_rsp() 545 nla_put_u32(skb, NCSI_ATTR_IFINDEX, nr->cmd->dev->ifindex); in ncsi_send_netlink_timeout() 548 nla_put_u32(skb, NCSI_ATTR_PACKAGE_ID, np->id); in ncsi_send_netlink_timeout() 550 nla_put_u32(skb, NCSI_ATTR_PACKAGE_ID, in ncsi_send_netlink_timeout() [all …]
|
/linux/drivers/net/can/dev/ |
A D | netlink.c | 437 (nla_put_u32(skb, IFLA_CAN_TDC_TDCV_MIN, tdc_const->tdcv_min) || in can_tdc_fill_info() 438 nla_put_u32(skb, IFLA_CAN_TDC_TDCV_MAX, tdc_const->tdcv_max))) in can_tdc_fill_info() 440 if (nla_put_u32(skb, IFLA_CAN_TDC_TDCO_MIN, tdc_const->tdco_min) || in can_tdc_fill_info() 441 nla_put_u32(skb, IFLA_CAN_TDC_TDCO_MAX, tdc_const->tdco_max)) in can_tdc_fill_info() 444 (nla_put_u32(skb, IFLA_CAN_TDC_TDCF_MIN, tdc_const->tdcf_min) || in can_tdc_fill_info() 445 nla_put_u32(skb, IFLA_CAN_TDC_TDCF_MAX, tdc_const->tdcf_max))) in can_tdc_fill_info() 458 if (!err && nla_put_u32(skb, IFLA_CAN_TDC_TDCV, tdcv)) in can_tdc_fill_info() 460 if (nla_put_u32(skb, IFLA_CAN_TDC_TDCO, tdc->tdco)) in can_tdc_fill_info() 463 nla_put_u32(skb, IFLA_CAN_TDC_TDCF, tdc->tdcf)) in can_tdc_fill_info() 494 nla_put_u32(skb, IFLA_CAN_STATE, state) || in can_fill_info() [all …]
|
/linux/net/batman-adv/ |
A D | netlink.c | 266 if (nla_put_u32(msg, BATADV_ATTR_HARD_IFINDEX, in batadv_netlink_mesh_fill() 282 if (nla_put_u32(msg, BATADV_ATTR_ISOLATION_MARK, in batadv_netlink_mesh_fill() 286 if (nla_put_u32(msg, BATADV_ATTR_ISOLATION_MASK, in batadv_netlink_mesh_fill() 314 if (nla_put_u32(msg, BATADV_ATTR_GW_BANDWIDTH_UP, in batadv_netlink_mesh_fill() 327 if (nla_put_u32(msg, BATADV_ATTR_GW_SEL_CLASS, in batadv_netlink_mesh_fill() 337 if (nla_put_u32(msg, BATADV_ATTR_LOG_LEVEL, in batadv_netlink_mesh_fill() 358 if (nla_put_u32(msg, BATADV_ATTR_ORIG_INTERVAL, in batadv_netlink_mesh_fill() 811 if (nla_put_u32(msg, BATADV_ATTR_MESH_IFINDEX, in batadv_netlink_hardif_fill() 819 if (nla_put_u32(msg, BATADV_ATTR_HARD_IFINDEX, in batadv_netlink_hardif_fill() 837 if (nla_put_u32(msg, BATADV_ATTR_ELP_INTERVAL, in batadv_netlink_hardif_fill() [all …]
|
A D | bat_v.c | 150 nla_put_u32(msg, BATADV_ATTR_HARD_IFINDEX, in batadv_v_neigh_dump_neigh() 152 nla_put_u32(msg, BATADV_ATTR_LAST_SEEN_MSECS, in batadv_v_neigh_dump_neigh() 154 nla_put_u32(msg, BATADV_ATTR_THROUGHPUT, throughput)) in batadv_v_neigh_dump_neigh() 304 nla_put_u32(msg, BATADV_ATTR_HARD_IFINDEX, in batadv_v_orig_dump_subentry() 306 nla_put_u32(msg, BATADV_ATTR_THROUGHPUT, throughput) || in batadv_v_orig_dump_subentry() 307 nla_put_u32(msg, BATADV_ATTR_LAST_SEEN_MSECS, in batadv_v_orig_dump_subentry() 722 if (nla_put_u32(msg, BATADV_ATTR_THROUGHPUT, in batadv_v_gw_dump_entry() 739 if (nla_put_u32(msg, BATADV_ATTR_HARD_IFINDEX, in batadv_v_gw_dump_entry() 745 if (nla_put_u32(msg, BATADV_ATTR_BANDWIDTH_DOWN, in batadv_v_gw_dump_entry() 751 if (nla_put_u32(msg, BATADV_ATTR_BANDWIDTH_UP, gw_node->bandwidth_up)) { in batadv_v_gw_dump_entry()
|
/linux/net/netlink/ |
A D | policy.c | 268 (nla_put_u32(skb, NL_POLICY_TYPE_ATTR_POLICY_IDX, in __netlink_policy_dump_write_attr() 272 nla_put_u32(skb, NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE, in __netlink_policy_dump_write_attr() 335 if (nla_put_u32(skb, NL_POLICY_TYPE_ATTR_BITFIELD32_MASK, in __netlink_policy_dump_write_attr() 356 nla_put_u32(skb, NL_POLICY_TYPE_ATTR_MIN_LENGTH, in __netlink_policy_dump_write_attr() 361 nla_put_u32(skb, NL_POLICY_TYPE_ATTR_MAX_LENGTH, in __netlink_policy_dump_write_attr() 365 nla_put_u32(skb, NL_POLICY_TYPE_ATTR_MAX_LENGTH, in __netlink_policy_dump_write_attr() 375 if (nla_put_u32(skb, NL_POLICY_TYPE_ATTR_TYPE, type)) in __netlink_policy_dump_write_attr()
|
/linux/net/netlabel/ |
A D | netlabel_mgmt.c | 329 ret_val = nla_put_u32(skb, NLBL_MGMT_A_PROTOCOL, in netlbl_mgmt_listentry() 335 ret_val = nla_put_u32(skb, NLBL_MGMT_A_CV4DOI, in netlbl_mgmt_listentry() 362 ret_val = nla_put_u32(skb, NLBL_MGMT_A_PROTOCOL, in netlbl_mgmt_listentry() 369 ret_val = nla_put_u32(skb, NLBL_MGMT_A_CLPDOI, in netlbl_mgmt_listentry() 383 ret_val = nla_put_u32(skb, NLBL_MGMT_A_PROTOCOL, in netlbl_mgmt_listentry() 387 ret_val = nla_put_u32(skb, NLBL_MGMT_A_PROTOCOL, in netlbl_mgmt_listentry() 391 ret_val = nla_put_u32(skb, NLBL_MGMT_A_CV4DOI, in netlbl_mgmt_listentry() 395 ret_val = nla_put_u32(skb, NLBL_MGMT_A_PROTOCOL, in netlbl_mgmt_listentry() 399 ret_val = nla_put_u32(skb, NLBL_MGMT_A_CLPDOI, in netlbl_mgmt_listentry() 663 ret_val = nla_put_u32(skb, NLBL_MGMT_A_PROTOCOL, protocol); in netlbl_mgmt_protocols_cb() [all …]
|
/linux/net/wireless/ |
A D | nl80211.c | 1099 if (nla_put_u32(msg, in nl80211_msg_put_channel() 2376 if (nla_put_u32(msg, in nl80211_send_wiphy() 2379 nla_put_u32(msg, in nl80211_send_wiphy() 2522 nla_put_u32(msg, in nl80211_send_wiphy() 2769 nla_put_u32(msg, NL80211_ATTR_IFTYPE, in nl80211_send_wiphy() 2790 if (nla_put_u32(msg, NL80211_ATTR_BANDS, in nl80211_send_wiphy() 9691 nla_put_u32(msg, NL80211_BSS_STATUS, in nl80211_send_bss() 9697 nla_put_u32(msg, NL80211_BSS_STATUS, in nl80211_send_bss() 10687 nla_put_u32(skb, NL80211_ATTR_IFINDEX, in __cfg80211_alloc_vendor_skb() 16235 if (nla_put_u32(msg, i, in nl80211_add_scan_req() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | testmode.c | 51 ret = nla_put_u32(nl_skb, ATH11K_TM_ATTR_CMD, ATH11K_TM_CMD_WMI); in ath11k_tm_event_wmi() 60 ret = nla_put_u32(nl_skb, ATH11K_TM_ATTR_WMI_CMDID, cmd_id); in ath11k_tm_event_wmi() 101 ret = nla_put_u32(skb, ATH11K_TM_ATTR_VERSION_MAJOR, in ath11k_tm_cmd_get_version() 108 ret = nla_put_u32(skb, ATH11K_TM_ATTR_VERSION_MINOR, in ath11k_tm_cmd_get_version()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | testmode.c | 539 if (nla_put_u32(msg, MT76_TM_STATS_ATTR_TX_PENDING, td->tx_pending) || in mt76_testmode_dump_stats() 540 nla_put_u32(msg, MT76_TM_STATS_ATTR_TX_QUEUED, td->tx_queued) || in mt76_testmode_dump_stats() 541 nla_put_u32(msg, MT76_TM_STATS_ATTR_TX_DONE, td->tx_done) || in mt76_testmode_dump_stats() 592 if (nla_put_u32(msg, MT76_TM_ATTR_STATE, td->state)) in mt76_testmode_dump() 597 nla_put_u32(msg, MT76_TM_ATTR_MTD_OFFSET, dev->test_mtd.offset))) in mt76_testmode_dump() 600 if (nla_put_u32(msg, MT76_TM_ATTR_TX_COUNT, td->tx_count) || in mt76_testmode_dump() 601 nla_put_u32(msg, MT76_TM_ATTR_TX_LENGTH, td->tx_mpdu_len) || in mt76_testmode_dump() 617 nla_put_u32(msg, MT76_TM_ATTR_TX_IPG, td->tx_ipg)) || in mt76_testmode_dump() 619 nla_put_u32(msg, MT76_TM_ATTR_TX_TIME, td->tx_time)) || in mt76_testmode_dump()
|