From e8d4f4f0ac7481c316b3e25a41b1cc747440220e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 20 Nov 2001 21:59:18 +0000 Subject: Make the capture routines take an additional argument giving the amount of packet data captured. Make the "BYTES_ARE_IN_FRAME()" macro take a "captured length of the packet" argument. Add some length checks to capture routines. svn path=/trunk/; revision=4235 --- packet-fddi.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'packet-fddi.h') diff --git a/packet-fddi.h b/packet-fddi.h index d66dda91d0..fdeabd0df0 100644 --- a/packet-fddi.h +++ b/packet-fddi.h @@ -1,11 +1,10 @@ /* packet-fddi.h * - * $Id: packet-fddi.h,v 1.4 2000/11/29 05:16:15 gram Exp $ + * $Id: packet-fddi.h,v 1.5 2001/11/20 21:59:12 guy Exp $ * * Ethereal - Network traffic analyzer - * By Gerald Combs + * By Gerald Combs * Copyright 1998 Gerald Combs - * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -25,6 +24,6 @@ #ifndef __PACKET_FDDI_H__ #define __PACKET_FDDI_H__ -void capture_fddi(const u_char *, packet_counts *); +void capture_fddi(const u_char *, int, packet_counts *); #endif -- cgit v1.2.3