Home
last modified time | relevance | path

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

/linux-4.4.14/security/selinux/
Dnetlink.c84 nlh = nlmsg_put(skb, 0, 0, msgtype, len, 0); in selnl_notify()
/linux-4.4.14/net/phonet/
Dpn_netlink.c112 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr()
177 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); in fill_route()
/linux-4.4.14/net/decnet/netfilter/
Ddn_rtmsg.c50 nlh = nlmsg_put(skb, 0, 0, 0, size, 0); in dnrmg_build_message()
/linux-4.4.14/drivers/staging/gdm72xx/
Dnetlink_k.c136 nlh = nlmsg_put(skb, 0, seq, type, len, 0); in netlink_send()
/linux-4.4.14/drivers/staging/gdm724x/
Dnetlink_k.c134 nlh = nlmsg_put(skb, 0, seq, type, len, 0); in netlink_send()
/linux-4.4.14/net/xfrm/
Dxfrm_user.c876 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
1008 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSPDINFO, sizeof(u32), 0); in build_spdinfo()
1129 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSADINFO, sizeof(u32), 0); in build_sadinfo()
1624 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy()
1828 nlh = nlmsg_put(skb, c->portid, c->seq, XFRM_MSG_NEWAE, sizeof(*id), 0); in build_aevent()
2289 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_MIGRATE, sizeof(*pol_id), 0); in build_migrate()
2515 nlh = nlmsg_put(skb, c->portid, 0, XFRM_MSG_EXPIRE, sizeof(*ue), 0); in build_expire()
2575 nlh = nlmsg_put(skb, c->portid, c->seq, XFRM_MSG_FLUSHSA, sizeof(*p), 0); in xfrm_notify_sa_flush()
2647 nlh = nlmsg_put(skb, c->portid, c->seq, c->event, headlen, 0); in xfrm_notify_sa()
2724 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_ACQUIRE, sizeof(*ua), 0); in build_acquire()
[all …]
/linux-4.4.14/Documentation/connector/
Dcn_test.c72 nlh = nlmsg_put(skb, 0, 0x123, NLMSG_DONE, size - sizeof(*nlh), 0);
/linux-4.4.14/net/bridge/
Dbr_mdb.c136 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in br_mdb_dump()
174 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_mdb_fill()
259 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), NLM_F_MULTI); in nlmsg_populate_rtr_fill()
Dbr_fdb.c639 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in fdb_fill_info()
Dbr_netlink.c351 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags); in br_fill_ifinfo()
/linux-4.4.14/net/ipv4/
Dinet_diag.c125 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_sk_diag_fill()
275 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_twsk_diag_fill()
310 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_req_diag_fill()
1015 nlh = nlmsg_put(skb, 0, 0, SOCK_DIAG_BY_FAMILY, sizeof(*r), 0); in inet_diag_handler_get_info()
Ddevinet.c1514 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), flags); in inet_fill_ifaddr()
1762 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct netconfmsg), in inet_netconf_fill_devconf()
Dfib_semantics.c1222 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in fib_dump_info()
Droute.c2422 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*r), flags); in rt_fill_info()
Dipmr.c2268 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ipmr_fill_mroute()
/linux-4.4.14/drivers/infiniband/core/
Dnetlink.c119 *nlh = nlmsg_put(skb, 0, seq, RDMA_NL_GET_TYPE(client, op), in ibnl_put_msg()
/linux-4.4.14/net/netfilter/
Dnfnetlink_cttimeout.c168 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnl_timeout_fill_info()
423 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in cttimeout_default_fill_info()
Dnf_conntrack_netlink.c482 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnetlink_fill_info()
672 nlh = nlmsg_put(skb, item->portid, 0, type, sizeof(*nfmsg), flags); in ctnetlink_conntrack_event()
1975 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnetlink_ct_stat_cpu_fill_info()
2062 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnetlink_stat_ct_fill_info()
2555 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnetlink_exp_fill_info()
2606 nlh = nlmsg_put(skb, item->portid, 0, type, sizeof(*nfmsg), flags); in ctnetlink_expect_event()
3196 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnetlink_exp_stat_fill_info()
Dnfnetlink_log.c355 struct nlmsghdr *nlh = nlmsg_put(inst->skb, 0, 0, in __nfulnl_send()
416 nlh = nlmsg_put(inst->skb, 0, 0, in __build_packet_message()
Dnfnetlink_acct.c141 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in nfnl_acct_fill_info()
Dnfnetlink_cthelper.c420 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in nfnl_cthelper_fill_info()
Dnf_tables_api.c450 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), flags); in nf_tables_fill_table_info()
969 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), flags); in nf_tables_fill_chain_info()
1799 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), in nf_tables_fill_rule_info()
2456 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), in nf_tables_fill_set()
3163 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), in nf_tables_dump_set()
3245 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), in nf_tables_fill_setelem_info()
3684 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), 0); in nf_tables_fill_gen_info()
Dnft_compat.c499 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in nfnl_compat_fill_info()
Dnfnetlink_queue.c396 nlh = nlmsg_put(skb, 0, 0, in nfqnl_build_packet_message()
/linux-4.4.14/drivers/connector/
Dconnector.c112 nlh = nlmsg_put(skb, 0, msg->seq, NLMSG_DONE, size, 0); in cn_netlink_send_mult()
/linux-4.4.14/net/netlink/
Ddiag.c65 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
Dgenetlink.c502 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN + in genlmsg_put()
/linux-4.4.14/include/net/
Dnetlink.h446 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put() function
471 return nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nlmsg_put_answer()
/linux-4.4.14/net/packet/
Ddiag.c139 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rp), flags); in sk_diag_fill()
/linux-4.4.14/net/sched/
Dact_api.c668 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags); in tca_get_fill()
810 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t), 0); in tca_action_flush()
1068 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tc_dump_action()
Dcls_api.c361 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node()
Dsch_api.c1346 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
1665 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_tclass()
/linux-4.4.14/net/unix/
Ddiag.c118 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
/linux-4.4.14/crypto/
Dcrypto_user.c197 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
/linux-4.4.14/net/ipv6/
Daddrlabel.c473 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill()
Daddrconf.c499 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct netconfmsg), in inet6_netconf_fill_devconf()
4305 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct ifaddrmsg), flags); in inet6_fill_ifaddr()
4366 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct ifaddrmsg), flags); in inet6_fill_ifmcaddr()
4392 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct ifaddrmsg), flags); in inet6_fill_ifacaddr()
4956 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*hdr), flags); in inet6_fill_ifinfo()
5071 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*pmsg), flags); in inet6_fill_prefix()
Dndisc.c1053 nlh = nlmsg_put(skb, 0, 0, RTM_NEWNDUSEROPT, base_size, 0); in ndisc_ra_useropt()
Dip6mr.c2363 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ip6mr_fill_mroute()
Droute.c3066 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*rtm), flags); in rt6_fill_node()
/linux-4.4.14/kernel/
Daudit.c574 nlh = nlmsg_put(skb, portid, seq, t, size, flags); in audit_make_reply()
1277 nlh = nlmsg_put(ab->skb, 0, 0, type, 0, 0); in audit_buffer_alloc()
/linux-4.4.14/net/core/
Dneighbour.c1795 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_info()
1886 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_param_info()
2156 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in neigh_fill_info()
2208 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in pneigh_fill_info()
Dfib_rules.c567 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*frh), flags); in fib_nl_fill_rule()
Dnet_namespace.c597 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rth), flags); in rtnl_net_fill()
Drtnetlink.c1205 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags); in rtnl_fill_ifinfo()
2574 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill()
3011 nlh = nlmsg_put(skb, pid, seq, RTM_NEWLINK, sizeof(*ifm), nlflags); in ndo_dflt_bridge_getlink()
/linux-4.4.14/net/wireless/
Dwext-core.c423 nlh = nlmsg_put(skb, 0, 0, RTM_NEWLINK, sizeof(*r), 0); in rtnetlink_ifinfo_prep()
/linux-4.4.14/net/decnet/
Ddn_table.c306 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in dn_fib_dump_info()
Ddn_dev.c686 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), flags); in dn_nl_fill_ifaddr()
Ddn_route.c1563 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*r), flags); in dn_rt_fill_info()
/linux-4.4.14/net/switchdev/
Dswitchdev.c1034 nlh = nlmsg_put(dump->skb, portid, seq, RTM_NEWNEIGH, in switchdev_port_fdb_dump_cb()
/linux-4.4.14/net/can/
Dgw.c491 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*rtcan), flags); in cgw_put_job()
/linux-4.4.14/drivers/net/team/
Dteam.c2377 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); in team_nl_send_options_get()
2655 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); in team_nl_send_port_list_get()
/linux-4.4.14/net/mpls/
Daf_mpls.c1227 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in mpls_dump_route()
/linux-4.4.14/drivers/scsi/
Dscsi_transport_fc.c557 nlh = nlmsg_put(skb, 0, 0, SCSI_TRANSPORT_MSG, len, 0); in fc_host_post_event()
625 nlh = nlmsg_put(skb, 0, 0, SCSI_TRANSPORT_MSG, len, 0); in fc_host_post_vendor_event()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c752 nlh = nlmsg_put(skb, portid, seq, cmd | (NFNL_SUBSYS_IPSET << 8), in start_msg()
/linux-4.4.14/net/dcb/
Ddcbnl.c207 nlh = nlmsg_put(skb, port, seq, type, sizeof(*dcb), flags); in dcbnl_newmsg()
/linux-4.4.14/drivers/net/
Dvxlan.c283 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in vxlan_fdb_info()