Searched refs:nladdr (Results 1 – 3 of 3) sorted by relevance
/third_party/selinux/libselinux/src/ |
D | avc_internal.c | 146 struct sockaddr_nl nladdr; in avc_netlink_receive() local 147 socklen_t nladdrlen = sizeof nladdr; in avc_netlink_receive() 164 rc = recvfrom(fd, buf, buflen, 0, (struct sockaddr *)&nladdr, in avc_netlink_receive() 169 if (nladdrlen != sizeof nladdr) { in avc_netlink_receive() 176 if (nladdr.nl_pid) { in avc_netlink_receive() 179 avc_prefix, nladdr.nl_pid); in avc_netlink_receive()
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
D | cgroup_regression_getdelays.c | 127 struct sockaddr_nl nladdr; in send_cmd() local 148 memset(&nladdr, 0, sizeof(nladdr)); in send_cmd() 149 nladdr.nl_family = AF_NETLINK; in send_cmd() 150 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *)&nladdr, in send_cmd() 151 sizeof(nladdr))) < buflen) { in send_cmd()
|
/third_party/libwebsockets/lib/roles/netlink/ |
D | ops-netlink.c | 71 struct sockaddr_nl nladdr; in rops_handle_POLLIN_netlink() local 87 msg.msg_name = (void *)&(nladdr); in rops_handle_POLLIN_netlink() 88 msg.msg_namelen = sizeof(nladdr); in rops_handle_POLLIN_netlink()
|