diff options
author | Jörg Mayer <jmayer@loplof.de> | 2002-10-22 22:04:23 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2002-10-22 22:04:23 +0000 |
commit | 40e1ec7fad04f0b008eb692f7b00fb0287a7cd2a (patch) | |
tree | d33cc6142b76fbcca2b75361837fb72dd81012c8 /packet-ipv6.c | |
parent | 4c80b2ac3fbb12ba37ac93664b89642a8c09b359 (diff) |
Minimalistic support for counting IPv6 packets during capture
svn path=/trunk/; revision=6476
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index 0565b93654..eb8a41ec7c 100644 --- a/packet-ipv6.c +++ b/packet-ipv6.c @@ -1,7 +1,7 @@ /* packet-ipv6.c * Routines for IPv6 packet disassembly * - * $Id: packet-ipv6.c,v 1.87 2002/08/28 21:00:18 jmayer Exp $ + * $Id: packet-ipv6.c,v 1.88 2002/10/22 22:04:21 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -121,6 +121,16 @@ static gboolean ipv6_reassemble = FALSE; */ static GHashTable *ipv6_fragment_table = NULL; +void +capture_ipv6(const guchar *pd, int offset, int len, packet_counts *ld) +{ + ld->ipv6++; + /* FIXME: We should count the actual ipv6 payload by protocol, + * but it looks like we need to replicate quite a few + * parts of the dissection stuff. + */ +} + static void ipv6_reassemble_init(void) { |