summaryrefslogtreecommitdiffstats
path: root/include/linux/sock_diag.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-06-04 03:50:35 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-04 11:27:40 -0400
commitd594e987c6f5417cc63dd7e107a2a03a7eeee03f (patch)
tree383bbb0260798a4f0db49f1fc331c085a2ce3d85 /include/linux/sock_diag.h
parent5d0ba55b6486f58cc890918d7167063d83f7fbb4 (diff)
downloadlinux-d594e987c6f5417cc63dd7e107a2a03a7eeee03f.tar.gz
linux-d594e987c6f5417cc63dd7e107a2a03a7eeee03f.tar.bz2
linux-d594e987c6f5417cc63dd7e107a2a03a7eeee03f.zip
sock_diag: add SK_MEMINFO_BACKLOG
Adding socket backlog len in INET_DIAG_SKMEMINFO is really useful to diagnose various TCP problems. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sock_diag.h')
-rw-r--r--include/linux/sock_diag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sock_diag.h b/include/linux/sock_diag.h
index db4bae78bda9..6793fac5eab5 100644
--- a/include/linux/sock_diag.h
+++ b/include/linux/sock_diag.h
@@ -18,6 +18,7 @@ enum {
SK_MEMINFO_FWD_ALLOC,
SK_MEMINFO_WMEM_QUEUED,
SK_MEMINFO_OPTMEM,
+ SK_MEMINFO_BACKLOG,
SK_MEMINFO_VARS,
};