summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-tcp.h')
-rw-r--r--epan/dissectors/packet-tcp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h
index c753474653..8103c32aa8 100644
--- a/epan/dissectors/packet-tcp.h
+++ b/epan/dissectors/packet-tcp.h
@@ -153,7 +153,9 @@ struct tcp_multisegment_pdu {
typedef struct _tcp_flow_t {
gboolean base_seq_set; /* true if base seq set */
guint32 base_seq; /* base seq number (used by relative sequence numbers)*/
- tcp_unacked_t *segments;
+#define TCP_MAX_UNACKED_SEGMENTS 1000 /* The most unacked segments we'll store */
+ tcp_unacked_t *segments;/* List of segments for which we haven't seen an ACK */
+ guint16 segment_count; /* How many unacked segments we're currently storing */
guint32 fin; /* frame number of the final FIN */
guint32 lastack; /* last seen ack */
nstime_t lastacktime; /* Time of the last ack packet */