diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-25 07:42:26 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-25 07:42:26 +0000 |
commit | 40c5ed378fe8c500efe36717b4ef7fe9c30102f4 (patch) | |
tree | a6a26b30c3725ce60138c644de65403f85e9b6b1 /packet-ppp.h | |
parent | 2a0cd3825428646d640b6ea27660bb5f4d05589b (diff) | |
download | wireshark-40c5ed378fe8c500efe36717b4ef7fe9c30102f4.tar.gz wireshark-40c5ed378fe8c500efe36717b4ef7fe9c30102f4.tar.bz2 wireshark-40c5ed378fe8c500efe36717b4ef7fe9c30102f4.zip |
Convert dissect_ppp() and friends to use tvbuffs.
(the ip_tcp_options stuff is still non-tvbuff until I convert ip and tcp).
Add preliminary fix for Linux ISDN ippp devices (similar watch was posted
to ethereal-users, but did not use tvbuffs).
Change packet-raw.c to call capture_ppp()/dissect_ppp() in the case
where the frame starts with FF:03. We had been calling
capture_ip()/dissect_ip() at byte offset 4, but I think this is for
historical reasons of packet-raw.c and packet-ip.c existing before
packet-ppp.c.
svn path=/trunk/; revision=1998
Diffstat (limited to 'packet-ppp.h')
-rw-r--r-- | packet-ppp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-ppp.h b/packet-ppp.h index 14e01b8d1a..7dddd37a2b 100644 --- a/packet-ppp.h +++ b/packet-ppp.h @@ -1,6 +1,6 @@ /* packet-ppp.h * - * $Id: packet-ppp.h,v 1.2 2000/03/27 17:53:20 gram Exp $ + * $Id: packet-ppp.h,v 1.3 2000/05/25 07:42:25 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -22,6 +22,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -void capture_ppp(const u_char *, packet_counts *); -void dissect_ppp(const u_char *, int, frame_data *, proto_tree *); +void capture_ppp(const u_char *, int, packet_counts *); +void dissect_ppp(tvbuff_t *, packet_info *, proto_tree *); void dissect_payload_ppp(const u_char *, int, frame_data *, proto_tree *); |