aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-09-12 05:52:38 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-09-12 05:52:38 +0000
commitb48de22d5b0fd7a400aa6d96d0ff75d6821736d5 (patch)
tree61899f4eb83a37286f52c0d08bd0f8d61d15c219 /packet-tcp.h
parent1ce1722006b2d0d95b66869b04a9fbcd8c2f9c1c (diff)
Enhancement to the TCP dissector:
Track window scaling and display the window field after it has been scaled to its real value If we have seen a SYN packet with a WindowScalingOption then if the option to use RelativeSequence numbers has been enabled, then ethereal will change the presented window field to be the window after it has been scaled to the real value. This obviously only works if we have seen the SYN packet and if the SYN packet contained a window scaling option svn path=/trunk/; revision=8461
Diffstat (limited to 'packet-tcp.h')
-rw-r--r--packet-tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tcp.h b/packet-tcp.h
index 7094143005..0059bf058a 100644
--- a/packet-tcp.h
+++ b/packet-tcp.h
@@ -1,6 +1,6 @@
/* packet-tcp.h
*
- * $Id: packet-tcp.h,v 1.17 2003/08/23 09:09:34 sahlberg Exp $
+ * $Id: packet-tcp.h,v 1.18 2003/09/12 05:52:38 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -41,7 +41,7 @@ struct tcpheader {
guint32 th_ack;
gboolean th_have_seglen; /* TRUE if th_seglen is valid */
guint32 th_seglen;
- guint16 th_win;
+ guint32 th_win; /* make it 32 bits so we can handle some scaling */
guint16 th_sport;
guint16 th_dport;
guint8 th_hlen;