]> granicus.if.org Git - strace/commitdiff
* net.c (socktcpoptions): Add more TCP_* constants from linux/tcp.h
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 1 Dec 2011 21:06:00 +0000 (21:06 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 1 Dec 2011 21:06:00 +0000 (21:06 +0000)
Reported-by: Rick Jones <rick.jones2@hp.com>
net.c

diff --git a/net.c b/net.c
index 025ae9c352c3ce583bb9d695f7197dbf1fb1fbe2..4e8df10a9a7bbca1e7d88f9f422f248861634c69 100644 (file)
--- a/net.c
+++ b/net.c
@@ -1118,6 +1118,24 @@ static const struct xlat socktcpoptions[] = {
 #endif
 #if defined(TCP_QUICKACK)
        { TCP_QUICKACK,         "TCP_QUICKACK" },
+#endif
+#if defined(TCP_CONGESTION)
+       { TCP_CONGESTION,       "TCP_CONGESTION" },
+#endif
+#if defined(TCP_MD5SIG)
+       { TCP_MD5SIG,           "TCP_MD5SIG" },
+#endif
+#if defined(TCP_COOKIE_TRANSACTIONS)
+       { TCP_COOKIE_TRANSACTIONS,      "TCP_COOKIE_TRANSACTIONS" },
+#endif
+#if defined(TCP_THIN_LINEAR_TIMEOUTS)
+       { TCP_THIN_LINEAR_TIMEOUTS,     "TCP_THIN_LINEAR_TIMEOUTS" },
+#endif
+#if defined(TCP_THIN_DUPACK)
+       { TCP_THIN_DUPACK,      "TCP_THIN_DUPACK" },
+#endif
+#if defined(TCP_USER_TIMEOUT)
+       { TCP_USER_TIMEOUT,     "TCP_USER_TIMEOUT" },
 #endif
        { 0,                    NULL            },
 };