/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 | 151 struct sockaddr_nl nladdr; local 157 .msg_name = &nladdr, 158 .msg_namelen = sizeof(nladdr), 163 memset(&nladdr, 0, sizeof(nladdr)); 164 nladdr.nl_family = AF_NETLINK; 178 struct sockaddr_nl nladdr; local 181 .msg_name = &nladdr, 182 .msg_namelen = sizeof(nladdr), 215 if (nladdr.nl_pid != 0 | 281 struct sockaddr_nl nladdr; local 404 struct sockaddr_nl nladdr; local 477 struct sockaddr_nl nladdr; local [all...] |
/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 | 445 struct sockaddr_nl nladdr; local 457 memset(&nladdr, 0, sizeof(nladdr)); 458 nladdr.nl_family = AF_NETLINK; 461 (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) 555 struct sockaddr_nl nladdr; local 558 .msg_name = &nladdr, 559 .msg_namelen = sizeof(nladdr),
|
/external/iproute2/misc/ |
arpd.c | 436 struct sockaddr_nl nladdr; local 440 (void*)&nladdr, sizeof(nladdr), 446 memset(&nladdr, 0, sizeof(nladdr)); 456 if (msg.msg_namelen != sizeof(nladdr)) 459 if (nladdr.nl_pid)
|
ss.c | 1471 struct sockaddr_nl nladdr; local 1486 memset(&nladdr, 0, sizeof(nladdr)); 1487 nladdr.nl_family = AF_NETLINK; [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 | 997 struct sockaddr_nl nladdr; local 999 memset(&nladdr, 0, sizeof(nladdr)); 1001 nladdr.nl_family = AF_NETLINK; 1011 return sendto(rth->fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr)); [all...] |