Modified the proto_register_field_array usage again. Thanks to Guy's
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 15 Jul 1999 15:33:52 +0000 (15:33 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 15 Jul 1999 15:33:52 +0000 (15:33 +0000)
commit9037c6c625b2f3850c86dc2413aa13a84d953792
treef039dce320dbc82cf7724400ce75c8afc499f1c7
parentac323b858bae0ae19c3e7998ee66f630964b2e12
Modified the proto_register_field_array usage again. Thanks to Guy's
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@364 f5534014-38df-0310-8fa8-9805f1628bb7
19 files changed:
Makefile.am
Makefile.in
NEWS
doc/Makefile
doc/dfilter2pod [new file with mode: 0755]
doc/ethereal.pod.template [moved from doc/ethereal.pod with 94% similarity]
doc/proto_tree
ethereal.c
packet-eth.c
packet-fddi.c
packet-ip.c
packet-llc.c
packet-tr.c
packet.c
print.c
proto.c
proto.h
wiretap/Makefile.am
wiretap/Makefile.in