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-eth.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-eth.h')
-rw-r--r-- | packet-eth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-eth.h b/packet-eth.h index 385d57e735..48ea485bef 100644 --- a/packet-eth.h +++ b/packet-eth.h @@ -1,6 +1,6 @@ /* packet-eth.h * - * $Id: packet-eth.h,v 1.5 2001/06/29 09:42:45 guy Exp $ + * $Id: packet-eth.h,v 1.6 2001/11/20 21:59:12 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -24,6 +24,6 @@ #ifndef __PACKET_ETH_H__ #define __PACKET_ETH_H__ -void capture_eth(const u_char *, int, packet_counts *); +void capture_eth(const u_char *, int, int, packet_counts *); #endif |