nla_put 373 crypto/ablkcipher.c return nla_put(skb, CRYPTOCFGA_REPORT_BLKCIPHER, nla_put 35 crypto/acompress.c return nla_put(skb, CRYPTOCFGA_REPORT_ACOMP, sizeof(racomp), &racomp); nla_put 165 crypto/aead.c return nla_put(skb, CRYPTOCFGA_REPORT_AEAD, sizeof(raead), &raead); nla_put 524 crypto/ahash.c return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); nla_put 32 crypto/akcipher.c return nla_put(skb, CRYPTOCFGA_REPORT_AKCIPHER, nla_put 515 crypto/blkcipher.c return nla_put(skb, CRYPTOCFGA_REPORT_BLKCIPHER, nla_put 84 crypto/crypto_user_base.c return nla_put(skb, CRYPTOCFGA_REPORT_CIPHER, nla_put 96 crypto/crypto_user_base.c return nla_put(skb, CRYPTOCFGA_REPORT_COMPRESS, sizeof(rcomp), &rcomp); nla_put 122 crypto/crypto_user_base.c if (nla_put(skb, CRYPTOCFGA_REPORT_LARVAL, sizeof(rl), &rl)) nla_put 45 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_AEAD, sizeof(raead), &raead); nla_put 62 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_CIPHER, sizeof(rcipher), &rcipher); nla_put 78 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_COMPRESS, sizeof(rcomp), &rcomp); nla_put 94 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_ACOMP, sizeof(racomp), &racomp); nla_put 112 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_AKCIPHER, nla_put 129 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_KPP, sizeof(rkpp), &rkpp); nla_put 144 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_HASH, sizeof(rhash), &rhash); nla_put 159 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_HASH, sizeof(rhash), &rhash); nla_put 175 crypto/crypto_user_stat.c return nla_put(skb, CRYPTOCFGA_STAT_RNG, sizeof(rrng), &rrng); nla_put 202 crypto/crypto_user_stat.c if (nla_put(skb, CRYPTOCFGA_STAT_LARVAL, sizeof(rl), &rl)) nla_put 32 crypto/kpp.c return nla_put(skb, CRYPTOCFGA_REPORT_KPP, sizeof(rkpp), &rkpp); nla_put 84 crypto/rng.c return nla_put(skb, CRYPTOCFGA_REPORT_RNG, sizeof(rrng), &rrng); nla_put 50 crypto/scompress.c return nla_put(skb, CRYPTOCFGA_REPORT_COMPRESS, nla_put 414 crypto/shash.c return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); nla_put 957 crypto/skcipher.c return nla_put(skb, CRYPTOCFGA_REPORT_BLKCIPHER, nla_put 3270 drivers/block/drbd/drbd_nl.c nla_put(skb, T_ctx_my_addr, connection->my_addr_len, &connection->my_addr)) nla_put 3273 drivers/block/drbd/drbd_nl.c nla_put(skb, T_ctx_peer_addr, connection->peer_addr_len, &connection->peer_addr)) nla_put 3851 drivers/block/drbd/drbd_nl.c err = nla_put(skb, T_uuids, sizeof(si->uuids), device->ldev->md.uuid); nla_put 182 drivers/infiniband/core/addr.c nla_put(skb, attrtype, size, daddr); nla_put 144 drivers/infiniband/core/netlink.c if (nla_put(skb, type, len, data)) { nla_put 516 drivers/infiniband/core/nldev.c nla_put(msg, RDMA_NLDEV_ATTR_RES_SRC_ADDR, nla_put 521 drivers/infiniband/core/nldev.c nla_put(msg, RDMA_NLDEV_ATTR_RES_DST_ADDR, nla_put 777 drivers/infiniband/core/sa_query.c nla_put(skb, RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_SERVICE_ID, nla_put 781 drivers/infiniband/core/sa_query.c nla_put(skb, RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_DGID, nla_put 784 drivers/infiniband/core/sa_query.c nla_put(skb, RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_SGID, nla_put 787 drivers/infiniband/core/sa_query.c nla_put(skb, RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_TCLASS, nla_put 792 drivers/infiniband/core/sa_query.c nla_put(skb, RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_PKEY, nla_put 797 drivers/infiniband/core/sa_query.c nla_put(skb, RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_QOS_CLASS, nla_put 48 drivers/net/bonding/bond_netlink.c if (nla_put(skb, IFLA_BOND_SLAVE_PERM_HWADDR, nla_put 650 drivers/net/bonding/bond_netlink.c if (nla_put(skb, IFLA_BOND_AD_ACTOR_SYSTEM, nla_put 673 drivers/net/bonding/bond_netlink.c if (nla_put(skb, IFLA_BOND_AD_INFO_PARTNER_MAC, nla_put 1136 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_BITTIMING, nla_put 1140 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_BITTIMING_CONST, nla_put 1143 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_CLOCK, sizeof(priv->clock), &priv->clock) || nla_put 1145 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_CTRLMODE, sizeof(cm), &cm) || nla_put 1150 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_BERR_COUNTER, sizeof(bec), &bec)) || nla_put 1153 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_DATA_BITTIMING, nla_put 1157 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_DATA_BITTIMING_CONST, nla_put 1163 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_TERMINATION_CONST, nla_put 1169 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_BITRATE_CONST, nla_put 1175 drivers/net/can/dev.c nla_put(skb, IFLA_CAN_DATA_BITRATE_CONST, nla_put 1180 drivers/net/can/dev.c (nla_put(skb, IFLA_CAN_BITRATE_MAX, nla_put 1199 drivers/net/can/dev.c if (nla_put(skb, IFLA_INFO_XSTATS, nla_put 1241 drivers/net/ethernet/cisco/enic/enic_main.c nla_put(skb, IFLA_PORT_PROFILE, PORT_PROFILE_MAX, pp->name)) || nla_put 1243 drivers/net/ethernet/cisco/enic/enic_main.c nla_put(skb, IFLA_PORT_INSTANCE_UUID, PORT_UUID_MAX, nla_put 1246 drivers/net/ethernet/cisco/enic/enic_main.c nla_put(skb, IFLA_PORT_HOST_UUID, PORT_UUID_MAX, pp->host_uuid))) nla_put 836 drivers/net/ethernet/mscc/ocelot.c if (nla_put(dump->skb, NDA_LLADDR, ETH_ALEN, entry->mac)) nla_put 359 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c if (nla_put(skb, IFLA_RMNET_FLAGS, sizeof(f), &f)) nla_put 2469 drivers/net/macsec.c nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, tx_sa->key.id) || nla_put 2573 drivers/net/macsec.c nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, rx_sa->key.id) || nla_put 1591 drivers/net/macvlan.c if (nla_put(skb, IFLA_MACVLAN_MACADDR, ETH_ALEN, entry->addr)) nla_put 2365 drivers/net/team/team.c if (nla_put(skb, TEAM_ATTR_OPTION_DATA, ctx.data.bin_val.len, nla_put 285 drivers/net/vxlan.c if (send_eth && nla_put(skb, NDA_LLADDR, ETH_ALEN, &fdb->eth_addr)) nla_put 310 drivers/net/vxlan.c if (nla_put(skb, NDA_CACHEINFO, sizeof(ci), &ci)) nla_put 4149 drivers/net/vxlan.c if (nla_put(skb, IFLA_VXLAN_PORT_RANGE, sizeof(ports), &ports)) nla_put 83 drivers/net/wireless/ath/ath10k/testmode.c ret = nla_put(nl_skb, ATH10K_TM_ATTR_DATA, skb->len, skb->data); nla_put 59 drivers/net/wireless/ath/ath6kl/testmode.c nla_put(skb, ATH6KL_TM_ATTR_DATA, buf_len, buf)) nla_put 111 drivers/net/wireless/ath/wcn36xx/testmode.c ret = nla_put(skb, WCN36XX_TM_ATTR_DATA, rsp->msg_body_length, rsp); nla_put 87 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || nla_put 1071 drivers/net/wireless/mac80211_hwsim.c if (nla_put(skb, HWSIM_ATTR_ADDR_TRANSMITTER, nla_put 1076 drivers/net/wireless/mac80211_hwsim.c if (nla_put(skb, HWSIM_ATTR_FRAME, my_skb->len, my_skb->data)) nla_put 1105 drivers/net/wireless/mac80211_hwsim.c if (nla_put(skb, HWSIM_ATTR_TX_INFO, nla_put 1110 drivers/net/wireless/mac80211_hwsim.c if (nla_put(skb, HWSIM_ATTR_TX_INFO_FLAGS, nla_put 2425 drivers/net/wireless/mac80211_hwsim.c ret = nla_put(skb, HWSIM_ATTR_REG_HINT_ALPHA2, 2, nla_put 2464 drivers/net/wireless/mac80211_hwsim.c ret = nla_put(skb, HWSIM_ATTR_RADIO_NAME, nla_put 3109 drivers/net/wireless/mac80211_hwsim.c ret = nla_put(skb, HWSIM_ATTR_RADIO_NAME, strlen(hwname), nla_put 4092 drivers/net/wireless/marvell/mwifiex/cfg80211.c err = nla_put(skb, MWIFIEX_TM_ATTR_DATA, nla_put 93 drivers/net/wireless/ti/wl18xx/event.c if (nla_put(skb, WLCORE_VENDOR_ATTR_SSID, ssid_len, ssid) || nla_put 94 drivers/net/wireless/ti/wl18xx/event.c nla_put(skb, WLCORE_VENDOR_ATTR_PSK, pwd_len, pwd)) { nla_put 120 drivers/net/wireless/ti/wlcore/testmode.c if (nla_put(skb, WL1271_TM_ATTR_DATA, buf_len, buf)) { nla_put 186 drivers/net/wireless/ti/wlcore/testmode.c if (nla_put(skb, WL1271_TM_ATTR_DATA, sizeof(*cmd), cmd)) { nla_put 258 drivers/net/wireless/ti/wlcore/testmode.c if (nla_put(skb, WL1271_TM_ATTR_DATA, sizeof(wl->fem_manuf), nla_put 338 drivers/net/wireless/ti/wlcore/testmode.c if (nla_put(skb, WL1271_TM_ATTR_DATA, ETH_ALEN, mac_addr)) { nla_put 110 drivers/nfc/st-nci/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 143 drivers/nfc/st-nci/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 228 drivers/nfc/st-nci/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 274 drivers/nfc/st-nci/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 311 drivers/nfc/st-nci/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 346 drivers/nfc/st-nci/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 370 drivers/nfc/st-nci/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, sizeof(ndev->manufact_specific_info), nla_put 107 drivers/nfc/st21nfca/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 142 drivers/nfc/st21nfca/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 205 drivers/nfc/st21nfca/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, skb->len, skb->data)) { nla_put 284 drivers/nfc/st21nfca/vendor_cmds.c if (nla_put(msg, NFC_ATTR_VENDOR_DATA, info->vendor_info.rx_skb->len, nla_put 1435 drivers/scsi/pmcraid.c result = nla_put(skb, PMCRAID_AEN_ATTR_EVENT, data_size, aen_msg); nla_put 585 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (nla_put(dump->skb, NDA_LLADDR, ETH_ALEN, entry->mac_addr)) nla_put 92 include/linux/genl_magic_struct.h nla_strlcpy, nla_put, false) nla_put 95 include/linux/genl_magic_struct.h nla_memcpy, nla_put, false) nla_put 460 include/net/netlink.h int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data); nla_put 1181 include/net/netlink.h return nla_put(skb, attrtype, sizeof(u8), &tmp); nla_put 1194 include/net/netlink.h return nla_put(skb, attrtype, sizeof(u16), &tmp); nla_put 1207 include/net/netlink.h return nla_put(skb, attrtype, sizeof(__be16), &tmp); nla_put 1233 include/net/netlink.h return nla_put(skb, attrtype, sizeof(__le16), &tmp); nla_put 1246 include/net/netlink.h return nla_put(skb, attrtype, sizeof(u32), &tmp); nla_put 1259 include/net/netlink.h return nla_put(skb, attrtype, sizeof(__be32), &tmp); nla_put 1285 include/net/netlink.h return nla_put(skb, attrtype, sizeof(__le32), &tmp); nla_put 1359 include/net/netlink.h return nla_put(skb, attrtype, sizeof(s8), &tmp); nla_put 1372 include/net/netlink.h return nla_put(skb, attrtype, sizeof(s16), &tmp); nla_put 1385 include/net/netlink.h return nla_put(skb, attrtype, sizeof(s32), &tmp); nla_put 1412 include/net/netlink.h return nla_put(skb, attrtype, strlen(str) + 1, str); nla_put 1422 include/net/netlink.h return nla_put(skb, attrtype, 0, NULL); nla_put 1465 include/net/netlink.h return nla_put(skb, attrtype, sizeof(*addr), addr); nla_put 1687 include/net/netlink.h if (nla_put(skb, attrtype, 0, NULL) < 0) nla_put 1958 include/net/xfrm.h ret = nla_put(skb, XFRMA_MARK, sizeof(struct xfrm_mark), m); nla_put 372 kernel/taskstats.c if (nla_put(skb, type, sizeof(pid), &pid) < 0) { nla_put 837 lib/nlattr.c EXPORT_SYMBOL(nla_put); nla_put 228 net/8021q/vlan_netlink.c if (nla_put(skb, IFLA_VLAN_FLAGS, sizeof(f), &f)) nla_put 242 net/8021q/vlan_netlink.c if (nla_put(skb, IFLA_VLAN_QOS_MAPPING, nla_put 262 net/8021q/vlan_netlink.c if (nla_put(skb, IFLA_VLAN_QOS_MAPPING, nla_put 1947 net/batman-adv/bat_iv_ogm.c if (nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, nla_put 1949 net/batman-adv/bat_iv_ogm.c nla_put(msg, BATADV_ATTR_NEIGH_ADDRESS, ETH_ALEN, nla_put 2231 net/batman-adv/bat_iv_ogm.c if (nla_put(msg, BATADV_ATTR_NEIGH_ADDRESS, ETH_ALEN, nla_put 2673 net/batman-adv/bat_iv_ogm.c if (nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, nla_put 2676 net/batman-adv/bat_iv_ogm.c nla_put(msg, BATADV_ATTR_ROUTER, ETH_ALEN, nla_put 234 net/batman-adv/bat_v.c if (nla_put(msg, BATADV_ATTR_NEIGH_ADDRESS, ETH_ALEN, nla_put 454 net/batman-adv/bat_v.c if (nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, orig_node->orig) || nla_put 455 net/batman-adv/bat_v.c nla_put(msg, BATADV_ATTR_NEIGH_ADDRESS, ETH_ALEN, nla_put 954 net/batman-adv/bat_v.c if (nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, nla_put 966 net/batman-adv/bat_v.c if (nla_put(msg, BATADV_ATTR_ROUTER, ETH_ALEN, router->addr)) { nla_put 2135 net/batman-adv/bridge_loop_avoidance.c if (nla_put(msg, BATADV_ATTR_BLA_ADDRESS, ETH_ALEN, claim->addr) || nla_put 2137 net/batman-adv/bridge_loop_avoidance.c nla_put(msg, BATADV_ATTR_BLA_BACKBONE, ETH_ALEN, nla_put 2373 net/batman-adv/bridge_loop_avoidance.c if (nla_put(msg, BATADV_ATTR_BLA_BACKBONE, ETH_ALEN, nla_put 927 net/batman-adv/distributed-arp-table.c nla_put(msg, BATADV_ATTR_DAT_CACHE_HWADDRESS, ETH_ALEN, nla_put 2218 net/batman-adv/multicast.c if (nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, nla_put 246 net/batman-adv/netlink.c nla_put(msg, BATADV_ATTR_MESH_ADDRESS, ETH_ALEN, nla_put 269 net/batman-adv/netlink.c nla_put(msg, BATADV_ATTR_HARD_ADDRESS, ETH_ALEN, nla_put 681 net/batman-adv/netlink.c if (nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, dst)) nla_put 820 net/batman-adv/netlink.c nla_put(msg, BATADV_ATTR_HARD_ADDRESS, ETH_ALEN, nla_put 1184 net/batman-adv/translation-table.c if (nla_put(msg, BATADV_ATTR_TT_ADDRESS, ETH_ALEN, common->addr) || nla_put 2055 net/batman-adv/translation-table.c if (nla_put(msg, BATADV_ATTR_TT_ADDRESS, ETH_ALEN, common->addr) || nla_put 2056 net/batman-adv/translation-table.c nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, nla_put 658 net/bridge/br_fdb.c if (nla_put(skb, NDA_LLADDR, ETH_ALEN, &fdb->key.addr)) nla_put 666 net/bridge/br_fdb.c if (nla_put(skb, NDA_CACHEINFO, sizeof(ci), &ci)) nla_put 669 net/bridge/br_fdb.c if (fdb->key.vlan_id && nla_put(skb, NDA_VLAN, sizeof(u16), nla_put 288 net/bridge/br_mdb.c if (nla_put(skb, MDBA_MDB_ENTRY_INFO, sizeof(*entry), entry)) nla_put 200 net/bridge/br_netlink.c nla_put(skb, IFLA_BRPORT_ROOT_ID, sizeof(struct ifla_bridge_id), nla_put 202 net/bridge/br_netlink.c nla_put(skb, IFLA_BRPORT_BRIDGE_ID, sizeof(struct ifla_bridge_id), nla_put 258 net/bridge/br_netlink.c if (nla_put(skb, IFLA_BRIDGE_VLAN_INFO, nla_put 264 net/bridge/br_netlink.c if (nla_put(skb, IFLA_BRIDGE_VLAN_INFO, nla_put 270 net/bridge/br_netlink.c if (nla_put(skb, IFLA_BRIDGE_VLAN_INFO, nla_put 356 net/bridge/br_netlink.c if (nla_put(skb, IFLA_BRIDGE_VLAN_INFO, nla_put 406 net/bridge/br_netlink.c nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || nla_put 1423 net/bridge/br_netlink.c nla_put(skb, IFLA_BR_BRIDGE_ID, sizeof(struct ifla_bridge_id), nla_put 1425 net/bridge/br_netlink.c nla_put(skb, IFLA_BR_ROOT_ID, sizeof(struct ifla_bridge_id), nla_put 1432 net/bridge/br_netlink.c nla_put(skb, IFLA_BR_GROUP_ADDR, ETH_ALEN, br->group_addr) || nla_put 1433 net/bridge/br_netlink.c nla_put(skb, IFLA_BR_MULTI_BOOLOPT, sizeof(bm), &bm)) nla_put 1595 net/bridge/br_netlink.c if (nla_put(skb, BRIDGE_XSTATS_VLAN, sizeof(vxi), &vxi)) nla_put 591 net/can/gw.c if (nla_put(skb, CGW_FDMOD_AND, sizeof(mb), &mb) < 0) nla_put 598 net/can/gw.c if (nla_put(skb, CGW_FDMOD_OR, sizeof(mb), &mb) < 0) nla_put 605 net/can/gw.c if (nla_put(skb, CGW_FDMOD_XOR, sizeof(mb), &mb) < 0) nla_put 612 net/can/gw.c if (nla_put(skb, CGW_FDMOD_SET, sizeof(mb), &mb) < 0) nla_put 621 net/can/gw.c if (nla_put(skb, CGW_MOD_AND, sizeof(mb), &mb) < 0) nla_put 628 net/can/gw.c if (nla_put(skb, CGW_MOD_OR, sizeof(mb), &mb) < 0) nla_put 635 net/can/gw.c if (nla_put(skb, CGW_MOD_XOR, sizeof(mb), &mb) < 0) nla_put 642 net/can/gw.c if (nla_put(skb, CGW_MOD_SET, sizeof(mb), &mb) < 0) nla_put 653 net/can/gw.c if (nla_put(skb, CGW_CS_CRC8, CGW_CS_CRC8_LEN, nla_put 659 net/can/gw.c if (nla_put(skb, CGW_CS_XOR, CGW_CS_XOR_LEN, nla_put 666 net/can/gw.c if (nla_put(skb, CGW_FILTER, sizeof(struct can_filter), nla_put 1935 net/core/devlink.c if (nla_put(skb, DEVLINK_ATTR_DPIPE_VALUE, nla_put 1939 net/core/devlink.c if (nla_put(skb, DEVLINK_ATTR_DPIPE_VALUE_MASK, nla_put 3759 net/core/devlink.c err = nla_put(msg, DEVLINK_ATTR_REGION_CHUNK_DATA, chunk_size, chunk); nla_put 4489 net/core/devlink.c return nla_put(skb, attrtype, msg->len, (void *) &msg->value); nla_put 388 net/core/drop_monitor.c if (nla_put(msg, NLA_UNSPEC, sizeof(anc_hdr), &anc_hdr)) nla_put 222 net/core/fib_rules.c return nla_put(skb, FRA_UID_RANGE, sizeof(out), &out); nla_put 242 net/core/fib_rules.c return nla_put(skb, attrtype, sizeof(*range), range); nla_put 2070 net/core/neighbour.c if (nla_put(skb, NDTA_CONFIG, sizeof(ndc), &ndc)) nla_put 2442 net/core/neighbour.c if (nla_put(skb, NDA_DST, neigh->tbl->key_len, neigh->primary_key)) nla_put 2451 net/core/neighbour.c if (nla_put(skb, NDA_LLADDR, neigh->dev->addr_len, haddr) < 0) { nla_put 2464 net/core/neighbour.c nla_put(skb, NDA_CACHEINFO, sizeof(ci), &ci)) nla_put 2498 net/core/neighbour.c if (nla_put(skb, NDA_DST, tbl->key_len, pn->key)) nla_put 821 net/core/rtnetlink.c return nla_put(skb, RTA_CACHEINFO, sizeof(ci), &ci); nla_put 1123 net/core/rtnetlink.c if (nla_put(skb, IFLA_PHYS_PORT_ID, ppid.id_len, ppid.id)) nla_put 1159 net/core/rtnetlink.c if (nla_put(skb, IFLA_PHYS_SWITCH_ID, ppid.id_len, ppid.id)) nla_put 1256 net/core/rtnetlink.c if (nla_put(skb, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac) || nla_put 1257 net/core/rtnetlink.c nla_put(skb, IFLA_VF_BROADCAST, sizeof(vf_broadcast), &vf_broadcast) || nla_put 1258 net/core/rtnetlink.c nla_put(skb, IFLA_VF_VLAN, sizeof(vf_vlan), &vf_vlan) || nla_put 1259 net/core/rtnetlink.c nla_put(skb, IFLA_VF_RATE, sizeof(vf_rate), nla_put 1261 net/core/rtnetlink.c nla_put(skb, IFLA_VF_TX_RATE, sizeof(vf_tx_rate), nla_put 1263 net/core/rtnetlink.c nla_put(skb, IFLA_VF_SPOOFCHK, sizeof(vf_spoofchk), nla_put 1265 net/core/rtnetlink.c nla_put(skb, IFLA_VF_LINK_STATE, sizeof(vf_linkstate), nla_put 1267 net/core/rtnetlink.c nla_put(skb, IFLA_VF_RSS_QUERY_EN, nla_put 1270 net/core/rtnetlink.c nla_put(skb, IFLA_VF_TRUST, nla_put 1276 net/core/rtnetlink.c if (nla_put(skb, IFLA_VF_VLAN_INFO, sizeof(vf_vlan_info), nla_put 1653 net/core/rtnetlink.c if (nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr) || nla_put 1654 net/core/rtnetlink.c nla_put(skb, IFLA_BROADCAST, dev->addr_len, dev->broadcast)) nla_put 3577 net/core/rtnetlink.c if (nla_put(skb, NDA_LLADDR, ETH_ALEN, addr)) nla_put 3580 net/core/rtnetlink.c if (nla_put(skb, NDA_VLAN, sizeof(u16), &vid)) nla_put 4325 net/core/rtnetlink.c nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || nla_put 66 net/core/sock_diag.c return nla_put(skb, attrtype, sizeof(mem), &mem); nla_put 274 net/dcb/dcbnl.c return nla_put(skb, DCB_ATTR_PERM_HWADDR, sizeof(perm_addr), perm_addr); nla_put 1013 net/dcb/dcbnl.c nla_put(skb, app_info_type, sizeof(info), &info)) nla_put 1017 net/dcb/dcbnl.c if (nla_put(skb, app_entry_type, sizeof(struct dcb_app), nla_put 1051 net/dcb/dcbnl.c nla_put(skb, DCB_ATTR_IEEE_ETS, sizeof(ets), &ets)) nla_put 1060 net/dcb/dcbnl.c err = nla_put(skb, DCB_ATTR_IEEE_MAXRATE, nla_put 1073 net/dcb/dcbnl.c err = nla_put(skb, DCB_ATTR_IEEE_QCN, nla_put 1086 net/dcb/dcbnl.c err = nla_put(skb, DCB_ATTR_IEEE_QCN_STATS, nla_put 1098 net/dcb/dcbnl.c nla_put(skb, DCB_ATTR_IEEE_PFC, sizeof(pfc), &pfc)) nla_put 1108 net/dcb/dcbnl.c nla_put(skb, DCB_ATTR_DCB_BUFFER, sizeof(buffer), &buffer)) nla_put 1119 net/dcb/dcbnl.c err = nla_put(skb, DCB_ATTR_IEEE_APP, sizeof(itr->app), nla_put 1142 net/dcb/dcbnl.c nla_put(skb, DCB_ATTR_IEEE_PEER_ETS, sizeof(ets), &ets)) nla_put 1151 net/dcb/dcbnl.c nla_put(skb, DCB_ATTR_IEEE_PEER_PFC, sizeof(pfc), &pfc)) nla_put 1332 net/dcb/dcbnl.c nla_put(skb, DCB_ATTR_CEE_PEER_PG, sizeof(pg), &pg)) nla_put 1341 net/dcb/dcbnl.c nla_put(skb, DCB_ATTR_CEE_PEER_PFC, sizeof(pfc), &pfc)) nla_put 327 net/decnet/dn_table.c nla_put(skb, RTA_DST, 2, dst) < 0) nla_put 217 net/dsa/slave.c if (nla_put(dump->skb, NDA_LLADDR, ETH_ALEN, addr)) nla_put 104 net/hsr/hsr_netlink.c if (nla_put(skb, IFLA_HSR_SUPERVISION_ADDR, ETH_ALEN, nla_put 163 net/hsr/hsr_netlink.c res = nla_put(skb, HSR_A_NODE_ADDR, ETH_ALEN, addr); nla_put 204 net/hsr/hsr_netlink.c res = nla_put(skb, HSR_A_NODE_ADDR, ETH_ALEN, addr); nla_put 300 net/hsr/hsr_netlink.c res = nla_put(skb_out, HSR_A_NODE_ADDR, ETH_ALEN, nla_put 306 net/hsr/hsr_netlink.c res = nla_put(skb_out, HSR_A_NODE_ADDR_B, ETH_ALEN, nla_put 421 net/hsr/hsr_netlink.c res = nla_put(skb_out, HSR_A_NODE_ADDR, ETH_ALEN, addr); nla_put 63 net/ieee802154/nl-mac.c nla_put(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, nla_put 102 net/ieee802154/nl-mac.c nla_put(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, nla_put 930 net/ieee802154/nl-mac.c if (nla_put(msg, IEEE802154_ATTR_LLSEC_KEY_USAGE_COMMANDS, nla_put 935 net/ieee802154/nl-mac.c if (nla_put(msg, IEEE802154_ATTR_LLSEC_KEY_BYTES, nla_put 55 net/ieee802154/nl-phy.c nla_put(msg, IEEE802154_ATTR_CHANNEL_PAGE_LIST, nla_put 1477 net/ieee802154/nl802154.c if (nla_put(msg, NL802154_KEY_ATTR_USAGE_CMDS, nla_put 1482 net/ieee802154/nl802154.c if (nla_put(msg, NL802154_KEY_ATTR_BYTES, NL802154_KEY_SIZE, nla_put 1646 net/ipv4/devinet.c return nla_put(skb, IFA_CACHEINFO, sizeof(ci), &ci); nla_put 215 net/ipv4/inet_diag.c if (nla_put(skb, INET_DIAG_MEMINFO, sizeof(minfo), &minfo) < 0) nla_put 297 net/ipv4/inet_diag.c if (sz && nla_put(skb, attr, sz, &info) < 0) nla_put 705 net/ipv4/tcp_metrics.c nla_put(msg, TCP_METRICS_ATTR_FOPEN_COOKIE, nla_put 4864 net/ipv6/addrconf.c return nla_put(skb, IFA_CACHEINFO, sizeof(ci), &ci); nla_put 5563 net/ipv6/addrconf.c if (nla_put(skb, IFLA_INET6_CACHEINFO, sizeof(ci), &ci)) nla_put 5798 net/ipv6/addrconf.c nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || nla_put 5952 net/ipv6/addrconf.c if (nla_put(skb, PREFIX_ADDRESS, sizeof(pinfo->prefix), &pinfo->prefix)) nla_put 5956 net/ipv6/addrconf.c if (nla_put(skb, PREFIX_CACHEINFO, sizeof(ci), &ci)) nla_put 213 net/ipv6/seg6.c if (nla_put(msg, SEG6_ATTR_DST, sizeof(struct in6_addr), tun_src)) nla_put 235 net/ipv6/seg6.c nla_put(msg, SEG6_ATTR_SECRET, hinfo->slen, hinfo->secret) || nla_put 727 net/l2tp/l2tp_netlink.c nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len, nla_put 730 net/l2tp/l2tp_netlink.c nla_put(skb, L2TP_ATTR_PEER_COOKIE, session->peer_cookie_len, nla_put 508 net/ncsi/ncsi-netlink.c rc = nla_put(skb, NCSI_ATTR_DATA, nr->rsp->len, (void *)nr->rsp->data); nla_put 197 net/netfilter/ipset/ip_set_bitmap_ipmac.c nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, elem->ether)); nla_put 62 net/netfilter/ipset/ip_set_hash_ipmac.c nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) nla_put 170 net/netfilter/ipset/ip_set_hash_ipmac.c nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) nla_put 51 net/netfilter/ipset/ip_set_hash_mac.c if (nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) nla_put 3051 net/netfilter/ipvs/ip_vs_ctl.c nla_put(skb, IPVS_SVC_ATTR_ADDR, sizeof(svc->addr), &svc->addr) || nla_put 3061 net/netfilter/ipvs/ip_vs_ctl.c nla_put(skb, IPVS_SVC_ATTR_FLAGS, sizeof(flags), &flags) || nla_put 3254 net/netfilter/ipvs/ip_vs_ctl.c if (nla_put(skb, IPVS_DEST_ATTR_ADDR, sizeof(dest->addr), &dest->addr) || nla_put 379 net/netfilter/nf_conntrack_netlink.c return nla_put(skb, CTA_LABELS, sizeof(labels->bits), nla_put 1206 net/netfilter/nf_conntrack_proto_tcp.c if (nla_put(skb, CTA_PROTOINFO_TCP_FLAGS_ORIGINAL, nla_put 1211 net/netfilter/nf_conntrack_proto_tcp.c if (nla_put(skb, CTA_PROTOINFO_TCP_FLAGS_REPLY, nla_put 2389 net/netfilter/nf_tables_api.c if (nla_put(skb, NFTA_RULE_USERDATA, udata->len + 1, nla_put 3356 net/netfilter/nf_tables_api.c if (nla_put(skb, NFTA_SET_USERDATA, set->udlen, set->udata)) nla_put 4067 net/netfilter/nf_tables_api.c if (nla_put(skb, NFTA_SET_ELEM_USERDATA, nla_put 7574 net/netfilter/nf_tables_api.c return nla_put(skb, NFTA_DATA_VALUE, len, data->data); nla_put 79 net/netfilter/nf_tables_trace.c return nla_put(nlskb, NFTA_TRACE_LL_HEADER, sizeof(veth), &veth); nla_put 116 net/netfilter/nfnetlink_cthelper.c nla_put(skb, CTA_HELP_INFO, help->helper->data_len, &help->data)) nla_put 429 net/netfilter/nfnetlink_log.c if (nla_put(inst->skb, NFULA_L2HDR, len, skb_mac_header(skb))) nla_put 475 net/netfilter/nfnetlink_log.c if (nla_put(inst->skb, NFULA_PACKET_HDR, sizeof(pmsg), &pmsg)) nla_put 479 net/netfilter/nfnetlink_log.c nla_put(inst->skb, NFULA_PREFIX, plen, prefix)) nla_put 569 net/netfilter/nfnetlink_log.c if (nla_put(inst->skb, NFULA_HWADDR, sizeof(phw), &phw)) nla_put 586 net/netfilter/nfnetlink_log.c nla_put(inst->skb, NFULA_HWHEADER, nla_put 597 net/netfilter/nfnetlink_log.c if (nla_put(inst->skb, NFULA_TIMESTAMP, sizeof(ts), &ts)) nla_put 364 net/netfilter/nfnetlink_queue.c if (nla_put(skb, NFQA_L2HDR, len, skb_mac_header(entskb))) nla_put 573 net/netfilter/nfnetlink_queue.c if (nla_put(skb, NFQA_HWADDR, sizeof(phw), &phw)) nla_put 588 net/netfilter/nfnetlink_queue.c if (nla_put(skb, NFQA_TIMESTAMP, sizeof(ts), &ts)) nla_put 596 net/netfilter/nfnetlink_queue.c if (seclen && nla_put(skb, NFQA_SECCTX, seclen, secdata)) nla_put 1134 net/netlabel/netlabel_unlabeled.c ret_val = nla_put(cb_arg->skb, nla_put 2440 net/netlink/af_netlink.c WARN_ON(nla_put(skb, NLMSGERR_ATTR_COOKIE, nla_put 19 net/netlink/diag.c return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), nla_put 79 net/nfc/netlink.c nla_put(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, nla_put 83 net/nfc/netlink.c nla_put(msg, NFC_ATTR_TARGET_SENSB_RES, target->sensb_res_len, nla_put 87 net/nfc/netlink.c nla_put(msg, NFC_ATTR_TARGET_SENSF_RES, target->sensf_res_len, nla_put 94 net/nfc/netlink.c nla_put(msg, NFC_ATTR_TARGET_ISO15693_UID, nla_put 516 net/nfc/netlink.c nla_put(msg, NFC_ATTR_SE_AID, evt_transaction->aid_len, nla_put 518 net/nfc/netlink.c nla_put(msg, NFC_ATTR_SE_PARAMS, evt_transaction->params_len, nla_put 1477 net/nfc/netlink.c nla_put(msg, NFC_ATTR_SE_APDU, apdu_len, apdu)) nla_put 298 net/openvswitch/conntrack.c nla_put(skb, OVS_KEY_ATTR_CT_LABELS, sizeof(output->ct.labels), nla_put 311 net/openvswitch/conntrack.c if (nla_put(skb, OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4, nla_put 322 net/openvswitch/conntrack.c if (nla_put(skb, OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6, nla_put 1795 net/openvswitch/conntrack.c nla_put(skb, OVS_CT_ATTR_MARK, sizeof(ct_info->mark), nla_put 1800 net/openvswitch/conntrack.c nla_put(skb, OVS_CT_ATTR_LABELS, sizeof(ct_info->labels), nla_put 915 net/openvswitch/flow_netlink.c nla_put(skb, OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS, nla_put 922 net/openvswitch/flow_netlink.c nla_put(skb, OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS, nla_put 1951 net/openvswitch/flow_netlink.c if (nla_put(skb, OVS_NSH_KEY_ATTR_BASE, sizeof(nsh->base), &nsh->base)) nla_put 1955 net/openvswitch/flow_netlink.c if (nla_put(skb, OVS_NSH_KEY_ATTR_MD1, nla_put 2232 net/openvswitch/flow_netlink.c return nla_put(skb, OVS_FLOW_ATTR_UFID, flow->id.ufid_len, nla_put 3392 net/openvswitch/flow_netlink.c if (nla_put(skb, OVS_ACTION_ATTR_SET, nla_len(a), ovs_key)) nla_put 3414 net/openvswitch/flow_netlink.c if (nla_put(skb, nla_type(ovs_key), key_len, nla_data(ovs_key))) nla_put 3467 net/openvswitch/flow_netlink.c if (nla_put(skb, type, nla_len(a), nla_data(a))) nla_put 121 net/openvswitch/meter.c if (nla_put(reply, OVS_METER_ATTR_STATS, nla_put 137 net/openvswitch/meter.c if (!band_nla || nla_put(reply, OVS_BAND_ATTR_STATS, nla_put 381 net/openvswitch/vport.c return nla_put(skb, OVS_VPORT_ATTR_UPCALL_PID, nla_put 35 net/packet/diag.c return nla_put(nlskb, PACKET_DIAG_INFO, sizeof(pinfo), &pinfo); nla_put 95 net/packet/diag.c return nla_put(nlskb, nl_type, sizeof(pdr), &pdr); nla_put 769 net/sched/act_api.c if (nla_put(skb, TCA_ACT_COOKIE, cookie->len, cookie->data)) { nla_put 149 net/sched/act_bpf.c if (nla_put(skb, TCA_ACT_BPF_PARMS, sizeof(opt), &opt)) nla_put 184 net/sched/act_connmark.c if (nla_put(skb, TCA_CONNMARK_PARMS, sizeof(opt), &opt)) nla_put 651 net/sched/act_csum.c if (nla_put(skb, TCA_CSUM_PARMS, sizeof(opt), &opt)) nla_put 776 net/sched/act_ct.c err = nla_put(skb, val_type, len, val); nla_put 781 net/sched/act_ct.c err = nla_put(skb, mask_type, len, mask); nla_put 882 net/sched/act_ct.c if (nla_put(skb, TCA_CT_PARMS, sizeof(opt), &opt)) nla_put 304 net/sched/act_ctinfo.c if (nla_put(skb, TCA_CTINFO_ACT, sizeof(opt), &opt)) nla_put 206 net/sched/act_gact.c if (nla_put(skb, TCA_GACT_PARMS, sizeof(opt), &opt)) nla_put 216 net/sched/act_gact.c if (nla_put(skb, TCA_GACT_PROB, sizeof(p_opt), &p_opt)) nla_put 66 net/sched/act_ife.c return nla_put(skb, mi->metaid, 0, NULL); nla_put 110 net/sched/act_ife.c return nla_put(skb, mi->metaid, 0, NULL); nla_put 637 net/sched/act_ife.c if (nla_put(skb, TCA_IFE_PARMS, sizeof(opt), &opt)) nla_put 645 net/sched/act_ife.c if (nla_put(skb, TCA_IFE_DMAC, ETH_ALEN, p->eth_dst)) nla_put 650 net/sched/act_ife.c if (nla_put(skb, TCA_IFE_SMAC, ETH_ALEN, p->eth_src)) nla_put 654 net/sched/act_ife.c if (nla_put(skb, TCA_IFE_TYPE, 2, &p->eth_type)) nla_put 298 net/sched/act_ipt.c if (nla_put(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t) || nla_put 301 net/sched/act_ipt.c nla_put(skb, TCA_IPT_CNT, sizeof(struct tc_cnt), &c) || nla_put 348 net/sched/act_mirred.c if (nla_put(skb, TCA_MIRRED_PARMS, sizeof(opt), &opt)) nla_put 315 net/sched/act_mpls.c if (nla_put(skb, TCA_MPLS_PARMS, sizeof(opt), &opt)) nla_put 281 net/sched/act_nat.c if (nla_put(skb, TCA_NAT_PARMS, sizeof(opt), &opt)) nla_put 443 net/sched/act_pedit.c if (nla_put(skb, TCA_PEDIT_PARMS_EX, s, opt)) nla_put 446 net/sched/act_pedit.c if (nla_put(skb, TCA_PEDIT_PARMS, s, opt)) nla_put 339 net/sched/act_police.c if (nla_put(skb, TCA_POLICE_TBF, sizeof(opt), &opt)) nla_put 213 net/sched/act_sample.c if (nla_put(skb, TCA_SAMPLE_PARMS, sizeof(opt), &opt)) nla_put 184 net/sched/act_simple.c if (nla_put(skb, TCA_DEF_PARMS, sizeof(opt), &opt) || nla_put 247 net/sched/act_skbedit.c if (nla_put(skb, TCA_SKBEDIT_PARMS, sizeof(opt), &opt)) nla_put 267 net/sched/act_skbedit.c nla_put(skb, TCA_SKBEDIT_FLAGS, sizeof(pure_flags), &pure_flags)) nla_put 232 net/sched/act_skbmod.c if (nla_put(skb, TCA_SKBMOD_PARMS, sizeof(opt), &opt)) nla_put 235 net/sched/act_skbmod.c nla_put(skb, TCA_SKBMOD_DMAC, ETH_ALEN, p->eth_dst)) nla_put 238 net/sched/act_skbmod.c nla_put(skb, TCA_SKBMOD_SMAC, ETH_ALEN, p->eth_src)) nla_put 443 net/sched/act_tunnel_key.c nla_put(skb, TCA_TUNNEL_KEY_ENC_OPT_GENEVE_DATA, nla_put 531 net/sched/act_tunnel_key.c if (nla_put(skb, TCA_TUNNEL_KEY_PARMS, sizeof(opt), &opt)) nla_put 269 net/sched/act_vlan.c if (nla_put(skb, TCA_VLAN_PARMS, sizeof(opt), &opt)) nla_put 1971 net/sched/cls_flower.c err = nla_put(skb, val_type, len, val); nla_put 1975 net/sched/cls_flower.c err = nla_put(skb, mask_type, len, mask); nla_put 2113 net/sched/cls_flower.c err = nla_put(skb, TCA_FLOWER_KEY_FLAGS, 4, &_key); nla_put 2117 net/sched/cls_flower.c return nla_put(skb, TCA_FLOWER_KEY_FLAGS_MASK, 4, &_mask); nla_put 2140 net/sched/cls_flower.c if (nla_put(skb, TCA_FLOWER_KEY_ENC_OPT_GENEVE_DATA, nla_put 708 net/sched/cls_rsvp.h if (nla_put(skb, TCA_RSVP_DST, sizeof(s->dst), &s->dst)) nla_put 716 net/sched/cls_rsvp.h if (nla_put(skb, TCA_RSVP_PINFO, sizeof(pinfo), &pinfo)) nla_put 722 net/sched/cls_rsvp.h nla_put(skb, TCA_RSVP_SRC, sizeof(f->src), f->src)) nla_put 1299 net/sched/cls_u32.c if (nla_put(skb, TCA_U32_SEL, nla_put 1335 net/sched/cls_u32.c if (nla_put(skb, TCA_U32_MARK, sizeof(mark), &mark)) nla_put 262 net/sched/em_ipt.c if (nla_put(skb, TCA_EM_IPT_MATCH_DATA, nla_put 720 net/sched/em_meta.c nla_put(skb, tlv, v->len, (void *) v->val)) nla_put 772 net/sched/em_meta.c if (nla_put(skb, tlv, sizeof(unsigned long), &v->val)) nla_put 972 net/sched/em_meta.c if (nla_put(skb, TCA_EM_META_HDR, sizeof(hdr), &hdr)) nla_put 447 net/sched/ematch.c if (nla_put(skb, TCA_EMATCH_TREE_HDR, sizeof(tree->hdr), &tree->hdr)) nla_put 464 net/sched/ematch.c if (nla_put(skb, i + 1, sizeof(em_hdr), &em_hdr)) nla_put 545 net/sched/sch_api.c if (nla_put(skb, TCA_STAB_BASE, sizeof(stab->szopts), &stab->szopts)) nla_put 618 net/sched/sch_atm.c if (nla_put(skb, TCA_ATM_HDR, flow->hdr_len, flow->hdr)) nla_put 629 net/sched/sch_atm.c if (nla_put(skb, TCA_ATM_ADDR, sizeof(pvc), &pvc)) nla_put 1236 net/sched/sch_cbq.c if (nla_put(skb, TCA_CBQ_RATE, sizeof(cl->R_tab->rate), &cl->R_tab->rate)) nla_put 1262 net/sched/sch_cbq.c if (nla_put(skb, TCA_CBQ_LSSOPT, sizeof(opt), &opt)) nla_put 1282 net/sched/sch_cbq.c if (nla_put(skb, TCA_CBQ_WRROPT, sizeof(opt), &opt)) nla_put 1300 net/sched/sch_cbq.c if (nla_put(skb, TCA_CBQ_FOPT, sizeof(opt), &opt)) nla_put 467 net/sched/sch_cbs.c if (nla_put(skb, TCA_CBS_PARMS, sizeof(opt), &opt)) nla_put 457 net/sched/sch_choke.c if (nla_put(skb, TCA_CHOKE_PARMS, sizeof(opt), &opt) || nla_put 487 net/sched/sch_etf.c if (nla_put(skb, TCA_ETF_PARMS, sizeof(opt), &opt)) nla_put 92 net/sched/sch_fifo.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) nla_put 716 net/sched/sch_generic.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) nla_put 776 net/sched/sch_gred.c if (nla_put(skb, TCA_GRED_DPS, sizeof(sopt), &sopt)) nla_put 784 net/sched/sch_gred.c if (nla_put(skb, TCA_GRED_MAX_P, sizeof(max_p), max_p)) nla_put 1261 net/sched/sch_hfsc.c if (nla_put(skb, attr, sizeof(tsc), &tsc)) nla_put 1522 net/sched/sch_hfsc.c if (nla_put(skb, TCA_OPTIONS, sizeof(qopt), &qopt)) nla_put 1063 net/sched/sch_htb.c if (nla_put(skb, TCA_HTB_INIT, sizeof(gopt), &gopt) || nla_put 1102 net/sched/sch_htb.c if (nla_put(skb, TCA_HTB_PARMS, sizeof(opt), &opt)) nla_put 355 net/sched/sch_mqprio.c if (nla_put(skb, TCA_MQPRIO_MIN_RATE64, nla_put 369 net/sched/sch_mqprio.c if (nla_put(skb, TCA_MQPRIO_MAX_RATE64, nla_put 437 net/sched/sch_mqprio.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) nla_put 271 net/sched/sch_multiq.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) nla_put 1105 net/sched/sch_netem.c if (nla_put(skb, NETEM_LOSS_GI, sizeof(gi), &gi)) nla_put 1117 net/sched/sch_netem.c if (nla_put(skb, NETEM_LOSS_GE, sizeof(ge), &ge)) nla_put 1150 net/sched/sch_netem.c if (nla_put(skb, TCA_OPTIONS, sizeof(qopt), &qopt)) nla_put 1153 net/sched/sch_netem.c if (nla_put(skb, TCA_NETEM_LATENCY64, sizeof(q->latency), &q->latency)) nla_put 1156 net/sched/sch_netem.c if (nla_put(skb, TCA_NETEM_JITTER64, sizeof(q->jitter), &q->jitter)) nla_put 1162 net/sched/sch_netem.c if (nla_put(skb, TCA_NETEM_CORR, sizeof(cor), &cor)) nla_put 1167 net/sched/sch_netem.c if (nla_put(skb, TCA_NETEM_REORDER, sizeof(reorder), &reorder)) nla_put 1172 net/sched/sch_netem.c if (nla_put(skb, TCA_NETEM_CORRUPT, sizeof(corrupt), &corrupt)) nla_put 1186 net/sched/sch_netem.c if (nla_put(skb, TCA_NETEM_RATE, sizeof(rate), &rate)) nla_put 1202 net/sched/sch_netem.c if (nla_put(skb, TCA_NETEM_SLOT, sizeof(slot), &slot)) nla_put 278 net/sched/sch_prio.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) nla_put 321 net/sched/sch_red.c if (nla_put(skb, TCA_RED_PARMS, sizeof(opt), &opt) || nla_put 585 net/sched/sch_sfb.c if (nla_put(skb, TCA_SFB_PARMS, sizeof(opt), &opt)) nla_put 815 net/sched/sch_sfq.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) nla_put 205 net/sched/sch_skbprio.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) nla_put 1802 net/sched/sch_taprio.c if (nla_put(skb, TCA_TAPRIO_ATTR_PRIOMAP, sizeof(opt), &opt)) nla_put 459 net/sched/sch_tbf.c if (nla_put(skb, TCA_TBF_PARMS, sizeof(opt), &opt)) nla_put 181 net/sctp/diag.c if (nla_put(skb, INET_DIAG_SKMEMINFO, sizeof(mem), &mem) < 0) nla_put 106 net/smc/smc_diag.c if (nla_put(skb, SMC_DIAG_FALLBACK, sizeof(fallback), &fallback) < 0) nla_put 145 net/smc/smc_diag.c if (nla_put(skb, SMC_DIAG_CONNINFO, sizeof(cinfo), &cinfo) < 0) nla_put 166 net/smc/smc_diag.c if (nla_put(skb, SMC_DIAG_LGRINFO, sizeof(linfo), &linfo) < 0) nla_put 181 net/smc/smc_diag.c if (nla_put(skb, SMC_DIAG_DMBINFO, sizeof(dinfo), &dinfo) < 0) nla_put 739 net/tipc/monitor.c if (nla_put(msg->skb, TIPC_NLA_MON_PEER_MEMBERS, nla_put 426 net/tipc/udp_media.c if (nla_put(skb, nla_t, sizeof(ip4), &ip4)) nla_put 437 net/tipc/udp_media.c if (nla_put(skb, nla_t, sizeof(ip6), &ip6)) nla_put 22 net/unix/diag.c return nla_put(nlskb, UNIX_DIAG_NAME, addr->len - sizeof(short), nla_put 36 net/unix/diag.c return nla_put(nlskb, UNIX_DIAG_VFS, sizeof(uv), &uv); nla_put 113 net/unix/diag.c return nla_put(nlskb, UNIX_DIAG_RQLEN, sizeof(rql), &rql); nla_put 119 net/unix/diag.c return nla_put(nlskb, UNIX_DIAG_UID, sizeof(uid_t), &uid); nla_put 143 net/wimax/op-msg.c result = nla_put(skb, WIMAX_GNL_MSG_DATA, size, msg); nla_put 1441 net/wireless/nl80211.c if (tcp->tok && nla_put(msg, NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN, nla_put 1497 net/wireless/nl80211.c if (nla_put(msg, NL80211_WOWLAN_TRIG_PKT_PATTERN, nla_put 1531 net/wireless/nl80211.c if (nla_put(msg, NL80211_ATTR_COALESCE_RULE, sizeof(rule), &rule)) nla_put 1548 net/wireless/nl80211.c if (nla_put(msg, NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC, nla_put 1551 net/wireless/nl80211.c nla_put(msg, NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY, nla_put 1554 net/wireless/nl80211.c nla_put(msg, NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET, nla_put 1557 net/wireless/nl80211.c nla_put(msg, NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE, nla_put 1574 net/wireless/nl80211.c (nla_put(msg, NL80211_BAND_ATTR_HT_MCS_SET, nla_put 1587 net/wireless/nl80211.c (nla_put(msg, NL80211_BAND_ATTR_VHT_MCS_SET, nla_put 1984 net/wireless/nl80211.c if (nla_put(msg, NL80211_ATTR_CIPHER_SUITES, nla_put 2209 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_HT_CAPABILITY_MASK, nla_put 2234 net/wireless/nl80211.c (nla_put(msg, NL80211_ATTR_EXT_CAPA, nla_put 2237 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_EXT_CAPA_MASK, nla_put 2243 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_VHT_CAPABILITY_MASK, nla_put 2248 net/wireless/nl80211.c if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, nla_put 2253 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC_MASK, ETH_ALEN, nla_put 2265 net/wireless/nl80211.c if (nla_put(msg, i + 1, ETH_ALEN, nla_put 2302 net/wireless/nl80211.c if (nla_put(msg, i + 1, sizeof(*info), info)) nla_put 2319 net/wireless/nl80211.c if (nla_put(msg, i + 1, sizeof(*info), info)) nla_put 2341 net/wireless/nl80211.c if (nla_put(msg, NL80211_ATTR_EXT_FEATURES, nla_put 2389 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_EXT_CAPA, nla_put 2392 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_EXT_CAPA_MASK, nla_put 2444 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_AKM_SUITES, nla_put 3209 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, wdev_address(wdev)) || nla_put 3241 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_SSID, wdev->ssid_len, wdev->ssid)) nla_put 3254 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_SSID, ssid_ie[1], ssid_ie + 2)) nla_put 3719 net/wireless/nl80211.c nla_put(cookie->msg, NL80211_ATTR_KEY_DATA, nla_put 3722 net/wireless/nl80211.c nla_put(cookie->msg, NL80211_ATTR_KEY_SEQ, nla_put 3734 net/wireless/nl80211.c nla_put(cookie->msg, NL80211_KEY_DATA, nla_put 3737 net/wireless/nl80211.c nla_put(cookie->msg, NL80211_KEY_SEQ, nla_put 3806 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr)) nla_put 5079 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr) || nla_put 5193 net/wireless/nl80211.c nla_put(msg, NL80211_STA_INFO_STA_FLAGS, nla_put 5263 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_IE, sinfo->assoc_req_ies_len, nla_put 6112 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, dst) || nla_put 6113 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MPATH_NEXT_HOP, ETH_ALEN, next_hop) || nla_put 8639 net/wireless/nl80211.c nla_put(msg, NL80211_BSS_BSSID, ETH_ALEN, res->bssid))) nla_put 8656 net/wireless/nl80211.c if (ies->len && nla_put(msg, NL80211_BSS_INFORMATION_ELEMENTS, nla_put 8667 net/wireless/nl80211.c if (ies->len && nla_put(msg, NL80211_BSS_BEACON_IES, nla_put 8686 net/wireless/nl80211.c nla_put(msg, NL80211_BSS_PARENT_BSSID, ETH_ALEN, nla_put 11155 net/wireless/nl80211.c if (nla_put(msg, NL80211_PKTPAT_MASK, DIV_ROUND_UP(pat_len, 8), nla_put 11157 net/wireless/nl80211.c nla_put(msg, NL80211_PKTPAT_PATTERN, pat_len, nla_put 11184 net/wireless/nl80211.c nla_put(msg, NL80211_WOWLAN_TCP_DST_MAC, ETH_ALEN, tcp->dst_mac) || nla_put 11187 net/wireless/nl80211.c nla_put(msg, NL80211_WOWLAN_TCP_DATA_PAYLOAD, nla_put 11191 net/wireless/nl80211.c nla_put(msg, NL80211_WOWLAN_TCP_WAKE_PAYLOAD, nla_put 11193 net/wireless/nl80211.c nla_put(msg, NL80211_WOWLAN_TCP_WAKE_MASK, nla_put 11198 net/wireless/nl80211.c nla_put(msg, NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ, nla_put 11203 net/wireless/nl80211.c nla_put(msg, NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN, nla_put 11243 net/wireless/nl80211.c if (nla_put(msg, NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST, nla_put 11270 net/wireless/nl80211.c if (nla_put(msg, NL80211_SCHED_SCAN_MATCH_ATTR_SSID, nla_put 11798 net/wireless/nl80211.c if (nla_put(msg, NL80211_PKTPAT_MASK, nla_put 11801 net/wireless/nl80211.c nla_put(msg, NL80211_PKTPAT_PATTERN, pat_len, nla_put 12665 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, match->addr)) nla_put 12692 net/wireless/nl80211.c nla_put(msg, NL80211_NAN_FUNC_SERVICE_INFO, match->info_len, nla_put 14830 net/wireless/nl80211.c if (nla_put(msg, i, req->ssids[i].ssid_len, req->ssids[i].ssid)) nla_put 14845 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_IE, req->ie_len, req->ie)) nla_put 14855 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_SCAN_START_TIME_TSF_BSSID, ETH_ALEN, nla_put 15088 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_FRAME, len, buf) || nla_put 15090 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_REQ_IE, req_ies_len, req_ies))) nla_put 15193 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) nla_put 15245 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, cr->bssid)) || nla_put 15254 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_REQ_IE, cr->req_ie_len, cr->req_ie)) || nla_put 15256 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_RESP_IE, cr->resp_ie_len, nla_put 15263 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_FILS_KEK, cr->fils.kek_len, nla_put 15266 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_PMK, cr->fils.pmk_len, cr->fils.pmk)) || nla_put 15268 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_PMKID, WLAN_PMKID_LEN, cr->fils.pmkid))))) nla_put 15303 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid) || nla_put 15305 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_REQ_IE, info->req_ie_len, nla_put 15308 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_RESP_IE, info->resp_ie_len, nla_put 15314 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_FILS_KEK, info->fils.kek_len, nla_put 15317 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_PMK, info->fils.pmk_len, info->fils.pmk)) || nla_put 15319 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_PMKID, WLAN_PMKID_LEN, info->fils.pmkid))) nla_put 15350 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid)) nla_put 15386 net/wireless/nl80211.c (ie && nla_put(msg, NL80211_ATTR_IE, ie_len, ie))) nla_put 15418 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid)) nla_put 15457 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || nla_put 15459 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_IE, ie_len, ie)) || nla_put 15495 net/wireless/nl80211.c (addr && nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) || nla_put 15499 net/wireless/nl80211.c (tsc && nla_put(msg, NL80211_ATTR_KEY_SEQ, 6, tsc))) nla_put 15727 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr) || nla_put 15766 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) nla_put 15847 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_FRAME, len, buf) || nla_put 15887 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_FRAME, len, buf) || nla_put 15936 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || nla_put 15991 net/wireless/nl80211.c if (mac && nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac)) nla_put 16152 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid)) nla_put 16159 net/wireless/nl80211.c if (nla_put(msg, NL80211_REKEY_DATA_REPLAY_CTR, nla_put 16215 net/wireless/nl80211.c nla_put(msg, NL80211_PMKSA_CANDIDATE_BSSID, ETH_ALEN, bssid) || nla_put 16400 net/wireless/nl80211.c if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac)) nla_put 16451 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || nla_put 16498 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_FRAME, len, frame)) nla_put 16541 net/wireless/nl80211.c if (nla_put(msg, NL80211_ATTR_SSID, match->ssid.ssid_len, nla_put 16665 net/wireless/nl80211.c if (nla_put(msg, pkt_attr, wakeup->packet_present_len, nla_put 16714 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, peer) || nla_put 16819 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, ft_event->target_ap)) nla_put 16823 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_IE, ft_event->ies_len, ft_event->ies)) nla_put 16826 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_IE_RIC, ft_event->ric_ies_len, nla_put 16932 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_BSSID, ETH_ALEN, params->bssid) || nla_put 16933 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_SSID, params->ssid.ssid_len, nla_put 16969 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, owe_info->peer)) nla_put 16973 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_IE, owe_info->ie_len, owe_info->ie)) nla_put 403 net/wireless/pmsr.c nla_put(msg, NL80211_PMSR_FTM_RESP_ATTR_LCI, nla_put 407 net/wireless/pmsr.c nla_put(msg, NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC, nla_put 437 net/wireless/pmsr.c if (nla_put(msg, NL80211_PMSR_PEER_ATTR_ADDR, ETH_ALEN, res->addr)) nla_put 23 net/xdp/xsk_diag.c return nla_put(nlskb, XDP_DIAG_INFO, sizeof(di), &di); nla_put 32 net/xdp/xsk_diag.c return nla_put(nlskb, nl_type, sizeof(dr), &dr); nla_put 68 net/xdp/xsk_diag.c err = nla_put(nlskb, XDP_DIAG_UMEM, sizeof(du), &du); nla_put 898 net/xfrm/xfrm_user.c ret = nla_put(skb, XFRMA_COADDR, sizeof(*x->coaddr), x->coaddr); nla_put 909 net/xfrm/xfrm_user.c ret = nla_put(skb, XFRMA_ALG_AEAD, aead_len(x->aead), x->aead); nla_put 916 net/xfrm/xfrm_user.c ret = nla_put(skb, XFRMA_ALG_AUTH_TRUNC, nla_put 922 net/xfrm/xfrm_user.c ret = nla_put(skb, XFRMA_ALG_CRYPT, xfrm_alg_len(x->ealg), x->ealg); nla_put 927 net/xfrm/xfrm_user.c ret = nla_put(skb, XFRMA_ALG_COMP, sizeof(*(x->calg)), x->calg); nla_put 932 net/xfrm/xfrm_user.c ret = nla_put(skb, XFRMA_ENCAP, sizeof(*x->encap), x->encap); nla_put 950 net/xfrm/xfrm_user.c ret = nla_put(skb, XFRMA_REPLAY_ESN_VAL, nla_put 954 net/xfrm/xfrm_user.c ret = nla_put(skb, XFRMA_REPLAY_VAL, sizeof(x->replay), nla_put 1141 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_SPD_INFO, sizeof(spc), &spc); nla_put 1143 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_SPD_HINFO, sizeof(sph), &sph); nla_put 1145 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_SPD_IPV4_HTHRESH, sizeof(spt4), &spt4); nla_put 1147 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_SPD_IPV6_HTHRESH, sizeof(spt6), &spt6); nla_put 1251 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_SAD_HINFO, sizeof(sh), &sh); nla_put 1715 net/xfrm/xfrm_user.c return nla_put(skb, XFRMA_TMPL, nla_put 1751 net/xfrm/xfrm_user.c return nla_put(skb, XFRMA_POLICY_TYPE, sizeof(upt), &upt); nla_put 1995 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_REPLAY_ESN_VAL, nla_put 1999 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_REPLAY_VAL, sizeof(x->replay), nla_put 2427 net/xfrm/xfrm_user.c return nla_put(skb, XFRMA_MIGRATE, sizeof(um), &um); nla_put 2440 net/xfrm/xfrm_user.c return nla_put(skb, XFRMA_KMADDRESS, sizeof(uk), &uk); nla_put 2479 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_ENCAP, sizeof(*encap), encap); nla_put 3235 net/xfrm/xfrm_user.c int err = nla_put(skb, XFRMA_COADDR, sizeof(*addr), addr);