summaryrefslogtreecommitdiff
path: root/tcp.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-25 16:26:25 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-25 23:27:23 +0400
commitcbaf0fdfb3b65bda43e119cb5dabf2dcce7454d4 (patch)
tree783dd33abc777378c3d1ced757dca0c97d65f6cf /tcp.h
parent59690cf6b7ffce3cc86936cbe658909c6ec3a687 (diff)
downloadtcpdump-cbaf0fdfb3b65bda43e119cb5dabf2dcce7454d4.tar.gz
OpenFlow: add IANA-allocated TCP port
OF specifications 1.0.2 and 1.3.3 use a different port number. That said, the old port is still likely to be seen in the wild after 4 years of deployment. Let tcpdump recognize both for a while.
Diffstat (limited to 'tcp.h')
-rw-r--r--tcp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tcp.h b/tcp.h
index fbd2f452..9d10c6cd 100644
--- a/tcp.h
+++ b/tcp.h
@@ -97,8 +97,11 @@ struct tcphdr {
#define BGP_PORT 179
#endif
#define NETBIOS_SSN_PORT 139
-#ifndef OPENFLOW_PORT
-#define OPENFLOW_PORT 6633
+#ifndef OPENFLOW_PORT_OLD
+#define OPENFLOW_PORT_OLD 6633
+#endif
+#ifndef OPENFLOW_PORT_IANA
+#define OPENFLOW_PORT_IANA 6653
#endif
#ifndef PPTP_PORT
#define PPTP_PORT 1723