summaryrefslogtreecommitdiff
path: root/tcp.h
diff options
context:
space:
mode:
authorGregory Detal <gregory.detal@uclouvain.be>2013-02-25 17:00:02 +0100
committerMichael Richardson <mcr@sandelman.ca>2013-04-14 18:20:26 -0400
commit578dd316f35322e88ead865af09a0d1540274cf9 (patch)
tree8194520b3ce2b77d74df5be96a32e01062f33d8d /tcp.h
parenta248bf041ae533fb6778e02bf6faebbe46ca0a86 (diff)
downloadtcpdump-578dd316f35322e88ead865af09a0d1540274cf9.tar.gz
Multipath TCP (RFC 6824) support
This commit adds the support of Multipath TCP (MPTCP). MPTCP is a new extension to TCP standardized at the IETF. MPTCP allows to use several IP addresses at the same time by distributing data across several subflows (TCP connections) while still presenting the standard TCP socket API to the application. Its benefits are better resource utilization, better throughput and smoother reaction to failures.
Diffstat (limited to 'tcp.h')
-rw-r--r--tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp.h b/tcp.h
index 92d505ae..6b206feb 100644
--- a/tcp.h
+++ b/tcp.h
@@ -85,7 +85,7 @@ struct tcphdr {
#define TCPOPT_AUTH 20 /* Enhanced AUTH option */
#define TCPOPT_UTO 28 /* tcp user timeout (rfc5482) */
#define TCPOLEN_UTO 4
-
+#define TCPOPT_MPTCP 30 /* MPTCP options */
#define TCPOPT_TSTAMP_HDR \
(TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_TIMESTAMP<<8|TCPOLEN_TIMESTAMP)