History

sock_diag: add SK_MEMINFO_DROPS

Reporting sk_drops to user space was available for UDP sockets using /proc interface. Add this to sock_diag, so that we can have the same information available to ss users, and we'll be able to add sk_drops indications for TCP sockets as well.

Eric Dumazet committed 10 years ago

Commit 15239301 parent 3b24d852 files · +2 −0Browse files

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

Unified · Split

include/uapi/linux/sock_diag.h+1−0
@@ -20,6 +20,7 @@ enum { · 19 unmodified lines
2020 SK_MEMINFO_WMEM_QUEUED,
2121 SK_MEMINFO_OPTMEM,
2222 SK_MEMINFO_BACKLOG,
23+ SK_MEMINFO_DROPS,
2324
2425 SK_MEMINFO_VARS,
2526 };

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