Home
last modified time | relevance | path

Searched refs:nladdr (Results 1 – 3 of 3) sorted by relevance

/system/vold/
DNetlinkManager.cpp52 struct sockaddr_nl nladdr; in start() local
56 memset(&nladdr, 0, sizeof(nladdr)); in start()
57 nladdr.nl_family = AF_NETLINK; in start()
58 nladdr.nl_pid = getpid(); in start()
59 nladdr.nl_groups = 0xffffffff; in start()
77 if (bind(mSock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) { in start()
/system/netd/server/
DNetlinkManager.cpp70 struct sockaddr_nl nladdr; in setupSocket() local
74 memset(&nladdr, 0, sizeof(nladdr)); in setupSocket()
75 nladdr.nl_family = AF_NETLINK; in setupSocket()
76 nladdr.nl_pid = getpid(); in setupSocket()
77 nladdr.nl_groups = groups; in setupSocket()
96 if (bind(*sock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) { in setupSocket()
/system/core/logd/
Dlibaudit.c215 struct sockaddr_nl nladdr; in audit_get_reply() local
216 socklen_t nladdrlen = sizeof(nladdr); in audit_get_reply()
232 (struct sockaddr*) &nladdr, &nladdrlen)); in audit_get_reply()
247 if (nladdrlen != sizeof(nladdr)) { in audit_get_reply()
253 if (nladdr.nl_pid) { in audit_get_reply()
254 SLOGE("Invalid netlink pid received, expected 0 got: %d", nladdr.nl_pid); in audit_get_reply()