diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-20 21:59:18 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-20 21:59:18 +0000 |
commit | 93bdfea13eb69582c481bcbb5c59cf90f3004144 (patch) | |
tree | ae3c72a5204d6498a7f2957738be88615f89a115 /packet-isl.h | |
parent | 960baf0e34e0de2c339e051afe1e411bd4595f89 (diff) |
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4235 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-isl.h')
-rw-r--r-- | packet-isl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packet-isl.h b/packet-isl.h index 102e15f616..98554572be 100644 --- a/packet-isl.h +++ b/packet-isl.h @@ -1,11 +1,10 @@ /* packet-isl.h * - * $Id: packet-isl.h,v 1.3 2000/12/28 09:49:09 guy Exp $ + * $Id: packet-isl.h,v 1.4 2001/11/20 21:59:13 guy Exp $ * * Ethereal - Network traffic analyzer - * By Gerald Combs <gerald@zing.org> + * By Gerald Combs <gerald@ethereal.com> * 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_ISL_H__ #define __PACKET_ISL_H__ -void capture_isl(const u_char *, int, packet_counts *); +void capture_isl(const u_char *, int, int, packet_counts *); #endif |