diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-20 21:59:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-20 21:59:18 +0000 |
commit | e8d4f4f0ac7481c316b3e25a41b1cc747440220e (patch) | |
tree | ae3c72a5204d6498a7f2957738be88615f89a115 /packet-chdlc.h | |
parent | 62490b8fdb16d066581c40405cb0d8484248fb09 (diff) | |
download | wireshark-e8d4f4f0ac7481c316b3e25a41b1cc747440220e.tar.gz wireshark-e8d4f4f0ac7481c316b3e25a41b1cc747440220e.tar.bz2 wireshark-e8d4f4f0ac7481c316b3e25a41b1cc747440220e.zip |
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-chdlc.h')
-rw-r--r-- | packet-chdlc.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packet-chdlc.h b/packet-chdlc.h index 267dcab46d..166cde0843 100644 --- a/packet-chdlc.h +++ b/packet-chdlc.h @@ -1,11 +1,10 @@ /* packet-chdlc.h * - * $Id: packet-chdlc.h,v 1.2 2001/03/15 21:49:24 guy Exp $ + * $Id: packet-chdlc.h,v 1.3 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 @@ -34,7 +33,7 @@ #define CHDLC_ADDR_UNICAST 0x0f #define CHDLC_ADDR_MULTICAST 0x8f -void capture_chdlc(const u_char *, int, packet_counts *); +void capture_chdlc(const u_char *, int, int, packet_counts *); extern const value_string chdlc_vals[]; |