Searched refs:sock_cookie (Results 1 – 2 of 2) sorted by relevance
51 uint64_t sock_cookie; in getSocketCookie() local52 socklen_t cookie_len = sizeof(sock_cookie); in getSocketCookie()53 int res = getsockopt(sockFd, SOL_SOCKET, SO_COOKIE, &sock_cookie, &cookie_len); in getSocketCookie()61 return sock_cookie; in getSocketCookie()
288 uint64_t sock_cookie = static_cast<uint64_t>(diagmsg.id.idiag_cookie[0]) | in start() local291 Status s = mCookieTagMap.deleteValue(sock_cookie); in start()293 ALOGE("Failed to delete cookie %" PRIx64 ": %s", sock_cookie, toString(s).c_str()); in start()322 uint64_t sock_cookie = getSocketCookie(sockFd); in tagSocket() local323 if (sock_cookie == NONEXISTENT_COOKIE) return -errno; in tagSocket()374 res = mCookieTagMap.writeValue(sock_cookie, newKey, BPF_ANY); in tagSocket()389 uint64_t sock_cookie = getSocketCookie(sockFd); in untagSocket() local391 if (sock_cookie == NONEXISTENT_COOKIE) return -errno; in untagSocket()392 base::Result<void> res = mCookieTagMap.deleteValue(sock_cookie); in untagSocket()