/system/vold/ |
NetlinkManager.cpp | 52 struct sockaddr_nl nladdr; local 56 memset(&nladdr, 0, sizeof(nladdr)); 57 nladdr.nl_family = AF_NETLINK; 58 nladdr.nl_pid = getpid(); 59 nladdr.nl_groups = 0xffffffff; 80 if (bind(mSock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) {
|
/external/strace/tests/ |
netlink_netlink_diag.c | 43 struct sockaddr_nl nladdr = { local 66 .msg_name = (void *) &nladdr, 67 .msg_namelen = sizeof(nladdr), 84 struct sockaddr_nl nladdr = { local 92 .msg_name = (void *) &nladdr, 93 .msg_namelen = sizeof(nladdr),
|
netlink_inet_diag.c | 42 struct sockaddr_nl nladdr = { local 65 .msg_name = (void *) &nladdr, 66 .msg_namelen = sizeof(nladdr), 83 struct sockaddr_nl nladdr = { local 91 .msg_name = (void *) &nladdr, 92 .msg_namelen = sizeof(nladdr),
|
netlink_unix_diag.c | 46 struct sockaddr_nl nladdr = { local 69 .msg_name = (void *) &nladdr, 70 .msg_namelen = sizeof(nladdr), 87 struct sockaddr_nl nladdr = { local 95 .msg_name = (void *) &nladdr, 96 .msg_namelen = sizeof(nladdr),
|
/external/strace/tests-m32/ |
netlink_netlink_diag.c | 43 struct sockaddr_nl nladdr = { local 66 .msg_name = (void *) &nladdr, 67 .msg_namelen = sizeof(nladdr), 84 struct sockaddr_nl nladdr = { local 92 .msg_name = (void *) &nladdr, 93 .msg_namelen = sizeof(nladdr),
|
netlink_inet_diag.c | 42 struct sockaddr_nl nladdr = { local 65 .msg_name = (void *) &nladdr, 66 .msg_namelen = sizeof(nladdr), 83 struct sockaddr_nl nladdr = { local 91 .msg_name = (void *) &nladdr, 92 .msg_namelen = sizeof(nladdr),
|
netlink_unix_diag.c | 46 struct sockaddr_nl nladdr = { local 69 .msg_name = (void *) &nladdr, 70 .msg_namelen = sizeof(nladdr), 87 struct sockaddr_nl nladdr = { local 95 .msg_name = (void *) &nladdr, 96 .msg_namelen = sizeof(nladdr),
|
/external/strace/tests-mx32/ |
netlink_netlink_diag.c | 43 struct sockaddr_nl nladdr = { local 66 .msg_name = (void *) &nladdr, 67 .msg_namelen = sizeof(nladdr), 84 struct sockaddr_nl nladdr = { local 92 .msg_name = (void *) &nladdr, 93 .msg_namelen = sizeof(nladdr),
|
netlink_inet_diag.c | 42 struct sockaddr_nl nladdr = { local 65 .msg_name = (void *) &nladdr, 66 .msg_namelen = sizeof(nladdr), 83 struct sockaddr_nl nladdr = { local 91 .msg_name = (void *) &nladdr, 92 .msg_namelen = sizeof(nladdr),
|
netlink_unix_diag.c | 46 struct sockaddr_nl nladdr = { local 69 .msg_name = (void *) &nladdr, 70 .msg_namelen = sizeof(nladdr), 87 struct sockaddr_nl nladdr = { local 95 .msg_name = (void *) &nladdr, 96 .msg_namelen = sizeof(nladdr),
|
/system/netd/server/ |
NetlinkManager.cpp | 74 struct sockaddr_nl nladdr; local 78 memset(&nladdr, 0, sizeof(nladdr)); 79 nladdr.nl_family = AF_NETLINK; 81 nladdr.nl_pid = 0; 82 nladdr.nl_groups = groups; 101 if (bind(*sock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) {
|
/external/libnfnetlink/src/ |
rtnl.c | 117 struct sockaddr_nl nladdr; local 119 memset(&nladdr, 0, sizeof(nladdr)); 121 nladdr.nl_family = AF_NETLINK; 131 (struct sockaddr*)&nladdr, sizeof(nladdr)); 139 struct sockaddr_nl nladdr; local 144 .msg_name = &nladdr, 145 .msg_namelen = sizeof(nladdr), 161 if (msg.msg_namelen != sizeof(nladdr)) { [all...] |
libnfnetlink.c | 648 struct sockaddr_nl nladdr; local 657 .msg_name = &nladdr, 658 .msg_namelen = sizeof(nladdr), 663 memset(&nladdr, 0, sizeof(nladdr)); 664 nladdr.nl_family = AF_NETLINK; 685 if (msg.msg_namelen != sizeof(nladdr)) { 716 err = handler(&nladdr, h, jarg); 759 struct sockaddr_nl nladdr; local 767 .msg_name = &nladdr, [all...] |
/cts/hostsidetests/security/securityPatch/Bug-36730104/ |
poc.c | 464 struct sockaddr_nl nladdr; local 485 memset(&nladdr, 0, sizeof(nladdr)); 486 nladdr.nl_family = AF_NETLINK; 489 sendto(sd, buf, buflen, 0, (struct sockaddr *)&nladdr, sizeof(nladdr))) { 527 struct sockaddr_nl nladdr; local 554 memset(&nladdr, 0, sizeof(nladdr)); 555 nladdr.nl_family = AF_NETLINK 583 struct sockaddr_nl nladdr; local 653 struct sockaddr_nl nladdr; local [all...] |
/cts/hostsidetests/security/securityPatch/Bug-36817053/ |
poc.c | 812 struct sockaddr_nl nladdr; local 876 struct sockaddr_nl nladdr; local 933 struct sockaddr_nl nladdr; local 1002 struct sockaddr_nl nladdr; local [all...] |
/cts/hostsidetests/security/securityPatch/Bug-36818198/ |
poc.c | 810 struct sockaddr_nl nladdr; local 875 struct sockaddr_nl nladdr; local 932 struct sockaddr_nl nladdr; local 1002 struct sockaddr_nl nladdr; local [all...] |
/external/iproute2/lib/ |
libnetlink.c | 173 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; local 179 .msg_name = &nladdr, 180 .msg_namelen = sizeof(nladdr), 196 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; local 202 .msg_name = &nladdr, 203 .msg_namelen = sizeof(nladdr), 218 struct sockaddr_nl nladdr; local 221 .msg_name = &nladdr, 222 .msg_namelen = sizeof(nladdr), 264 if (nladdr.nl_pid != 0 | 340 struct sockaddr_nl nladdr; local 473 struct sockaddr_nl nladdr; local 570 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...] |
/system/core/logd/ |
libaudit.c | 215 struct sockaddr_nl nladdr; local 216 socklen_t nladdrlen = sizeof(nladdr); 232 (struct sockaddr*)&nladdr, &nladdrlen)); 246 if (nladdrlen != sizeof(nladdr)) { 251 if (nladdr.nl_pid) {
|
/external/selinux/libselinux/src/ |
avc_internal.c | 103 struct sockaddr_nl nladdr; local 104 socklen_t nladdrlen = sizeof nladdr; 121 rc = recvfrom(fd, buf, buflen, 0, (struct sockaddr *)&nladdr, 126 if (nladdrlen != sizeof nladdr) { 133 if (nladdr.nl_pid) { 136 avc_prefix, nladdr.nl_pid);
|
/frameworks/base/services/core/jni/ |
com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp | 39 inline const sockaddr * asSockaddr(const sockaddr_nl *nladdr) { 40 return reinterpret_cast<const sockaddr *>(nladdr);
|
/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/ltp/testcases/kernel/controllers/cgroup/ |
getdelays.c | 130 struct sockaddr_nl nladdr; local 151 memset(&nladdr, 0, sizeof(nladdr)); 152 nladdr.nl_family = AF_NETLINK; 153 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *)&nladdr, 154 sizeof(nladdr))) < buflen) {
|
/external/strace/ |
socketutils.c | 90 struct sockaddr_nl nladdr = { local 98 .msg_name = &nladdr, 99 .msg_namelen = sizeof(nladdr), 202 struct sockaddr_nl nladdr = { local 213 .msg_name = &nladdr, 214 .msg_namelen = sizeof(nladdr),
|
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 130 struct sockaddr_nl nladdr; local 141 (void*)&nladdr, sizeof(nladdr), 155 if (nladdr.nl_pid) /* Message not from kernel */ 224 struct sockaddr_nl nladdr; local 233 memset(&nladdr, 0, sizeof(nladdr)); 234 nladdr.nl_family = AF_NETLINK; 243 if (sendto(fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr)) < 0) [all...] |