aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-05-21 06:28:03 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-05-21 06:28:03 +0000
commit98de99a613fee0cac3db6db3e903e7e0b440307b (patch)
tree286e18c006fac9c83e829e7b86988961c9740a38 /packet-tcp.h
parent1ce29b143a0ba2d19654800bf056f6b4f96e422d (diff)
If the reported length of the TCP packet is less than the TCP header
length, we can't get the segment length (although we can at least try to dissect the header). If that's the case, put in Ronnie's "short segment" note. Also, put into the information we pass to TCP taps an indication of whether the segment length is valid or not. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7705 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tcp.h')
-rw-r--r--packet-tcp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-tcp.h b/packet-tcp.h
index dcc5600355..391260cd88 100644
--- a/packet-tcp.h
+++ b/packet-tcp.h
@@ -1,6 +1,6 @@
/* packet-tcp.h
*
- * $Id: packet-tcp.h,v 1.15 2003/04/23 10:20:29 sahlberg Exp $
+ * $Id: packet-tcp.h,v 1.16 2003/05/21 06:28:03 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -39,6 +39,7 @@
struct tcpheader {
guint32 th_seq;
guint32 th_ack;
+ gboolean th_have_seglen; /* TRUE if th_seglen is valid */
guint32 th_seglen;
guint16 th_win;
guint16 th_sport;