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
20 SK_MEMINFO_WMEM_QUEUED,20 SK_MEMINFO_WMEM_QUEUED,
21 SK_MEMINFO_OPTMEM,21 SK_MEMINFO_OPTMEM,
22 SK_MEMINFO_BACKLOG,22 SK_MEMINFO_BACKLOG,
23 SK_MEMINFO_DROPS,
23 24
24 SK_MEMINFO_VARS,25 SK_MEMINFO_VARS,
25};26};

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