/linux-3.4.99/security/selinux/ |
D | nlmsgtab.c | 27 u16 nlmsg_type; member 124 static int nlmsg_perm(u16 nlmsg_type, u32 *perm, struct nlmsg_perm *tab, size_t tabsize) in nlmsg_perm() argument 129 if (nlmsg_type == tab[i].nlmsg_type) { in nlmsg_perm() 138 int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) in selinux_nlmsg_lookup() argument 144 err = nlmsg_perm(nlmsg_type, perm, nlmsg_route_perms, in selinux_nlmsg_lookup() 150 err = nlmsg_perm(nlmsg_type, perm, nlmsg_firewall_perms, in selinux_nlmsg_lookup() 155 err = nlmsg_perm(nlmsg_type, perm, nlmsg_tcpdiag_perms, in selinux_nlmsg_lookup() 160 err = nlmsg_perm(nlmsg_type, perm, nlmsg_xfrm_perms, in selinux_nlmsg_lookup() 165 if ((nlmsg_type >= AUDIT_FIRST_USER_MSG && in selinux_nlmsg_lookup() 166 nlmsg_type <= AUDIT_LAST_USER_MSG) || in selinux_nlmsg_lookup() [all …]
|
/linux-3.4.99/net/phonet/ |
D | pn_netlink.c | 94 if (nlh->nlmsg_type == RTM_NEWADDR) in addr_doit() 99 phonet_address_notify(nlh->nlmsg_type, dev, pnaddr); in addr_doit() 253 if (nlh->nlmsg_type == RTM_NEWROUTE) in route_doit() 258 rtm_phonet_notify(nlh->nlmsg_type, dev, dst); in route_doit()
|
/linux-3.4.99/Documentation/accounting/ |
D | getdelays.c | 120 static int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd() argument 132 msg.n.nlmsg_type = nlmsg_type; in send_cmd() 184 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id() 453 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
|
/linux-3.4.99/Documentation/connector/ |
D | ucon.c | 73 nlh->nlmsg_type = NLMSG_DONE; in netlink_send() 230 switch (reply->nlmsg_type) { in main()
|
/linux-3.4.99/net/sched/ |
D | cls_api.c | 152 if (n->nlmsg_type != RTM_NEWTFILTER || in tc_ctl_tfilter() 222 if (n->nlmsg_type != RTM_NEWTFILTER || in tc_ctl_tfilter() 283 if (n->nlmsg_type == RTM_DELTFILTER && t->tcm_handle == 0) { in tc_ctl_tfilter() 295 if (n->nlmsg_type != RTM_NEWTFILTER || in tc_ctl_tfilter() 299 switch (n->nlmsg_type) { in tc_ctl_tfilter()
|
D | sch_api.c | 1018 if (n->nlmsg_type == RTM_DELQDISC) { in tc_get_qdisc() 1448 if (n->nlmsg_type != RTM_NEWTCLASS || in tc_ctl_tclass() 1452 switch (n->nlmsg_type) { in tc_ctl_tclass()
|
D | act_api.c | 995 switch (n->nlmsg_type) { in tc_ctl_action() 1084 cb->nlh->nlmsg_type, sizeof(*t)); in tc_dump_action()
|
/linux-3.4.99/net/netfilter/ |
D | nfnetlink.c | 139 type = nlh->nlmsg_type; in nfnetlink_rcv_msg() 165 u_int8_t cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type); in nfnetlink_rcv_msg()
|
D | nfnetlink_acct.c | 153 NFNL_MSG_TYPE(cb->nlh->nlmsg_type), in nfnl_acct_dump() 198 NFNL_MSG_TYPE(nlh->nlmsg_type), in nfnl_acct_get()
|
D | nfnetlink_cttimeout.c | 223 NFNL_MSG_TYPE(cb->nlh->nlmsg_type), in ctnl_timeout_dump() 269 NFNL_MSG_TYPE(nlh->nlmsg_type), in cttimeout_get_timeout()
|
/linux-3.4.99/net/ipv4/ |
D | inet_diag.c | 94 nlh = NLMSG_PUT(skb, pid, seq, unlh->nlmsg_type, sizeof(*r)); in inet_sk_diag_fill() 221 unlh->nlmsg_type, sizeof(*r)); in inet_twsk_diag_fill() 710 nlh = NLMSG_PUT(skb, pid, seq, unlh->nlmsg_type, sizeof(*r)); in inet_diag_fill_req() 1029 req.sdiag_protocol = inet_diag_type2proto(cb->nlh->nlmsg_type); in inet_diag_dump_compat() 1047 req.sdiag_protocol = inet_diag_type2proto(nlh->nlmsg_type); in inet_diag_get_exact_compat() 1059 if (nlh->nlmsg_type >= INET_DIAG_GETSOCK_MAX || in inet_diag_rcv_msg_compat()
|
/linux-3.4.99/net/ipv4/netfilter/ |
D | ipt_ULOG.c | 103 ub->lastnlh->nlmsg_type = NLMSG_DONE; in ulog_send() 261 nlh->nlmsg_type = NLMSG_DONE; in ipt_ulog_packet()
|
D | ip_queue.c | 427 type = nlh->nlmsg_type; in __ipq_rcv_skb()
|
/linux-3.4.99/drivers/infiniband/core/ |
D | netlink.c | 141 int type = nlh->nlmsg_type; in ibnl_rcv_msg()
|
/linux-3.4.99/net/core/ |
D | sock_diag.c | 146 switch (nlh->nlmsg_type) { in sock_diag_rcv_msg()
|
/linux-3.4.99/security/selinux/include/ |
D | security.h | 226 extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);
|
/linux-3.4.99/net/xfrm/ |
D | xfrm_user.c | 611 if (nlh->nlmsg_type == XFRM_MSG_NEWSA) in xfrm_add_sa() 627 c.event = nlh->nlmsg_type; in xfrm_add_sa() 700 c.event = nlh->nlmsg_type; in xfrm_del_sa() 1395 excl = nlh->nlmsg_type == XFRM_MSG_NEWPOLICY; in xfrm_add_policy() 1406 c.event = nlh->nlmsg_type; in xfrm_add_policy() 1591 delete = nlh->nlmsg_type == XFRM_MSG_DELPOLICY; in xfrm_get_policy() 1649 c.event = nlh->nlmsg_type; in xfrm_get_policy() 1679 c.event = nlh->nlmsg_type; in xfrm_flush_sa() 1827 c.event = nlh->nlmsg_type; in xfrm_new_ae() 1862 c.event = nlh->nlmsg_type; in xfrm_flush_policy() [all …]
|
/linux-3.4.99/include/linux/ |
D | netlink.h | 43 __u16 nlmsg_type; /* Message content */ member
|
/linux-3.4.99/net/wimax/ |
D | op-msg.c | 402 nlh->nlmsg_len, nlh->nlmsg_type, nlh->nlmsg_flags, in wimax_gnl_doit_msg_from_user()
|
/linux-3.4.99/kernel/ |
D | audit.c | 389 if (nlh->nlmsg_type != AUDIT_EOE) { in audit_printk_skb() 391 printk(KERN_NOTICE "type=%d %s\n", nlh->nlmsg_type, data); in audit_printk_skb() 656 u16 msg_type = nlh->nlmsg_type; in audit_receive_msg()
|
/linux-3.4.99/net/bridge/netfilter/ |
D | ebt_ulog.c | 81 ub->lastnlh->nlmsg_type = NLMSG_DONE; in ulog_send()
|
/linux-3.4.99/drivers/scsi/ |
D | scsi_transport_iscsi.c | 1601 evstat->type = nlh->nlmsg_type; in iscsi_if_get_stats() 2051 evchap->type = nlh->nlmsg_type; in iscsi_get_chap() 2106 if (nlh->nlmsg_type == ISCSI_UEVENT_PATH_UPDATE) in iscsi_if_recv_msg() 2119 switch (nlh->nlmsg_type) { in iscsi_if_recv_msg() 2225 err = iscsi_if_transport_ep(transport, ev, nlh->nlmsg_type); in iscsi_if_recv_msg() 2301 nlh->nlmsg_type, 0, 0, ev, sizeof(*ev)); in iscsi_if_rx()
|
D | scsi_netlink.c | 103 if (nlh->nlmsg_type != SCSI_TRANSPORT_MSG) { in scsi_nl_rcv_msg()
|
/linux-3.4.99/crypto/ |
D | crypto_user.c | 448 type = nlh->nlmsg_type; in crypto_user_rcv_msg()
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | ip6_queue.c | 428 type = nlh->nlmsg_type; in __ipq_rcv_skb()
|