"ethereal -G" and "tethereal -G" won't show the pseudo-field for

"proto_tree_add_text()" any more, so the scripts that take that output
and massage it into various forms don't have to check for it any more.

Get rid of the FT_-name-to-description filtering in eproto2sgml, as it's
not used, and fix it in the other two scripts to correspond to the
current list of FT_ values.

svn path=/trunk/; revision=3336
This commit is contained in:
Guy Harris 2001-04-19 23:17:30 +00:00
parent 4caa331d21
commit 8f88bdae4a
3 changed files with 9 additions and 43 deletions

View File

@ -9,10 +9,11 @@
# will be replaced by the pod-formatted glossary
# STDOUT is the output
#
# $Id: dfilter2pod.pl,v 1.1 2000/07/28 16:30:28 gram Exp $
# $Id: dfilter2pod.pl,v 1.2 2001/04/19 23:17:30 guy Exp $
%ftenum_names = (
'FT_NONE', 'No value',
'FT_PROTOCOL', 'Protocol',
'FT_BOOLEAN', 'Boolean',
'FT_UINT8', 'Unsigned 8-bit integer',
'FT_UINT16', 'Unsigned 16-bit integer',
@ -22,17 +23,16 @@
'FT_INT16', 'Signed 16-bit integer',
'FT_INT24', 'Signed 24-bit integer',
'FT_INT32', 'Signed 32-bit integer',
'FT_DOUBLE', 'Double-precision floating point',
'FT_ABSOLUTE_TIME', 'Date/Time stamp',
'FT_RELATIVE_TIME', 'Time duration',
'FT_STRING', 'String',
'FT_NSTRING_UINT8', 'String',
'FT_DOUBLE', 'Double-precision floating point',
'FT_STRINGZ', 'String',
'FT_ETHER', '6-byte Hardware (MAC) Address',
'FT_BYTES', 'Byte array',
'FT_IPv4', 'IPv4 address',
'FT_IPv6', 'IPv6 address',
'FT_IPXNET', 'IPX network or server name',
'FT_TEXT_ONLY', 'Text-only. Not filterable'
);
# Read all the data into memory
@ -81,10 +81,6 @@ sub create_dfilter_table {
# Print each protocol
for $proto_name (sort keys %proto_abbrev) {
if ($proto_name eq 'Text' && $proto_abbrev{$proto_name} eq 'text') {
next;
}
print "=head2 $proto_name ($proto_abbrev{$proto_name})\n\n";
# If this proto has children fields, print those

View File

@ -9,10 +9,11 @@
# will be replaced by the pod-formatted glossary
# STDOUT is the output
#
# $Id: dfilter2sgml,v 1.1 2000/07/29 03:20:43 sharpe Exp $
# $Id: dfilter2sgml,v 1.2 2001/04/19 23:17:30 guy Exp $
%ftenum_names = (
'FT_NONE', 'No value',
'FT_PROTOCOL', 'Protocol',
'FT_BOOLEAN', 'Boolean',
'FT_UINT8', 'Unsigned 8-bit integer',
'FT_UINT16', 'Unsigned 16-bit integer',
@ -22,16 +23,16 @@
'FT_INT16', 'Signed 16-bit integer',
'FT_INT24', 'Signed 24-bit integer',
'FT_INT32', 'Signed 32-bit integer',
'FT_DOUBLE', 'Double-precision floating point',
'FT_ABSOLUTE_TIME', 'Date/Time stamp',
'FT_RELATIVE_TIME', 'Time duration',
'FT_STRING', 'String',
'FT_DOUBLE', 'Double-precision floating point',
'FT_STRINGZ', 'String',
'FT_ETHER', '6-byte Hardware (MAC) Address',
'FT_BYTES', 'Byte array',
'FT_IPv4', 'IPv4 address',
'FT_IPv6', 'IPv6 address',
'FT_IPXNET', 'IPX network or server name',
'FT_TEXT_ONLY', 'Text-only. Not filterable'
);
# Read all the data into memory
@ -82,10 +83,6 @@ sub create_dfilter_table {
# Print each protocol
for $proto_name (sort keys %proto_abbrev) {
if ($proto_name eq 'Text' && $proto_abbrev{$proto_name} eq 'text') {
next;
}
$ns_proto_name = $proto_name;
$ns_proto_name =~ s/\s//g;
$ns_proto_name =~ s/\)//g;

View File

@ -8,30 +8,7 @@
# will be replaced by the pod-formatted glossary
# STDOUT is the output
#
# $Id: eproto2sgml,v 1.1 2000/08/08 01:56:57 sharpe Exp $
%ftenum_names = (
'FT_NONE', 'No value',
'FT_BOOLEAN', 'Boolean',
'FT_UINT8', 'Unsigned 8-bit integer',
'FT_UINT16', 'Unsigned 16-bit integer',
'FT_UINT24', 'Unsigned 24-bit integer',
'FT_UINT32', 'Unsigned 32-bit integer',
'FT_INT8', 'Signed 8-bit integer',
'FT_INT16', 'Signed 16-bit integer',
'FT_INT24', 'Signed 24-bit integer',
'FT_INT32', 'Signed 32-bit integer',
'FT_ABSOLUTE_TIME', 'Date/Time stamp',
'FT_RELATIVE_TIME', 'Time duration',
'FT_STRING', 'String',
'FT_DOUBLE', 'Double-precision floating point',
'FT_ETHER', '6-byte Hardware (MAC) Address',
'FT_BYTES', 'Byte array',
'FT_IPv4', 'IPv4 address',
'FT_IPv6', 'IPv6 address',
'FT_IPXNET', 'IPX network or server name',
'FT_TEXT_ONLY', 'Text-only. Not filterable'
);
# $Id: eproto2sgml,v 1.2 2001/04/19 23:17:30 guy Exp $
# Read all the data into memory
while (<STDIN>) {
@ -81,10 +58,6 @@ sub create_dfilter_table {
# Print each protocol
for $proto_name (sort keys %proto_abbrev) {
if ($proto_name eq 'Text' && $proto_abbrev{$proto_name} eq 'text') {
next;
}
print " <listitem><para>$proto_name</></>\n";