/system/vold/ |
NetlinkManager.cpp | 51 struct sockaddr_nl nladdr; local 55 memset(&nladdr, 0, sizeof(nladdr)); 56 nladdr.nl_family = AF_NETLINK; 57 nladdr.nl_pid = getpid(); 58 nladdr.nl_groups = 0xffffffff; 76 if (bind(mSock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) {
|
/system/netd/ |
NetlinkManager.cpp | 56 struct sockaddr_nl nladdr; local 60 memset(&nladdr, 0, sizeof(nladdr)); 61 nladdr.nl_family = AF_NETLINK; 62 nladdr.nl_pid = getpid(); 63 nladdr.nl_groups = groups; 82 if (bind(*sock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) {
|
/external/iproute2/lib/ |
libnetlink.c | 158 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; local 164 .msg_name = &nladdr, 165 .msg_namelen = sizeof(nladdr), 182 struct sockaddr_nl nladdr; local 185 .msg_name = &nladdr, 186 .msg_namelen = sizeof(nladdr), 222 if (nladdr.nl_pid != 0 || 242 err = a->filter(&nladdr, h, a->arg1); 283 struct sockaddr_nl nladdr; local 289 .msg_name = &nladdr, 400 struct sockaddr_nl nladdr; local 473 struct sockaddr_nl nladdr; local [all...] |
/external/iputils/ninfod/ |
ni_ifaddrs.c | 116 struct sockaddr_nl nladdr; local 132 memset(&nladdr, 0, sizeof(nladdr)); 133 nladdr.nl_family = AF_NETLINK; 134 return (sendto(sd, (void *) req_hdr, req_hdr->nlmsg_len, 0, (struct sockaddr *) &nladdr, sizeof(nladdr))); 141 struct sockaddr_nl nladdr; local 145 msg.msg_name = (void *) &nladdr; 146 msg.msg_namelen = sizeof(nladdr); 297 struct sockaddr_nl nladdr; local [all...] |
/external/libselinux/src/ |
avc_internal.c | 104 struct sockaddr_nl nladdr; local 105 socklen_t nladdrlen = sizeof nladdr; 122 rc = recvfrom(fd, buf, buflen, 0, (struct sockaddr *)&nladdr, 127 if (nladdrlen != sizeof nladdr) { 134 if (nladdr.nl_pid) { 137 avc_prefix, nladdr.nl_pid);
|
/external/dnsmasq/src/ |
netlink.c | 78 struct sockaddr_nl nladdr; local 85 msg.msg_name = &nladdr; 86 msg.msg_namelen = sizeof(nladdr); 111 if (rc == -1 || nladdr.nl_pid == 0)
|
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 126 struct sockaddr_nl nladdr; local 137 (void*)&nladdr, sizeof(nladdr), 151 if (nladdr.nl_pid) /* Message not from kernel */ 220 struct sockaddr_nl nladdr; local 229 memset(&nladdr, 0, sizeof(nladdr)); 230 nladdr.nl_family = AF_NETLINK; 239 if (sendto(fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr)) < 0) [all...] |
/external/iproute2/misc/ |
arpd.c | 438 struct sockaddr_nl nladdr; local 442 (void*)&nladdr, sizeof(nladdr), 448 memset(&nladdr, 0, sizeof(nladdr)); 458 if (msg.msg_namelen != sizeof(nladdr)) 461 if (nladdr.nl_pid)
|
ss.c | 1492 struct sockaddr_nl nladdr; local 1507 memset(&nladdr, 0, sizeof(nladdr)) 2109 struct sockaddr_nl nladdr; local [all...] |
/external/iproute2/tc/ |
m_action.c | 380 struct sockaddr_nl nladdr; local 395 memset(&nladdr, 0, sizeof(nladdr)); 396 nladdr.nl_family = AF_NETLINK;
|
/external/iproute2/ip/ |
iproute.c | 1026 struct sockaddr_nl nladdr; local 1028 memset(&nladdr, 0, sizeof(nladdr)); 1030 nladdr.nl_family = AF_NETLINK; 1040 return sendto(rth->fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr)); [all...] |