]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcp.h
CVE-2017-13040/MPTCP: Clean up printing DSS suboption.
[tcpdump] / tcp.h
diff --git a/tcp.h b/tcp.h
index 716f986b81795ad2c246fb104650f7770c3f0816..912b5e820ca6de542d51b4f5ba0f90086eb40188 100644 (file)
--- a/tcp.h
+++ b/tcp.h
@@ -81,9 +81,10 @@ struct tcphdr {
 #define TCPOPT_SIGNATURE       19      /* Keyed MD5 (rfc2385) */
 #define    TCPOLEN_SIGNATURE           18
 #define TCP_SIGLEN 16                  /* length of an option 19 digest */
-#define TCPOPT_AUTH             20      /* Enhanced AUTH option */
+#define TCPOPT_SCPS            20      /* SCPS-TP (CCSDS 714.0-B-2) */
 #define        TCPOPT_UTO              28      /* tcp user timeout (rfc5482) */
 #define           TCPOLEN_UTO                  4
+#define TCPOPT_TCPAO           29      /* TCP authentication option (rfc5925) */
 #define        TCPOPT_MPTCP            30      /* MPTCP options */
 #define TCPOPT_FASTOPEN                34      /* TCP Fast Open (rfc7413) */
 #define TCPOPT_EXPERIMENT2     254     /* experimental headers (rfc4727) */
@@ -109,6 +110,9 @@ struct tcphdr {
 #ifndef HTTP_PORT
 #define HTTP_PORT              80
 #endif
+#ifndef NETBIOS_NS_PORT
+#define NETBIOS_NS_PORT                137     /* RFC 1001, RFC 1002 */
+#endif
 #ifndef NETBIOS_SSN_PORT
 #define NETBIOS_SSN_PORT       139     /* RFC 1001, RFC 1002 */
 #endif
@@ -151,3 +155,6 @@ struct tcphdr {
 #ifndef BEEP_PORT
 #define BEEP_PORT              10288
 #endif
+#ifndef REDIS_PORT
+#define REDIS_PORT             6379
+#endif