summaryrefslogtreecommitdiff
path: root/wiretap/toshiba.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-05-18 09:09:50 +0000
committerGuy Harris <guy@alum.mit.edu>2000-05-18 09:09:50 +0000
commitf3d90d30a49382db3955b9ece00d71fe12d54c49 (patch)
treeb3976154972b7e5a4d8ee25e4c4f2f5bef77d2f0 /wiretap/toshiba.h
parente7ea221d9c8370817a7b9c9dab3cea47586e1561 (diff)
downloadwireshark-f3d90d30a49382db3955b9ece00d71fe12d54c49.tar.gz
Remove the "union pseudo_header" from the "frame_data" structure;
there's no need to keep it around in memory - when the frame data is read in when handing a frame, read in the information, if any, necessary to reconstruct the frame header, and reconstruct it. This saves some memory. This requires that the seek-and-read function be implemented inside Wiretap, and that the Wiretap handle remain open even after we've finished reading the file sequentially. This also points out that we can't really do X.25-over-Ethernet correctly, as we don't know where the direction (DTE->DCE or DCE->DTE) flag is stored; it's not clear how the Ethernet type 0x0805 for X.25 Layer 3 is supposed to be handled in any case. We eliminate X.25-over-Ethernet support (until we find out what we're supposed to do). svn path=/trunk/; revision=1975
Diffstat (limited to 'wiretap/toshiba.h')
-rw-r--r--wiretap/toshiba.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/wiretap/toshiba.h b/wiretap/toshiba.h
index 6d4c225808..f4127ba969 100644
--- a/wiretap/toshiba.h
+++ b/wiretap/toshiba.h
@@ -1,6 +1,6 @@
/* toshiba.h
*
- * $Id: toshiba.h,v 1.1 1999/10/31 17:46:10 gram Exp $
+ * $Id: toshiba.h,v 1.2 2000/05/18 09:09:48 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@@ -22,4 +22,3 @@
*/
int toshiba_open(wtap *wth, int *err);
-int toshiba_seek_read (FILE *fh, int seek_off, guint8 *pd, int len);