diff options
author | Laurent Deniel <laurent.deniel@free.fr> | 2000-08-11 22:18:22 +0000 |
---|---|---|
committer | Laurent Deniel <laurent.deniel@free.fr> | 2000-08-11 22:18:22 +0000 |
commit | 281e8929396fc609987ad2f953403fd13f6e5f5c (patch) | |
tree | 2ddbc9007efeca4547e729d4b707ff3fb7672331 /follow.h | |
parent | e18d6c34c9c6e3bb341ded481ebad4730d1d527d (diff) | |
download | wireshark-281e8929396fc609987ad2f953403fd13f6e5f5c.tar.gz wireshark-281e8929396fc609987ad2f953403fd13f6e5f5c.tar.bz2 wireshark-281e8929396fc609987ad2f953403fd13f6e5f5c.zip |
- add ipv6.addr for the source and destination addresses (like ipv4)
- implement the TCP follow feature for TCP over IPv6
svn path=/trunk/; revision=2258
Diffstat (limited to 'follow.h')
-rw-r--r-- | follow.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* follow.h * - * $Id: follow.h,v 1.9 2000/08/09 05:18:38 gram Exp $ + * $Id: follow.h,v 1.10 2000/08/11 22:18:13 deniel Exp $ * * Copyright 1998 Mike Hall <mlh@io.com> * @@ -30,6 +30,8 @@ #include "packet.h" +#define MAX_IPADDR_LEN 16 + extern gboolean incomplete_tcp_stream; typedef struct _tcp_frag { @@ -41,7 +43,7 @@ typedef struct _tcp_frag { } tcp_frag; typedef struct _tcp_stream_chunk { - guint32 src_addr; + guint8 src_addr[MAX_IPADDR_LEN]; guint16 src_port; guint32 dlen; } tcp_stream_chunk; @@ -52,9 +54,10 @@ void reassemble_tcp( u_long, u_long, const char*, u_long, int, void reset_tcp_reassembly( void ); typedef struct { - guint32 ip_address[2]; + guint8 ip_address[2][MAX_IPADDR_LEN]; guint32 tcp_port[2]; unsigned int bytes_written[2]; + gboolean is_ipv6; } follow_tcp_stats_t; void follow_tcp_stats(follow_tcp_stats_t* stats); |