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 | 69 struct sockaddr_nl nladdr; in setupSocket() local 73 memset(&nladdr, 0, sizeof(nladdr)); in setupSocket() 74 nladdr.nl_family = AF_NETLINK; in setupSocket() 76 nladdr.nl_pid = 0; in setupSocket() 77 nladdr.nl_groups = groups; in setupSocket() 100 if (bind(*sock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) { in setupSocket()
|
/system/core/logd/ |
D | libaudit.c | 203 struct sockaddr_nl nladdr; in audit_get_reply() local 204 socklen_t nladdrlen = sizeof(nladdr); in audit_get_reply() 220 (struct sockaddr*)&nladdr, &nladdrlen)); in audit_get_reply() 234 if (nladdrlen != sizeof(nladdr)) { in audit_get_reply() 239 if (nladdr.nl_pid) { in audit_get_reply()
|
/system/connectivity/wificond/net/ |
D | netlink_manager.cpp | 401 struct sockaddr_nl nladdr; in SetupSocket() local 403 memset(&nladdr, 0, sizeof(nladdr)); in SetupSocket() 404 nladdr.nl_family = AF_NETLINK; in SetupSocket() 423 reinterpret_cast<struct sockaddr*>(&nladdr), in SetupSocket() 424 sizeof(nladdr)) < 0) { in SetupSocket()
|