Home
last modified time | relevance | path

Searched refs:nla_put (Results 26 – 50 of 176) sorted by relevance

12345678

/openbmc/linux/net/sched/
H A Dact_ife.c66 return nla_put(skb, mi->metaid, 0, NULL); in ife_get_meta_u32()
110 return nla_put(skb, mi->metaid, 0, NULL); in ife_get_meta_u16()
660 if (nla_put(skb, TCA_IFE_PARMS, sizeof(opt), &opt)) in tcf_ife_dump()
668 if (nla_put(skb, TCA_IFE_DMAC, ETH_ALEN, p->eth_dst)) in tcf_ife_dump()
673 if (nla_put(skb, TCA_IFE_SMAC, ETH_ALEN, p->eth_src)) in tcf_ife_dump()
677 if (nla_put(skb, TCA_IFE_TYPE, 2, &p->eth_type)) in tcf_ife_dump()
H A Dact_vlan.c303 if (nla_put(skb, TCA_VLAN_PARMS, sizeof(opt), &opt)) in tcf_vlan_dump()
316 if (nla_put(skb, TCA_VLAN_PUSH_ETH_DST, ETH_ALEN, in tcf_vlan_dump()
319 if (nla_put(skb, TCA_VLAN_PUSH_ETH_SRC, ETH_ALEN, in tcf_vlan_dump()
H A Dact_gact.c199 if (nla_put(skb, TCA_GACT_PARMS, sizeof(opt), &opt)) in tcf_gact_dump()
209 if (nla_put(skb, TCA_GACT_PROB, sizeof(p_opt), &p_opt)) in tcf_gact_dump()
H A Dematch.c448 if (nla_put(skb, TCA_EMATCH_TREE_HDR, sizeof(tree->hdr), &tree->hdr)) in tcf_em_tree_dump()
465 if (nla_put(skb, i + 1, sizeof(em_hdr), &em_hdr)) in tcf_em_tree_dump()
/openbmc/linux/crypto/
H A Dacompress.c45 return nla_put(skb, CRYPTOCFGA_REPORT_ACOMP, sizeof(racomp), &racomp); in crypto_acomp_report()
112 return nla_put(skb, CRYPTOCFGA_STAT_ACOMP, sizeof(racomp), &racomp); in __crypto_acomp_report_stat()
H A Dcrypto_user_base.c84 return nla_put(skb, CRYPTOCFGA_REPORT_CIPHER, in crypto_report_cipher()
96 return nla_put(skb, CRYPTOCFGA_REPORT_COMPRESS, sizeof(rcomp), &rcomp); in crypto_report_comp()
122 if (nla_put(skb, CRYPTOCFGA_REPORT_LARVAL, sizeof(rl), &rl)) in crypto_report_one()
H A Dakcipher.c32 return nla_put(skb, CRYPTOCFGA_REPORT_AKCIPHER, in crypto_akcipher_report()
93 return nla_put(skb, CRYPTOCFGA_STAT_AKCIPHER, in crypto_akcipher_report_stat()
H A Daead.c193 return nla_put(skb, CRYPTOCFGA_REPORT_AEAD, sizeof(raead), &raead); in crypto_aead_report()
235 return nla_put(skb, CRYPTOCFGA_STAT_AEAD, sizeof(raead), &raead); in crypto_aead_report_stat()
/openbmc/linux/net/dcb/
H A Ddcbnl.c1047 nla_put(skb, app_info_type, sizeof(info), &info)) in dcbnl_build_peer_app()
1051 if (nla_put(skb, app_entry_type, sizeof(struct dcb_app), in dcbnl_build_peer_app()
1159 nla_put(skb, DCB_ATTR_IEEE_ETS, sizeof(ets), &ets)) in dcbnl_ieee_fill()
1168 err = nla_put(skb, DCB_ATTR_IEEE_MAXRATE, in dcbnl_ieee_fill()
1181 err = nla_put(skb, DCB_ATTR_IEEE_QCN, in dcbnl_ieee_fill()
1194 err = nla_put(skb, DCB_ATTR_IEEE_QCN_STATS, in dcbnl_ieee_fill()
1206 nla_put(skb, DCB_ATTR_IEEE_PFC, sizeof(pfc), &pfc)) in dcbnl_ieee_fill()
1229 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill()
1254 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill()
1468 nla_put(skb, DCB_ATTR_CEE_PEER_PG, sizeof(pg), &pg)) in dcbnl_cee_fill()
[all …]
/openbmc/linux/net/bridge/
H A Dbr_netlink.c261 nla_put(skb, IFLA_BRPORT_ROOT_ID, sizeof(struct ifla_bridge_id), in br_port_fill_attrs()
339 if (nla_put(skb, IFLA_BRIDGE_VLAN_INFO, in br_fill_ifvlaninfo_range()
345 if (nla_put(skb, IFLA_BRIDGE_VLAN_INFO, in br_fill_ifvlaninfo_range()
351 if (nla_put(skb, IFLA_BRIDGE_VLAN_INFO, in br_fill_ifvlaninfo_range()
437 if (nla_put(skb, IFLA_BRIDGE_VLAN_INFO, in br_fill_ifvlaninfo()
490 nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || in br_fill_ifinfo()
1662 nla_put(skb, IFLA_BR_BRIDGE_ID, sizeof(struct ifla_bridge_id), in br_fill_info()
1664 nla_put(skb, IFLA_BR_ROOT_ID, sizeof(struct ifla_bridge_id), in br_fill_info()
1671 nla_put(skb, IFLA_BR_GROUP_ADDR, ETH_ALEN, br->group_addr) || in br_fill_info()
1672 nla_put(skb, IFLA_BR_MULTI_BOOLOPT, sizeof(bm), &bm)) in br_fill_info()
[all …]
H A Dbr_cfm_netlink.c493 if (nla_put(skb, IFLA_BRIDGE_CFM_MEP_CONFIG_UNICAST_MAC, in br_cfm_config_fill_info()
525 if (nla_put(skb, IFLA_BRIDGE_CFM_CC_CONFIG_EXP_MAID, in br_cfm_config_fill_info()
556 if (nla_put(skb, IFLA_BRIDGE_CFM_CC_CCM_TX_DMAC, in br_cfm_config_fill_info()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dtestmode.c59 nla_put(skb, ATH6KL_TM_ATTR_DATA, buf_len, buf)) in ath6kl_tm_rx_event()
/openbmc/linux/net/ethtool/
H A Dphc_vclocks.c68 nla_put(skb, ETHTOOL_A_PHC_VCLOCKS_INDEX, in phc_vclocks_fill_reply()
H A Dwol.c79 nla_put(skb, ETHTOOL_A_WOL_SOPASS, sizeof(data->wol.sopass), in wol_fill_reply()
/openbmc/linux/include/linux/
H A Dgenl_magic_struct.h90 nla_strscpy, nla_put, false)
93 nla_memcpy, nla_put, false)
/openbmc/linux/net/netfilter/
H A Dnfnetlink_log.c443 if (nla_put(inst->skb, NFULA_L2HDR, len, skb_mac_header(skb))) in nfulnl_put_bridge()
484 if (nla_put(inst->skb, NFULA_PACKET_HDR, sizeof(pmsg), &pmsg)) in __build_packet_message()
488 nla_put(inst->skb, NFULA_PREFIX, plen, prefix)) in __build_packet_message()
579 if (nla_put(inst->skb, NFULA_HWADDR, sizeof(phw), &phw)) in __build_packet_message()
596 nla_put(inst->skb, NFULA_HWHEADER, in __build_packet_message()
607 if (nla_put(inst->skb, NFULA_TIMESTAMP, sizeof(ts), &ts)) in __build_packet_message()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dvendor.c87 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/openbmc/linux/net/packet/
H A Ddiag.c35 return nla_put(nlskb, PACKET_DIAG_INFO, sizeof(pinfo), &pinfo); in pdiag_put_info()
95 return nla_put(nlskb, nl_type, sizeof(pdr), &pdr); in pdiag_put_ring()
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_hash_ipmac.c62 nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_ipmac4_data_list()
170 nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_ipmac6_data_list()
H A Dip_set_hash_mac.c51 if (nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_mac4_data_list()
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/
H A Dtestmode.c111 ret = nla_put(skb, WCN36XX_TM_ATTR_DATA, rsp->msg_body_length, rsp); in wcn36xx_tm_cmd_ptt()
/openbmc/linux/net/nfc/
H A Dnetlink.c79 nla_put(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, in nfc_genl_send_target()
83 nla_put(msg, NFC_ATTR_TARGET_SENSB_RES, target->sensb_res_len, in nfc_genl_send_target()
87 nla_put(msg, NFC_ATTR_TARGET_SENSF_RES, target->sensf_res_len, in nfc_genl_send_target()
94 nla_put(msg, NFC_ATTR_TARGET_ISO15693_UID, in nfc_genl_send_target()
508 nla_put(msg, NFC_ATTR_SE_AID, evt_transaction->aid_len, in nfc_genl_se_transaction()
510 nla_put(msg, NFC_ATTR_SE_PARAMS, evt_transaction->params_len, in nfc_genl_se_transaction()
1488 nla_put(msg, NFC_ATTR_SE_APDU, apdu_len, apdu)) in se_io_cb()
/openbmc/linux/net/wireless/
H A Dpmsr.c465 nla_put(msg, NL80211_PMSR_FTM_RESP_ATTR_LCI, in nl80211_pmsr_send_ftm_res()
469 nla_put(msg, NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC, in nl80211_pmsr_send_ftm_res()
499 if (nla_put(msg, NL80211_PMSR_PEER_ATTR_ADDR, ETH_ALEN, res->addr)) in nl80211_pmsr_send_result()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Drestrack.c75 err = nla_put(msg, RDMA_NLDEV_ATTR_RES_RAW, len, data); in fill_res_raw()
/openbmc/linux/net/ipv6/
H A Dseg6.c284 if (nla_put(msg, SEG6_ATTR_DST, sizeof(struct in6_addr), tun_src)) in seg6_genl_get_tunsrc()
306 nla_put(msg, SEG6_ATTR_SECRET, hinfo->slen, hinfo->secret) || in __seg6_hmac_fill_info()

12345678