diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-05-21 06:28:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-05-21 06:28:03 +0000 |
commit | 524a84b5e9159d3b1cbae12a017bf4f31e23b613 (patch) | |
tree | 286e18c006fac9c83e829e7b86988961c9740a38 /packet-tcp.h | |
parent | 3847052a875ee3c94fc1859b07e478697820c0e9 (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.
svn path=/trunk/; revision=7705
Diffstat (limited to 'packet-tcp.h')
-rw-r--r-- | packet-tcp.h | 3 |
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; |