summaryrefslogtreecommitdiff
path: root/tcp.h
diff options
context:
space:
mode:
authorPatrik Lundquist <patrik.lundquist@gmail.com>2016-05-05 21:31:01 +0200
committerDenis Ovsienko <denis@ovsienko.info>2016-11-01 15:08:24 +0000
commit986b783f0574e50a9fc71c6937f0988b27f9529c (patch)
treee1e588b98aa8a54ffe4445ff62c55509048aa87f /tcp.h
parent06c4ca1ac27515fb28d3f4aab1ef151c25946a14 (diff)
downloadtcpdump-986b783f0574e50a9fc71c6937f0988b27f9529c.tar.gz
Correct TCP option Kind value for TCP Auth and add SCPS-TP.
Fixes first problem in issue #516 while the second one isn't broken in tcpdump.
Diffstat (limited to 'tcp.h')
-rw-r--r--tcp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcp.h b/tcp.h
index 02df6295..1084db9a 100644
--- 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_AUTH 29 /* Enhanced AUTH option (rfc5925) */
#define TCPOPT_MPTCP 30 /* MPTCP options */
#define TCPOPT_FASTOPEN 34 /* TCP Fast Open (rfc7413) */
#define TCPOPT_EXPERIMENT2 254 /* experimental headers (rfc4727) */