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/libaudit/ |
D | libaudit.cpp | 180 struct sockaddr_nl nladdr; in audit_get_reply() local 181 socklen_t nladdrlen = sizeof(nladdr); in audit_get_reply() 183 recvfrom(fd, rep, sizeof(*rep), flags, (struct sockaddr*)&nladdr, &nladdrlen)); in audit_get_reply() 196 if (nladdrlen != sizeof(nladdr)) { in audit_get_reply() 201 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()
|