Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/socket/
DStatsSocketListener.cpp77 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&hdr); in onDataAvailable() local
78 while (cmsg != NULL) { in onDataAvailable()
79 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_CREDENTIALS) { in onDataAvailable()
80 cred = (struct ucred*)CMSG_DATA(cmsg); in onDataAvailable()
83 cmsg = CMSG_NXTHDR(&hdr, cmsg); in onDataAvailable()
/packages/modules/adb/
Dsysdeps.h232 extern adb_cmsghdr* adb_CMSG_NXTHDR(adb_msghdr* msgh, adb_cmsghdr* cmsg);
233 extern unsigned char* adb_CMSG_DATA(adb_cmsghdr* cmsg);
712 inline adb_cmsghdr* adb_CMSG_NXTHDR(adb_msghdr* msgh, adb_cmsghdr* cmsg) { in adb_CMSG_NXTHDR() argument
713 return CMSG_NXTHDR(msgh, cmsg); in adb_CMSG_NXTHDR()
716 inline unsigned char* adb_CMSG_DATA(adb_cmsghdr* cmsg) { in adb_CMSG_DATA() argument
717 return CMSG_DATA(cmsg); in adb_CMSG_DATA()
Dsysdeps_win32.cpp988 adb_cmsghdr* adb_CMSG_NXTHDR(adb_msghdr* msgh, adb_cmsghdr* cmsg) { in adb_CMSG_NXTHDR() argument
992 return WSA_CMSG_NXTHDR(&wmsg, cmsg); in adb_CMSG_NXTHDR()
995 unsigned char* adb_CMSG_DATA(adb_cmsghdr* cmsg) { in adb_CMSG_DATA() argument
996 return WSA_CMSG_DATA(cmsg); in adb_CMSG_DATA()