aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipv6.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2002-10-22 22:04:23 +0000
committerJörg Mayer <jmayer@loplof.de>2002-10-22 22:04:23 +0000
commit40e1ec7fad04f0b008eb692f7b00fb0287a7cd2a (patch)
treed33cc6142b76fbcca2b75361837fb72dd81012c8 /packet-ipv6.c
parent4c80b2ac3fbb12ba37ac93664b89642a8c09b359 (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.c12
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)
{