Home
last modified time | relevance | path

Searched refs:nlmsg_type (Results 1 – 25 of 35) sorted by relevance

12

/linux-3.4.99/security/selinux/
Dnlmsgtab.c27 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/
Dpn_netlink.c94 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/
Dgetdelays.c120 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/
Ducon.c73 nlh->nlmsg_type = NLMSG_DONE; in netlink_send()
230 switch (reply->nlmsg_type) { in main()
/linux-3.4.99/net/sched/
Dcls_api.c152 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()
Dsch_api.c1018 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()
Dact_api.c995 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/
Dnfnetlink.c139 type = nlh->nlmsg_type; in nfnetlink_rcv_msg()
165 u_int8_t cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type); in nfnetlink_rcv_msg()
Dnfnetlink_acct.c153 NFNL_MSG_TYPE(cb->nlh->nlmsg_type), in nfnl_acct_dump()
198 NFNL_MSG_TYPE(nlh->nlmsg_type), in nfnl_acct_get()
Dnfnetlink_cttimeout.c223 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/
Dinet_diag.c94 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/
Dipt_ULOG.c103 ub->lastnlh->nlmsg_type = NLMSG_DONE; in ulog_send()
261 nlh->nlmsg_type = NLMSG_DONE; in ipt_ulog_packet()
Dip_queue.c427 type = nlh->nlmsg_type; in __ipq_rcv_skb()
/linux-3.4.99/drivers/infiniband/core/
Dnetlink.c141 int type = nlh->nlmsg_type; in ibnl_rcv_msg()
/linux-3.4.99/net/core/
Dsock_diag.c146 switch (nlh->nlmsg_type) { in sock_diag_rcv_msg()
/linux-3.4.99/security/selinux/include/
Dsecurity.h226 extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);
/linux-3.4.99/net/xfrm/
Dxfrm_user.c611 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/
Dnetlink.h43 __u16 nlmsg_type; /* Message content */ member
/linux-3.4.99/net/wimax/
Dop-msg.c402 nlh->nlmsg_len, nlh->nlmsg_type, nlh->nlmsg_flags, in wimax_gnl_doit_msg_from_user()
/linux-3.4.99/kernel/
Daudit.c389 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/
Debt_ulog.c81 ub->lastnlh->nlmsg_type = NLMSG_DONE; in ulog_send()
/linux-3.4.99/drivers/scsi/
Dscsi_transport_iscsi.c1601 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()
Dscsi_netlink.c103 if (nlh->nlmsg_type != SCSI_TRANSPORT_MSG) { in scsi_nl_rcv_msg()
/linux-3.4.99/crypto/
Dcrypto_user.c448 type = nlh->nlmsg_type; in crypto_user_rcv_msg()
/linux-3.4.99/net/ipv6/netfilter/
Dip6_queue.c428 type = nlh->nlmsg_type; in __ipq_rcv_skb()

12