aboutsummaryrefslogtreecommitdiffstats
path: root/doc/proto_tree
AgeCommit message (Collapse)AuthorFilesLines
1999-11-30Make the field indices in the sample code for registering fields static.Guy Harris1-7/+26
Add information about registering "ett_" values. svn path=/trunk/; revision=1163
1999-10-20Document the requirements for getting a protocol's register routineGuy Harris1-2/+39
called automatically at startup time. svn path=/trunk/; revision=892
1999-10-12New proto_tree header_field_info stuff. Header_field_infos now containGilbert Ramirez1-130/+273
the base for numbers to be displayed in, bitmasks for bitfields, and blurbs (which are one or two sentences describing the field). proto_tree_add*() routines now automatically handle bitfields. You tell it which header field you are adding, and just pass it the value of the entire field, and the proto_tree routines will do the masking and shifting for you. This means that bitfields are more naturally filtered via dfilter now. Added Phil Techau's support for signed integers in dfilters/proto_tree. Added the beginning of the SNA dissector. It's not complete, but I'm committing it now because it has example after example of how to use bitfields with the new header_field_info struct and proto_tree routines. It was the impetus to change how header_field_info works. svn path=/trunk/; revision=815
1999-08-27Changed packet-tr.c to insert tr.sr, a FT_BOOLEAN field, only if tr.srGilbert Ramirez1-1/+2
is true. The test for truth now becomes a test for existence. The dfilter grammar no longer recognizes 'true' and 'false', since you can now check a boolean field via: tr.sr or by its negation: !tr.sr svn path=/trunk/; revision=591
1999-07-15Modified the proto_register_field_array usage again. Thanks to Guy'sGilbert Ramirez1-7/+24
suggestion, this new method using a static array should use less memory and be faster. It also has a nice side-effect of making the source-code more readble, IMHO. Changed the print routines to look for protocol proto_data instead of looking at the text label as they did before, hoping that the data hex dump field item starts with "Data (". Added the -G keyword to ethereal to make it dump a glossary of display filter keywords to stdout and exit. This data is then formatted with the doc/dfilter2pod perl program to pod format, which is combined with doc/ethereal.pod.template to create doc/ethereal.pod, from which the ethereal manpage is created. This way we can keep the manpage up-to-date with a list of fields that can be filtered on. svn path=/trunk/; revision=364
1999-07-08Documented the proto_register_field_array() function, and convertedGilbert Ramirez1-0/+19
the registration functions in packet-fddi.c and packet-eth.c to this new registration method. svn path=/trunk/; revision=346
1999-07-07Created a new protocol tree implementation and a new display filterGilbert Ramirez1-0/+235
mechanism that is built into ethereal. Wiretap is now used to read all file formats. Libpcap is used only for capturing. svn path=/trunk/; revision=342