Home
last modified time | relevance | path

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

123

/linux/security/selinux/
H A Dnetlink.c82 nlh = nlmsg_put(skb, 0, 0, msgtype, len, 0); in selnl_notify()
/linux/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/include/linux/netfilter/
H A Dnfnetlink.h85 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), flags); in nfnl_msg_put()
/linux/net/xfrm/
H A Dxfrm_user.c1451 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
1617 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSPDINFO, sizeof(u32), 0); in build_spdinfo()
1749 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSADINFO, sizeof(u32), 0); in build_sadinfo()
2360 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy()
2471 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_GETDEFAULT, sizeof(*up), 0); in xfrm_notify_userpolicy()
2533 r_nlh = nlmsg_put(r_skb, portid, seq, XFRM_MSG_GETDEFAULT, sizeof(*r_up), 0); in xfrm_get_default()
2679 nlh = nlmsg_put(skb, c->portid, c->seq, XFRM_MSG_NEWAE, sizeof(*id), 0); in build_aevent()
3217 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_MIGRATE, sizeof(*pol_id), 0); in build_migrate()
3547 nlh = nlmsg_put(skb, c->portid, 0, XFRM_MSG_EXPIRE, sizeof(*ue), 0); in build_expire()
3625 nlh = nlmsg_put(skb, c->portid, c->seq, XFRM_MSG_FLUSHSA, sizeof(*p), 0); in xfrm_notify_sa_flush()
[all …]
/linux/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/samples/connector/
H A Dcn_test.c59 nlh = nlmsg_put(skb, 0, 0x123, NLMSG_DONE, size - sizeof(*nlh), 0);
/linux/net/vmw_vsock/
H A Ddiag.c21 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
/linux/drivers/connector/
H A Dconnector.c101 nlh = nlmsg_put(skb, 0, msg->seq, NLMSG_DONE, size, 0); in cn_netlink_send_mult()
/linux/net/netlink/
H A Ddiag.c52 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
/linux/drivers/infiniband/core/
H A Dnetlink.c134 *nlh = nlmsg_put(skb, 0, seq, RDMA_NL_GET_TYPE(client, op), len, flags); in ibnl_put_msg()
/linux/net/xdp/
H A Dxsk_diag.c101 nlh = nlmsg_put(nlskb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*msg), in xsk_diag_fill()
/linux/net/ipv4/
H A Dtcp_diag.c202 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in tcp_twsk_diag_fill()
242 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tcp_req_diag_fill()
H A Dinet_diag.c234 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in inet_sk_diag_fill()
995 nlh = nlmsg_put(skb, 0, 0, SOCK_DIAG_BY_FAMILY, sizeof(*r), 0); in inet_diag_handler_get_info()
/linux/net/bridge/
H A Dbr_mdb.c390 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in br_mdb_dump()
425 nlh = nlmsg_put(skb, 0, 0, type, sizeof(*bpm), 0); in nlmsg_populate_mdb_fill()
574 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_rtr_fill()
1632 nlh = nlmsg_put(skb, portid, seq, RTM_NEWMDB, sizeof(*bpm), 0); in br_mdb_get_reply_fill()
/linux/net/unix/
H A Ddiag.c120 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
/linux/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/drivers/net/vxlan/
H A Dvxlan_vnifilter.c310 nlh = nlmsg_put(skb, 0, 0, cmd, sizeof(*tmsg), 0); in vxlan_vnifilter_notify()
356 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/include/net/
H A Dnetlink.h995 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put() function
1041 return nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nlmsg_put_answer()
/linux/kernel/
H A Daudit.c991 nlh = nlmsg_put(skb, 0, seq, t, size, flags); in audit_make_reply()
1845 if (!nlmsg_put(ab->skb, 0, 0, type, 0, 0)) in audit_buffer_alloc()
2250 if (!nlmsg_put(ab->skb, 0, 0, type, 0, 0)) in audit_buffer_aux_new()
/linux/net/ipv6/
H A Daddrlabel.c444 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill()
/linux/net/sched/
H A Dact_api.c1656 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags); in tca_get_fill()
1784 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, in tca_action_flush()
2245 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tc_dump_action()
/linux/net/sctp/
H A Ddiag.c142 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_sctp_diag_fill()

123