Home
last modified time | relevance | path

Searched refs:nlmsg_put (Results 1 – 25 of 70) sorted by relevance

123

/linux-6.15/drivers/infiniband/core/
H A Dnldev.c1096 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_doit()
1244 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_port_get_doit()
1306 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in nldev_port_get_dumpit()
1355 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_res_get_doit()
1523 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in res_get_common_doit()
1873 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_chardev()
1934 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_sys_get_doit()
2163 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_stat_set_doit()
2232 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_stat_del_doit()
2535 nlh = nlmsg_put( in nldev_stat_get_counter_status_doit()
[all …]
H A Dnetlink.c134 *nlh = nlmsg_put(skb, 0, seq, RDMA_NL_GET_TYPE(client, op), len, flags); in ibnl_put_msg()
/linux-6.15/security/selinux/
H A Dnetlink.c81 nlh = nlmsg_put(skb, 0, 0, msgtype, len, 0); in selnl_notify()
/linux-6.15/include/linux/netfilter/
H A Dnfnetlink.h85 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), flags); in nfnl_msg_put()
/linux-6.15/net/phonet/
H A Dpn_netlink.c108 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr()
179 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); in fill_route()
/linux-6.15/net/xfrm/
H A Dxfrm_user.c1415 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
2324 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy()
2435 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_GETDEFAULT, sizeof(*up), 0); in xfrm_notify_userpolicy()
3169 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_MIGRATE, sizeof(*pol_id), 0); in build_migrate()
3499 nlh = nlmsg_put(skb, c->portid, 0, XFRM_MSG_EXPIRE, sizeof(*ue), 0); in build_expire()
3672 nlh = nlmsg_put(skb, c->portid, c->seq, c->event, headlen, 0); in xfrm_notify_sa()
3751 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_ACQUIRE, sizeof(*ua), 0); in build_acquire()
3948 nlh = nlmsg_put(skb, c->portid, c->seq, c->event, headlen, 0); in xfrm_notify_policy()
4006 nlh = nlmsg_put(skb, c->portid, c->seq, XFRM_MSG_FLUSHPOLICY, 0, 0); in xfrm_notify_policy_flush()
4055 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_REPORT, sizeof(*ur), 0); in build_report()
[all …]
/linux-6.15/samples/connector/
H A Dcn_test.c59 nlh = nlmsg_put(skb, 0, 0x123, NLMSG_DONE, size - sizeof(*nlh), 0);
/linux-6.15/net/vmw_vsock/
H A Ddiag.c21 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
/linux-6.15/net/devlink/
H A Ddpipe.c273 nlh = nlmsg_put(skb, info->snd_portid, info->snd_seq, in devlink_dpipe_tables_fill()
552 nlh = nlmsg_put(dump_ctx.skb, info->snd_portid, info->snd_seq, in devlink_dpipe_entries_fill()
696 nlh = nlmsg_put(skb, info->snd_portid, info->snd_seq, in devlink_dpipe_headers_fill()
H A Dresource.c268 nlh = nlmsg_put(skb, info->snd_portid, info->snd_seq, in devlink_resource_fill()
/linux-6.15/drivers/connector/
H A Dconnector.c101 nlh = nlmsg_put(skb, 0, msg->seq, NLMSG_DONE, size, 0); in cn_netlink_send_mult()
/linux-6.15/net/netlink/
H A Ddiag.c52 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
/linux-6.15/net/xdp/
H A Dxsk_diag.c101 nlh = nlmsg_put(nlskb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*msg), in xsk_diag_fill()
/linux-6.15/net/ipv4/
H A Dinet_diag.c262 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in inet_sk_diag_fill()
435 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in inet_twsk_diag_fill()
475 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in inet_req_diag_fill()
1465 nlh = nlmsg_put(skb, 0, 0, SOCK_DIAG_BY_FAMILY, sizeof(*r), 0); in inet_diag_handler_get_info()
/linux-6.15/net/packet/
H A Ddiag.c139 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rp), flags); in sk_diag_fill()
/linux-6.15/net/unix/
H A Ddiag.c120 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
/linux-6.15/net/bridge/
H A Dbr_mdb.c388 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in br_mdb_dump()
423 nlh = nlmsg_put(skb, 0, 0, type, sizeof(*bpm), 0); in nlmsg_populate_mdb_fill()
556 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_rtr_fill()
1614 nlh = nlmsg_put(skb, portid, seq, RTM_NEWMDB, sizeof(*bpm), 0); in br_mdb_get_reply_fill()
/linux-6.15/net/mctp/
H A Dneigh.c216 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*hdr), flags); in mctp_fill_neigh()
H A Ddevice.c67 nlh = nlmsg_put(skb, portid, seq, in mctp_fill_addrinfo()
/linux-6.15/net/smc/
H A Dsmc_diag.c83 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __smc_diag_dump()
/linux-6.15/drivers/net/vxlan/
H A Dvxlan_vnifilter.c314 nlh = nlmsg_put(skb, 0, 0, cmd, sizeof(*tmsg), 0); in vxlan_vnifilter_notify()
360 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in vxlan_vnifilter_dump_dev()
H A Dvxlan_mdb.c289 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in vxlan_mdb_dump()
1000 nlh = nlmsg_put(skb, 0, 0, type, sizeof(*bpm), 0); in vxlan_mdb_nlmsg_fill()
1532 nlh = nlmsg_put(skb, portid, seq, RTM_NEWMDB, sizeof(*bpm), 0); in vxlan_mdb_get_reply_fill()
/linux-6.15/crypto/
H A Dcrypto_user.c146 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
/linux-6.15/include/net/
H A Dnetlink.h959 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put() function
1005 return nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nlmsg_put_answer()
/linux-6.15/net/sctp/
H A Ddiag.c135 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_sctp_diag_fill()

123