/openbmc/linux/drivers/thermal/ |
H A D | thermal_netlink.c | 90 if (nla_put_u32(skb, THERMAL_GENL_ATTR_TZ_ID, id)) in thermal_genl_sampling_temp() 93 if (nla_put_u32(skb, THERMAL_GENL_ATTR_TZ_TEMP, temp)) in thermal_genl_sampling_temp() 113 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_create() 122 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_tz() 130 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_up() 131 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_up() 132 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TEMP, p->temp)) in thermal_genl_event_tz_trip_up() 140 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_add() 141 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_add() 142 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TYPE, p->trip_type) || in thermal_genl_event_tz_trip_add() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_cfm_netlink.c | 466 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_MEP_CREATE_INSTANCE, in br_cfm_config_fill_info() 470 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_MEP_CREATE_DOMAIN, in br_cfm_config_fill_info() 474 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_MEP_CREATE_DIRECTION, in br_cfm_config_fill_info() 478 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_MEP_CREATE_IFINDEX, in br_cfm_config_fill_info() 489 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_MEP_CONFIG_INSTANCE, in br_cfm_config_fill_info() 498 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_MEP_CONFIG_MDLEVEL, in br_cfm_config_fill_info() 502 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_MEP_CONFIG_MEPID, in br_cfm_config_fill_info() 513 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_CC_CONFIG_INSTANCE, in br_cfm_config_fill_info() 517 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_CC_CONFIG_ENABLE, in br_cfm_config_fill_info() 521 if (nla_put_u32(skb, IFLA_BRIDGE_CFM_CC_CONFIG_EXP_INTERVAL, in br_cfm_config_fill_info() [all …]
|
H 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 …]
|
/openbmc/linux/net/ethtool/ |
H A D | rings.c | 79 (nla_put_u32(skb, ETHTOOL_A_RINGS_RX_MAX, in rings_fill_reply() 81 nla_put_u32(skb, ETHTOOL_A_RINGS_RX, in rings_fill_reply() 84 (nla_put_u32(skb, ETHTOOL_A_RINGS_RX_MINI_MAX, in rings_fill_reply() 86 nla_put_u32(skb, ETHTOOL_A_RINGS_RX_MINI, in rings_fill_reply() 89 (nla_put_u32(skb, ETHTOOL_A_RINGS_RX_JUMBO_MAX, in rings_fill_reply() 91 nla_put_u32(skb, ETHTOOL_A_RINGS_RX_JUMBO, in rings_fill_reply() 94 (nla_put_u32(skb, ETHTOOL_A_RINGS_TX_MAX, in rings_fill_reply() 96 nla_put_u32(skb, ETHTOOL_A_RINGS_TX, in rings_fill_reply() 99 (nla_put_u32(skb, ETHTOOL_A_RINGS_RX_BUF_LEN, kr->rx_buf_len))) || in rings_fill_reply() 104 (nla_put_u32(skb, ETHTOOL_A_RINGS_CQE_SIZE, kr->cqe_size))) || in rings_fill_reply() [all …]
|
H 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()
|
H A D | plca.c | 114 nla_put_u32(skb, ETHTOOL_A_PLCA_NODE_ID, plca->node_id)) || in plca_get_cfg_fill_reply() 116 nla_put_u32(skb, ETHTOOL_A_PLCA_NODE_CNT, plca->node_cnt)) || in plca_get_cfg_fill_reply() 118 nla_put_u32(skb, ETHTOOL_A_PLCA_TO_TMR, plca->to_tmr)) || in plca_get_cfg_fill_reply() 120 nla_put_u32(skb, ETHTOOL_A_PLCA_BURST_CNT, plca->burst_cnt)) || in plca_get_cfg_fill_reply() 122 nla_put_u32(skb, ETHTOOL_A_PLCA_BURST_TMR, plca->burst_tmr))) in plca_get_cfg_fill_reply()
|
/openbmc/linux/net/mptcp/ |
H A D | diag.c | 58 if (nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_TOKEN_REM, sf->remote_token) || in subflow_get_info() 59 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_TOKEN_LOC, sf->token) || in subflow_get_info() 60 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ, in subflow_get_info() 64 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_MAP_SFSEQ, in subflow_get_info() 66 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_SSN_OFFSET, sf->ssn_offset) || in subflow_get_info() 69 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_FLAGS, flags) || in subflow_get_info()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | nldev.c | 179 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_DRIVER_U32, value)) in _rdma_nl_put_driver_u32() 242 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_DEV_INDEX, device->index)) in fill_nldev_handle() 260 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_PORT_INDEX, rdma_end_port(device))) in fill_dev_info() 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() 339 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_SM_LID, attr.sm_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() [all …]
|
/openbmc/linux/fs/quota/ |
H 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()
|
/openbmc/linux/net/nfc/ |
H A D | netlink.c | 73 if (nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target->idx) || in nfc_genl_send_target() 74 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || in nfc_genl_send_target() 186 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_targets_found() 214 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx)) in nfc_genl_target_lost() 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() 292 nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx) || in nfc_genl_setup_device_added() 293 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, dev->supported_protocols) || in nfc_genl_setup_device_added() 343 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_device_removed() [all …]
|
/openbmc/linux/net/hsr/ |
H 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()
|
/openbmc/linux/drivers/net/can/dev/ |
H A D | netlink.c | 482 (nla_put_u32(skb, IFLA_CAN_TDC_TDCV_MIN, tdc_const->tdcv_min) || in can_tdc_fill_info() 483 nla_put_u32(skb, IFLA_CAN_TDC_TDCV_MAX, tdc_const->tdcv_max))) in can_tdc_fill_info() 485 if (nla_put_u32(skb, IFLA_CAN_TDC_TDCO_MIN, tdc_const->tdco_min) || in can_tdc_fill_info() 486 nla_put_u32(skb, IFLA_CAN_TDC_TDCO_MAX, tdc_const->tdco_max)) in can_tdc_fill_info() 489 (nla_put_u32(skb, IFLA_CAN_TDC_TDCF_MIN, tdc_const->tdcf_min) || in can_tdc_fill_info() 490 nla_put_u32(skb, IFLA_CAN_TDC_TDCF_MAX, tdc_const->tdcf_max))) in can_tdc_fill_info() 503 if (!err && nla_put_u32(skb, IFLA_CAN_TDC_TDCV, tdcv)) in can_tdc_fill_info() 505 if (nla_put_u32(skb, IFLA_CAN_TDC_TDCO, tdc->tdco)) in can_tdc_fill_info() 508 nla_put_u32(skb, IFLA_CAN_TDC_TDCF, tdc->tdcf)) in can_tdc_fill_info() 529 if (nla_put_u32(skb, IFLA_CAN_CTRLMODE_SUPPORTED, in can_ctrlmode_ext_fill_info() [all …]
|
/openbmc/linux/net/sched/ |
H A D | sch_fq_pie.c | 473 if (nla_put_u32(skb, TCA_FQ_PIE_LIMIT, sch->limit) || in fq_pie_dump() 474 nla_put_u32(skb, TCA_FQ_PIE_FLOWS, q->flows_cnt) || in fq_pie_dump() 475 nla_put_u32(skb, TCA_FQ_PIE_TARGET, in fq_pie_dump() 478 nla_put_u32(skb, TCA_FQ_PIE_TUPDATE, in fq_pie_dump() 480 nla_put_u32(skb, TCA_FQ_PIE_ALPHA, q->p_params.alpha) || in fq_pie_dump() 481 nla_put_u32(skb, TCA_FQ_PIE_BETA, q->p_params.beta) || in fq_pie_dump() 482 nla_put_u32(skb, TCA_FQ_PIE_QUANTUM, q->quantum) || in fq_pie_dump() 483 nla_put_u32(skb, TCA_FQ_PIE_MEMORY_LIMIT, q->memory_limit) || in fq_pie_dump() 484 nla_put_u32(skb, TCA_FQ_PIE_ECN_PROB, q->ecn_prob) || in fq_pie_dump() 485 nla_put_u32(skb, TCA_FQ_PIE_ECN, q->p_params.ecn) || in fq_pie_dump() [all …]
|
H 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()
|
H A D | sch_codel.c | 222 if (nla_put_u32(skb, TCA_CODEL_TARGET, in codel_dump() 224 nla_put_u32(skb, TCA_CODEL_LIMIT, in codel_dump() 226 nla_put_u32(skb, TCA_CODEL_INTERVAL, in codel_dump() 228 nla_put_u32(skb, TCA_CODEL_ECN, in codel_dump() 232 nla_put_u32(skb, TCA_CODEL_CE_THRESHOLD, in codel_dump()
|
/openbmc/linux/net/ncsi/ |
H 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() 74 nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MAJOR, nc->version.major); in ncsi_write_channel_info() 75 nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MINOR, nc->version.minor); 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() [all …]
|
/openbmc/linux/net/netlink/ |
H A D | policy.c | 278 (nla_put_u32(skb, NL_POLICY_TYPE_ATTR_POLICY_IDX, in __netlink_policy_dump_write_attr() 282 nla_put_u32(skb, NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE, in __netlink_policy_dump_write_attr() 345 if (nla_put_u32(skb, NL_POLICY_TYPE_ATTR_BITFIELD32_MASK, in __netlink_policy_dump_write_attr() 366 nla_put_u32(skb, NL_POLICY_TYPE_ATTR_MIN_LENGTH, in __netlink_policy_dump_write_attr() 371 nla_put_u32(skb, NL_POLICY_TYPE_ATTR_MAX_LENGTH, in __netlink_policy_dump_write_attr() 375 nla_put_u32(skb, NL_POLICY_TYPE_ATTR_MAX_LENGTH, in __netlink_policy_dump_write_attr() 385 if (nla_put_u32(skb, NL_POLICY_TYPE_ATTR_TYPE, type)) in __netlink_policy_dump_write_attr()
|
/openbmc/linux/net/batman-adv/ |
H A D | netlink.c | 245 nla_put_u32(msg, BATADV_ATTR_MESH_IFINDEX, soft_iface->ifindex) || in batadv_netlink_mesh_fill() 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() 310 if (nla_put_u32(msg, BATADV_ATTR_GW_BANDWIDTH_DOWN, 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() 347 if (nla_put_u32(msg, BATADV_ATTR_MULTICAST_FANOUT, in batadv_netlink_mesh_fill() 358 if (nla_put_u32(msg, BATADV_ATTR_ORIG_INTERVAL, in batadv_netlink_mesh_fill() [all …]
|
H A D | bat_v.c | 148 nla_put_u32(msg, BATADV_ATTR_HARD_IFINDEX, in batadv_v_neigh_dump_neigh() 150 nla_put_u32(msg, BATADV_ATTR_LAST_SEEN_MSECS, in batadv_v_neigh_dump_neigh() 152 nla_put_u32(msg, BATADV_ATTR_THROUGHPUT, throughput)) in batadv_v_neigh_dump_neigh() 302 nla_put_u32(msg, BATADV_ATTR_HARD_IFINDEX, in batadv_v_orig_dump_subentry() 304 nla_put_u32(msg, BATADV_ATTR_THROUGHPUT, throughput) || in batadv_v_orig_dump_subentry() 305 nla_put_u32(msg, BATADV_ATTR_LAST_SEEN_MSECS, in batadv_v_orig_dump_subentry() 701 if (nla_put_u32(msg, BATADV_ATTR_THROUGHPUT, in batadv_v_gw_dump_entry() 718 if (nla_put_u32(msg, BATADV_ATTR_HARD_IFINDEX, in batadv_v_gw_dump_entry() 724 if (nla_put_u32(msg, BATADV_ATTR_BANDWIDTH_DOWN, in batadv_v_gw_dump_entry() 730 if (nla_put_u32(msg, BATADV_ATTR_BANDWIDTH_UP, gw_node->bandwidth_up)) { in batadv_v_gw_dump_entry()
|
/openbmc/linux/net/devlink/ |
H A D | dpipe.c | 71 if (nla_put_u32(skb, DEVLINK_ATTR_DPIPE_MATCH_TYPE, match->type) || in devlink_dpipe_match_put() 72 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_HEADER_INDEX, match->header_index) || in devlink_dpipe_match_put() 73 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_HEADER_ID, header->id) || in devlink_dpipe_match_put() 74 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || in devlink_dpipe_match_put() 119 if (nla_put_u32(skb, DEVLINK_ATTR_DPIPE_ACTION_TYPE, action->type) || in devlink_dpipe_action_put() 120 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_HEADER_INDEX, action->header_index) || in devlink_dpipe_action_put() 121 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_HEADER_ID, header->id) || in devlink_dpipe_action_put() 122 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || in devlink_dpipe_action_put() 316 if (nla_put_u32(skb, DEVLINK_ATTR_DPIPE_VALUE_MAPPING, in devlink_dpipe_value_put() 602 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || in devlink_dpipe_fields_put() [all …]
|
H A D | sb.c | 180 if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) in devlink_nl_sb_fill() 182 if (nla_put_u32(msg, DEVLINK_ATTR_SB_SIZE, devlink_sb->size)) in devlink_nl_sb_fill() 284 if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) in devlink_nl_sb_pool_fill() 290 if (nla_put_u32(msg, DEVLINK_ATTR_SB_POOL_SIZE, pool_info.size)) in devlink_nl_sb_pool_fill() 295 if (nla_put_u32(msg, DEVLINK_ATTR_SB_POOL_CELL_SIZE, in devlink_nl_sb_pool_fill() 471 if (nla_put_u32(msg, DEVLINK_ATTR_PORT_INDEX, devlink_port->index)) in devlink_nl_sb_port_pool_fill() 473 if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) in devlink_nl_sb_port_pool_fill() 477 if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold)) in devlink_nl_sb_port_pool_fill() 489 if (nla_put_u32(msg, DEVLINK_ATTR_SB_OCC_CUR, cur)) in devlink_nl_sb_port_pool_fill() 491 if (nla_put_u32(msg, DEVLINK_ATTR_SB_OCC_MAX, max)) in devlink_nl_sb_port_pool_fill() [all …]
|
/openbmc/linux/net/handshake/ |
H A D | tlshd.c | 157 if (nla_put_u32(msg, HANDSHAKE_A_ACCEPT_PEER_IDENTITY, in tls_handshake_put_peer_identity() 176 if (nla_put_u32(msg, HANDSHAKE_A_X509_CERT, in tls_handshake_put_certificate() 178 nla_put_u32(msg, HANDSHAKE_A_X509_PRIVKEY, in tls_handshake_put_certificate() 217 ret = nla_put_u32(msg, HANDSHAKE_A_ACCEPT_SOCKFD, fd); in tls_handshake_accept() 220 ret = nla_put_u32(msg, HANDSHAKE_A_ACCEPT_MESSAGE_TYPE, treq->th_type); in tls_handshake_accept() 230 ret = nla_put_u32(msg, HANDSHAKE_A_ACCEPT_TIMEOUT, treq->th_timeout_ms); in tls_handshake_accept() 235 ret = nla_put_u32(msg, HANDSHAKE_A_ACCEPT_AUTH_MODE, in tls_handshake_accept()
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_netlink.c | 46 if (nla_put_u32(skb, IFLA_BOND_SLAVE_LINK_FAILURE_COUNT, in bond_fill_slave_info() 646 if (ifindex && nla_put_u32(skb, IFLA_BOND_ACTIVE_SLAVE, ifindex)) in bond_fill_info() 649 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info() 652 if (nla_put_u32(skb, IFLA_BOND_UPDELAY, in bond_fill_info() 656 if (nla_put_u32(skb, IFLA_BOND_DOWNDELAY, in bond_fill_info() 660 if (nla_put_u32(skb, IFLA_BOND_PEER_NOTIF_DELAY, in bond_fill_info() 667 if (nla_put_u32(skb, IFLA_BOND_ARP_INTERVAL, bond->params.arp_interval)) in bond_fill_info() 688 if (nla_put_u32(skb, IFLA_BOND_ARP_VALIDATE, bond->params.arp_validate)) in bond_fill_info() 691 if (nla_put_u32(skb, IFLA_BOND_ARP_ALL_TARGETS, in bond_fill_info() 717 nla_put_u32(skb, IFLA_BOND_PRIMARY, primary->dev->ifindex)) in bond_fill_info() [all …]
|
/openbmc/linux/net/netlabel/ |
H 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 …]
|
/openbmc/linux/net/wireless/ |
H A D | nl80211.c | 1115 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_FREQ, in nl80211_msg_put_channel() 1119 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_OFFSET, chan->freq_offset)) in nl80211_msg_put_channel() 1139 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_DFS_STATE, in nl80211_msg_put_channel() 1142 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_DFS_TIME, in nl80211_msg_put_channel() 1145 if (nla_put_u32(msg, in nl80211_msg_put_channel() 1203 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_MAX_TX_POWER, in nl80211_msg_put_channel() 1231 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \ in nl80211_put_txq_stats() 1652 if (nla_put_u32(msg, NL80211_IFACE_LIMIT_MAX, in nl80211_put_iface_combinations() 1666 if (nla_put_u32(msg, NL80211_IFACE_COMB_NUM_CHANNELS, in nl80211_put_iface_combinations() 1668 nla_put_u32(ms in nl80211_put_iface_combinations() [all...] |