Home
last modified time | relevance | path

Searched refs:nlh (Results 1 – 2 of 2) sorted by relevance

/security/selinux/
Dnetlink.c46 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload() argument
50 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()
75 struct nlmsghdr *nlh; in selnl_notify() local
84 nlh = nlmsg_put(skb, 0, 0, msgtype, len, 0); in selnl_notify()
85 if (!nlh) in selnl_notify()
87 selnl_add_payload(nlh, len, msgtype, data); in selnl_notify()
88 nlh->nlmsg_len = skb->tail - tmp; in selnl_notify()
Dhooks.c5143 struct nlmsghdr *nlh; in selinux_nlmsg_perm() local
5150 nlh = nlmsg_hdr(skb); in selinux_nlmsg_perm()
5152 err = selinux_nlmsg_lookup(sksec->sclass, nlh->nlmsg_type, &perm); in selinux_nlmsg_perm()
5158 sk->sk_protocol, nlh->nlmsg_type, in selinux_nlmsg_perm()