History

New getsockopt option to get socket cookie

Introduce a new getsockopt operation to retrieve the socket cookie for a specific socket based on the socket fd. It returns a unique non-decreasing cookie for each socket. Tested: https://android-review.googlesource.com/#/c/358163/

Chenbo Feng committed 9 years ago

Commit 5daab9d1 parent c42cb9814 files · +34 −0Browse files

Showing the changes to include/uapi (1 of 14 files). Show all

Unified · Split

include/uapi/asm-generic/socket.h+2−0
@@ -98,4 +98,6 @@ · 97 unmodified lines
98 98
99#define SO_INCOMING_NAPI_ID 5699#define SO_INCOMING_NAPI_ID 56
100 100
101#define SO_COOKIE 57
102
101#endif /* __ASM_GENERIC_SOCKET_H */103#endif /* __ASM_GENERIC_SOCKET_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t