aboutsummaryrefslogtreecommitdiffstats
path: root/packet-clip.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-20 21:59:18 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-20 21:59:18 +0000
commite8d4f4f0ac7481c316b3e25a41b1cc747440220e (patch)
treeae3c72a5204d6498a7f2957738be88615f89a115 /packet-clip.h
parent62490b8fdb16d066581c40405cb0d8484248fb09 (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. svn path=/trunk/; revision=4235
Diffstat (limited to 'packet-clip.h')
-rw-r--r--packet-clip.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/packet-clip.h b/packet-clip.h
index 11190b0cc5..3887756cb1 100644
--- a/packet-clip.h
+++ b/packet-clip.h
@@ -1,11 +1,10 @@
/* packet-clip.h
*
- * $Id: packet-clip.h,v 1.4 2000/11/29 05:16:15 gram Exp $
+ * $Id: packet-clip.h,v 1.5 2001/11/20 21:59:12 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_CLIP_H__
#define __PACKET_CLIP_H__
-void capture_clip(const u_char *, packet_counts *);
+void capture_clip(const u_char *, int, packet_counts *);
#endif