Home
last modified time | relevance | path

Searched refs:NLMSG_DATA (Results 1 – 25 of 36) sorted by relevance

12

/linux-3.4.99/security/selinux/
Dnetlink.c50 struct selnl_msg_setenforce *msg = NLMSG_DATA(nlh); in selnl_add_payload()
58 struct selnl_msg_policyload *msg = NLMSG_DATA(nlh); in selnl_add_payload()
/linux-3.4.99/net/ieee802154/
Dnetlink.c68 void *hdr = genlmsg_data(NLMSG_DATA(msg->data)); in ieee802154_nl_mcast()
101 void *hdr = genlmsg_data(NLMSG_DATA(msg->data)); in ieee802154_nl_reply()
/linux-3.4.99/drivers/scsi/
Dscsi_netlink.c108 hdr = NLMSG_DATA(nlh); in scsi_nl_rcv_msg()
222 struct scsi_nl_hdr *snlh = NLMSG_DATA(nlh); in scsi_generic_msg_handler()
233 struct scsi_nl_host_vendor_msg *msg = NLMSG_DATA(nlh); in scsi_generic_msg_handler()
582 datab = NLMSG_DATA(nlh); in scsi_nl_send_transport_msg()
654 msg = NLMSG_DATA(nlh); in scsi_nl_send_vendor_msg()
Dscsi_transport_iscsi.c1363 ev = NLMSG_DATA(nlh); in iscsi_recv_pdu()
1393 ev = NLMSG_DATA(nlh); in iscsi_offload_mesg()
1432 ev = NLMSG_DATA(nlh); in iscsi_conn_error_event()
1467 ev = NLMSG_DATA(nlh); in iscsi_conn_login_event()
1497 ev = NLMSG_DATA(nlh); in iscsi_post_host_event()
1527 ev = NLMSG_DATA(nlh); in iscsi_ping_comp_event()
1558 memcpy(NLMSG_DATA(nlh), payload, size); in iscsi_if_send_reply()
1565 struct iscsi_uevent *ev = NLMSG_DATA(nlh); in iscsi_if_get_stats()
1598 evstat = NLMSG_DATA(nlhstat); in iscsi_if_get_stats()
1656 ev = NLMSG_DATA(nlh); in iscsi_session_event()
[all …]
/linux-3.4.99/Documentation/connector/
Ducon.c77 m = NLMSG_DATA(nlh); in netlink_send()
236 data = (struct cn_msg *)NLMSG_DATA(reply); in main()
Dcn_test.c74 msg = (struct cn_msg *)NLMSG_DATA(nlh);
/linux-3.4.99/net/unix/
Ddiag.c132 rep = NLMSG_DATA(nlh); in sk_diag_fill()
193 req = NLMSG_DATA(cb->nlh); in unix_diag_dump()
311 return unix_diag_get_exact(skb, h, (struct unix_diag_req *)NLMSG_DATA(h)); in unix_diag_handler_dump()
/linux-3.4.99/drivers/connector/
Dconnector.c106 data = NLMSG_DATA(nlh); in cn_netlink_send()
127 struct cn_msg *msg = NLMSG_DATA(nlmsg_hdr(skb)); in cn_call_callback()
/linux-3.4.99/net/tipc/
Dnetlink.c56 NLMSG_DATA(req_nlh) + GENL_HDRLEN + TIPC_GENL_HDRLEN, in handle_cmd()
/linux-3.4.99/net/ipv4/
Dinet_diag.c97 r = NLMSG_DATA(nlh); in inet_sk_diag_fill()
223 r = NLMSG_DATA(nlh); in inet_twsk_diag_fill()
712 r = NLMSG_DATA(nlh); in inet_diag_fill_req()
1006 return __inet_diag_dump(skb, cb, (struct inet_diag_req_v2 *)NLMSG_DATA(cb->nlh), bc); in inet_diag_dump()
1023 struct inet_diag_req *rc = NLMSG_DATA(cb->nlh); in inet_diag_dump_compat()
1043 struct inet_diag_req *rc = NLMSG_DATA(nlh); in inet_diag_get_exact_compat()
1110 return inet_diag_get_exact(skb, h, (struct inet_diag_req_v2 *)NLMSG_DATA(h)); in inet_diag_handler_dump()
/linux-3.4.99/net/dcb/
Ddcbnl.c213 dcb = NLMSG_DATA(nlh); in dcbnl_reply()
277 dcb = NLMSG_DATA(nlh); in dcbnl_getpfccfg()
335 dcb = NLMSG_DATA(nlh); in dcbnl_getperm_hwaddr()
385 dcb = NLMSG_DATA(nlh); in dcbnl_getcap()
455 dcb = NLMSG_DATA(nlh); in dcbnl_getnumtcs()
626 dcb = NLMSG_DATA(nlh); in dcbnl_getapp()
744 dcb = NLMSG_DATA(nlh); in __dcbnl_pg_getcfg()
1077 dcb = NLMSG_DATA(nlh); in dcbnl_bcn_getcfg()
1532 dcb = NLMSG_DATA(nlh); in dcbnl_notify()
1654 dcb = NLMSG_DATA(nlh); in dcbnl_ieee_get()
[all …]
/linux-3.4.99/net/decnet/netfilter/
Ddn_rtmsg.c49 rtm = (struct nf_dn_rtmsg *)NLMSG_DATA(nlh); in dnrmg_build_message()
/linux-3.4.99/net/sched/
Dcls_api.c143 t = NLMSG_DATA(n); in tc_ctl_tfilter()
353 tcm = NLMSG_DATA(nlh); in tcf_fill_node()
420 struct tcmsg *tcm = (struct tcmsg *)NLMSG_DATA(cb->nlh); in tc_dump_tfilter()
Dact_api.c654 t = NLMSG_DATA(nlh); in tca_get_fill()
800 t = NLMSG_DATA(nlh); in tca_action_flush()
920 t = NLMSG_DATA(nlh); in tcf_add_notify()
1062 struct tcamsg *t = (struct tcamsg *) NLMSG_DATA(cb->nlh); in tc_dump_action()
1085 t = NLMSG_DATA(nlh); in tc_dump_action()
Dsch_api.c975 struct tcmsg *tcm = NLMSG_DATA(n); in tc_get_qdisc()
1048 tcm = NLMSG_DATA(n); in tc_modify_qdisc()
1196 tcm = NLMSG_DATA(nlh); in tc_fill_qdisc()
1367 struct tcmsg *tcm = NLMSG_DATA(n); in tc_ctl_tclass()
1500 tcm = NLMSG_DATA(nlh); in tc_fill_tclass()
1616 struct tcmsg *tcm = (struct tcmsg *)NLMSG_DATA(cb->nlh); in tc_dump_tclass()
/linux-3.4.99/net/netfilter/
Dnfnetlink_queue.c277 nfmsg = NLMSG_DATA(nlh); in nfqnl_build_packet_message()
665 struct nfgenmsg *nfmsg = NLMSG_DATA(nlh); in nfqnl_recv_verdict_batch()
711 struct nfgenmsg *nfmsg = NLMSG_DATA(nlh); in nfqnl_recv_verdict()
772 struct nfgenmsg *nfmsg = NLMSG_DATA(nlh); in nfqnl_recv_config()
/linux-3.4.99/drivers/infiniband/core/
Dnetlink.c114 return NLMSG_DATA(*nlh); in ibnl_put_msg()
/linux-3.4.99/Documentation/accounting/
Dgetdelays.c36 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
455 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
/linux-3.4.99/net/core/
Dsock_diag.c123 struct sock_diag_req *req = NLMSG_DATA(nlh); in __sock_diag_rcv_msg()
/linux-3.4.99/net/ipv4/netfilter/
Dip_queue.c184 pmsg = NLMSG_DATA(nlh); in ipq_build_packet_message()
452 status = ipq_receive_peer(NLMSG_DATA(nlh), type, in __ipq_rcv_skb()
/linux-3.4.99/net/ipv6/netfilter/
Dip6_queue.c185 pmsg = NLMSG_DATA(nlh); in ipq_build_packet_message()
454 status = ipq_receive_peer(NLMSG_DATA(nlh), type, in __ipq_rcv_skb()
/linux-3.4.99/include/linux/
Dnetlink.h83 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) macro
/linux-3.4.99/kernel/
Daudit.c387 char *data = NLMSG_DATA(nlh); in audit_printk_skb()
520 data = NLMSG_DATA(nlh); in audit_make_reply()
683 data = NLMSG_DATA(nlh); in audit_receive_msg()
/linux-3.4.99/net/bridge/netfilter/
Debt_ulog.c160 pm = NLMSG_DATA(nlh); in ebt_ulog_packet()
/linux-3.4.99/net/decnet/
Ddn_fib.c513 struct rtmsg *r = NLMSG_DATA(nlh); in dn_fib_rtm_delroute()
533 struct rtmsg *r = NLMSG_DATA(nlh); in dn_fib_rtm_newroute()

12