Searched refs:sock_cookie (Results 1 – 2 of 2) sorted by relevance
50 uint64_t sock_cookie; in getSocketCookie() local51 socklen_t cookie_len = sizeof(sock_cookie); in getSocketCookie()52 int res = getsockopt(sockFd, SOL_SOCKET, SO_COOKIE, &sock_cookie, &cookie_len); in getSocketCookie()60 return sock_cookie; in getSocketCookie()
285 uint64_t sock_cookie = static_cast<uint64_t>(diagmsg.id.idiag_cookie[0]) | in start() local288 Status s = mCookieTagMap.deleteValue(sock_cookie); in start()290 ALOGE("Failed to delete cookie %" PRIx64 ": %s", sock_cookie, toString(s).c_str()); in start()314 uint64_t sock_cookie = getSocketCookie(sockFd); in tagSocket() local315 if (sock_cookie == NONEXISTENT_COOKIE) return -errno; in tagSocket()366 res = mCookieTagMap.writeValue(sock_cookie, newKey, BPF_ANY); in tagSocket()377 uint64_t sock_cookie = getSocketCookie(sockFd); in untagSocket() local379 if (sock_cookie == NONEXISTENT_COOKIE) return -errno; in untagSocket()380 base::Result<void> res = mCookieTagMap.deleteValue(sock_cookie); in untagSocket()