Searched refs:nladdr (Results 1 – 4 of 4) sorted by relevance
/system/vold/ |
D | NetlinkManager.cpp | 48 struct sockaddr_nl nladdr; in start() local 52 memset(&nladdr, 0, sizeof(nladdr)); in start() 53 nladdr.nl_family = AF_NETLINK; in start() 54 nladdr.nl_pid = getpid(); in start() 55 nladdr.nl_groups = 0xffffffff; in start() 76 if (bind(mSock, (struct sockaddr*)&nladdr, sizeof(nladdr)) < 0) { in start()
|
/system/netd/server/ |
D | NetlinkManager.cpp | 70 struct sockaddr_nl nladdr; in setupSocket() local 74 memset(&nladdr, 0, sizeof(nladdr)); in setupSocket() 75 nladdr.nl_family = AF_NETLINK; in setupSocket() 77 nladdr.nl_pid = 0; in setupSocket() 78 nladdr.nl_groups = groups; in setupSocket() 101 if (bind(*sock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) { in setupSocket()
|
/system/logging/logd/ |
D | libaudit.cpp | 182 struct sockaddr_nl nladdr; in audit_get_reply() local 183 socklen_t nladdrlen = sizeof(nladdr); in audit_get_reply() 185 recvfrom(fd, rep, sizeof(*rep), flags, (struct sockaddr*)&nladdr, &nladdrlen)); in audit_get_reply() 198 if (nladdrlen != sizeof(nladdr)) { in audit_get_reply() 203 if (nladdr.nl_pid) { in audit_get_reply()
|
/system/connectivity/wificond/net/ |
D | netlink_manager.cpp | 415 struct sockaddr_nl nladdr; in SetupSocket() local 417 memset(&nladdr, 0, sizeof(nladdr)); in SetupSocket() 418 nladdr.nl_family = AF_NETLINK; in SetupSocket() 437 reinterpret_cast<struct sockaddr*>(&nladdr), in SetupSocket() 438 sizeof(nladdr)) < 0) { in SetupSocket()
|