diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-01 18:19:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-01 18:19:16 +0000 |
commit | 8f0aa186261ba60bdfa2a15c470e66934d1ec023 (patch) | |
tree | 5aa271eaf127aa822d59ae7bed1ea0fcddc78b10 /wiretap/wtap.def | |
parent | 7a0164ee7c8202f2ffe0703bc1a914c15a6c6a08 (diff) |
Have a pseudo-header for Ethernet packets, giving the size of the FCS -
0 means "there is no FCS in the packet data", 4 means "there is an FCS
in the packet data", -1 means "I don't know whether there's an FCS in
the packet data, guess based on the packet size".
Assume that Ethernet encapsulated inside other protocols has no FCS, by
having the "eth" dissector assume that (and not check for an Ethernet
pseudo-header).
Have "ethertype()" take an argument giving the FCS size; pass 0 when
appropriate.
Fix up Wiretap routines to set the pseudo-header. This means we no
longer use the "generic" seek-and-read routine, so get rid of it.
svn path=/trunk/; revision=8578
Diffstat (limited to 'wiretap/wtap.def')
-rw-r--r-- | wiretap/wtap.def | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/wiretap/wtap.def b/wiretap/wtap.def index 54bffff307..2d1b803bb2 100644 --- a/wiretap/wtap.def +++ b/wiretap/wtap.def @@ -1,7 +1,6 @@ EXPORTS
wtap_buf_ptr
wtap_close
-wtap_def_seek_read
wtap_dump
wtap_dump_can_open
wtap_dump_can_write_encap
|