Commit Graph

6 Commits

Author SHA1 Message Date
Guy Harris 6a21dc7e44 Don't give tvbuffs names; instead, give data sources names, where a
"data source" has a name and a top-level tvbuff, and frames can have a
list of data sources associated with them.

Use the tvbuff pointer to determine which data source is the data source
for a given field; this means we don't have to worry about multiple data
sources with the same name - the only thing the name does is label the
notebook tab for the display of the data source, and label the hex dump
of the data source in print/Tethereal output.

Clean up a bunch of things discovered in the process of doing the above.

svn path=/trunk/; revision=4749
2002-02-18 01:08:44 +00:00
Guy Harris ee5ca25d31 Include files from the "epan" directory and subdirectories thereof with
"epan/..." pathnames, so as to avoid collisions with header files in any
of the directories in which we look (e.g., "proto.h", as some other
package has its own "proto.h" file which it installs in the top-level
include directory).

Don't add "-I" flags to search "epan", as that's no longer necessary
(and we want includes of "epan" headers to fail if the "epan/" is left
out, so that we don't re-introduce includes lacking "epan/").

svn path=/trunk/; revision=4586
2002-01-21 07:37:49 +00:00
Guy Harris 43caedd1f9 From Irfan Khan: don't use bitfields.
svn path=/trunk/; revision=4517
2002-01-10 22:07:49 +00:00
Guy Harris 49effaa0f1 Again, leave the SET_ADDRESS() stuff for IP to the IP dissector.
svn path=/trunk/; revision=4431
2001-12-20 06:32:19 +00:00
Guy Harris b34c47e4d2 Make the object attached to a frame for VJ decompression be a structure
containing a 4-byte offset and 128 bytes of data, rather than a 1-byte
offset and 128 bits of data, so that the data is aligned on a 4-byte
boundary and doesn't upset processors with strict alignment
requirements.

We don't free individual memory chunks containing those objects, so make
the memory chunk pool an "allocate-only" pool.

svn path=/trunk/; revision=4428
2001-12-19 22:39:59 +00:00
Guy Harris 3624071a79 Van Jacobson decompression support for PPP, from Irfan Khan.
svn path=/trunk/; revision=4427
2001-12-19 21:14:49 +00:00