Home
last modified time | relevance | path

Searched refs:nla_put (Results 126 – 150 of 176) sorted by relevance

12345678

/openbmc/linux/net/sched/
H A Dsch_sfb.c587 if (nla_put(skb, TCA_SFB_PARMS, sizeof(opt), &opt)) in sfb_dump()
H A Dcls_u32.c1357 if (nla_put(skb, TCA_U32_SEL, struct_size(&n->sel, keys, n->sel.nkeys), in u32_dump()
1392 if (nla_put(skb, TCA_U32_MARK, sizeof(mark), &mark)) in u32_dump()
H A Dsch_hfsc.c1276 if (nla_put(skb, attr, sizeof(tsc), &tsc)) in hfsc_dump_sc()
1529 if (nla_put(skb, TCA_OPTIONS, sizeof(qopt), &qopt)) in hfsc_dump_qdisc()
H A Dcls_flower.c2757 err = nla_put(skb, val_type, len, val); in fl_dump_key_val()
2761 err = nla_put(skb, mask_type, len, mask); in fl_dump_key_val()
2996 err = nla_put(skb, TCA_FLOWER_KEY_FLAGS, 4, &_key); in fl_dump_key_flags()
3000 return nla_put(skb, TCA_FLOWER_KEY_FLAGS_MASK, 4, &_mask); in fl_dump_key_flags()
3023 if (nla_put(skb, TCA_FLOWER_KEY_ENC_OPT_GENEVE_DATA, in fl_dump_key_geneve_opt()
H A Dsch_sfq.c818 if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) in sfq_dump()
H A Dsch_htb.c1227 if (nla_put(skb, TCA_HTB_INIT, sizeof(gopt), &gopt) || in htb_dump()
1269 if (nla_put(skb, TCA_HTB_PARMS, sizeof(opt), &opt)) in htb_dump_class()
/openbmc/linux/net/xfrm/
H A Dxfrm_compat.c230 return nla_put(dst, src->nla_type, len, nla_data(src)); in xfrm_nla_cpy()
/openbmc/linux/crypto/
H A Dshash.c524 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_shash_report()
/openbmc/linux/net/netfilter/
H A Dnfnetlink_cthelper.c120 nla_put(skb, CTA_HELP_INFO, helper->data_len, &help->data)) in nfnl_cthelper_to_nlattr()
H A Dnft_tunnel.c629 nla_put(skb, NFTA_TUNNEL_KEY_GENEVE_DATA, in nft_tunnel_opts_dump()
/openbmc/linux/net/core/
H A Dneighbour.c2205 if (nla_put(skb, NDTA_CONFIG, sizeof(ndc), &ndc)) in neightbl_fill_info()
2586 if (nla_put(skb, NDA_DST, neigh->tbl->key_len, neigh->primary_key)) in neigh_fill_info()
2595 if (nla_put(skb, NDA_LLADDR, neigh->dev->addr_len, haddr) < 0) { in neigh_fill_info()
2608 nla_put(skb, NDA_CACHEINFO, sizeof(ci), &ci)) in neigh_fill_info()
2648 if (nla_put(skb, NDA_DST, tbl->key_len, pn->key)) in pneigh_fill_info()
/openbmc/linux/net/ncsi/
H A Dncsi-netlink.c512 rc = nla_put(skb, NCSI_ATTR_DATA, nr->rsp->len, (void *)nr->rsp->data); in ncsi_send_netlink_rsp()
/openbmc/linux/drivers/infiniband/core/
H A Daddr.c183 nla_put(skb, attrtype, size, daddr); in ib_nl_ip_send_msg()
/openbmc/linux/fs/smb/server/
H A Dtransport_ipc.c441 ret = nla_put(skb, msg->type, msg->sz, msg->payload); in ipc_msg_send()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_main.c1221 nla_put(skb, IFLA_PORT_PROFILE, PORT_PROFILE_MAX, pp->name)) || in enic_get_vf_port()
1223 nla_put(skb, IFLA_PORT_INSTANCE_UUID, PORT_UUID_MAX, in enic_get_vf_port()
1226 nla_put(skb, IFLA_PORT_HOST_UUID, PORT_UUID_MAX, pp->host_uuid))) in enic_get_vf_port()
/openbmc/linux/net/tipc/
H A Dmonitor.c780 if (nla_put(msg->skb, TIPC_NLA_MON_PEER_MEMBERS, in __tipc_nl_add_monitor_peer()
/openbmc/linux/net/ipv6/
H A Dioam6.c411 nla_put(skb, IOAM6_ATTR_SC_DATA, sc->len, sc->data)) in __ioam6_genl_dumpsc_element()
/openbmc/linux/net/batman-adv/
H A Dtranslation-table.c1097 if (nla_put(msg, BATADV_ATTR_TT_ADDRESS, ETH_ALEN, common->addr) || in batadv_tt_local_dump_entry()
1827 if (nla_put(msg, BATADV_ATTR_TT_ADDRESS, ETH_ALEN, common->addr) || in batadv_tt_global_dump_subentry()
1828 nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, in batadv_tt_global_dump_subentry()
/openbmc/linux/drivers/net/
H A Dmacsec.c3158 nla_put(skb, MACSEC_SA_ATTR_PN, pn_len, &pn) || in dump_secy()
3159 nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, tx_sa->key.id) || in dump_secy()
3263 nla_put(skb, MACSEC_SA_ATTR_PN, pn_len, &pn) || in dump_secy()
3264 nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, rx_sa->key.id) || in dump_secy()
/openbmc/linux/net/ipv4/
H A Dtcp_metrics.c728 nla_put(msg, TCP_METRICS_ATTR_FOPEN_COOKIE, in tcp_metrics_fill_info()
H A Dip_tunnel_core.c746 nla_put(skb, LWTUNNEL_IP_OPT_GENEVE_DATA, opt->length * 4, in ip_tun_fill_encap_opts_geneve()
/openbmc/linux/net/devlink/
H A Dregion.c772 err = nla_put(msg, DEVLINK_ATTR_REGION_CHUNK_DATA, chunk_size, chunk); in devlink_nl_cmd_region_read_chunk_fill()
H A Dhealth.c1082 return nla_put(skb, attrtype, msg->len, (void *)&msg->value); in devlink_fmsg_item_fill_data()
/openbmc/linux/net/netlabel/
H A Dnetlabel_unlabeled.c1133 ret_val = nla_put(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
/openbmc/linux/net/openvswitch/
H A Ddatapath.c558 if (nla_put(user_skb, OVS_PACKET_ATTR_HASH, sizeof (u64), &hash)) { in queue_userspace_packet()
1604 if (nla_put(skb, OVS_DP_ATTR_PER_CPU_PIDS, pids_len, &pids->pids)) in ovs_dp_cmd_fill_info()

12345678