![Gilbert Ramirez](/assets/img/avatar_default.png)
Put a hash-table of "interesting" fields in the per-proto-tree data. The dfilter code records which fields/protocols are "interesting" (by which I mean, their value or existence is checked). Thus, the proto_tree routines can create special arrays of field_info*'s that are ready for the dfilter engine to use during a filter operation. Also store the "proto_tree_is_visible" boolean, renamed "visible", in the per-proto-tree data. Move epan_dissect_t to its own header file to make #include dependencies easier to handle. Provide epan_dissect_fill_in_columns(), which accepts just the epan_dissect_t* as an argument. epan_dissect_new() needs to be followed by epan_dissect_run() for the dissection to actually take place. Between those two calls, epan_dissect_prime_dfilter() can be run 0, 1, or multiple times in order to prime the empty proto_tree with the "intersesting" fields from the dfilter_t. svn path=/trunk/; revision=4422
113 lines
2.5 KiB
Makefile
113 lines
2.5 KiB
Makefile
# Makefile.am
|
|
# Automake file for the EPAN library
|
|
# (Ethereal Protocol ANalyzer Library)
|
|
#
|
|
# $Id: Makefile.am,v 1.30 2001/12/18 19:09:03 gram Exp $
|
|
#
|
|
# Ethereal - Network traffic analyzer
|
|
# By Gerald Combs <gerald@zing.org>
|
|
# Copyright 1998 Gerald Combs
|
|
#
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation; either version 2
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
SUBDIRS = ftypes dfilter
|
|
|
|
# EPAN will eventually be a shared library. While I move source code around,
|
|
# however, it is an archive library.
|
|
|
|
ACLOCAL_AMFLAGS = `../aclocal-flags`
|
|
|
|
noinst_LIBRARIES = libethereal.a
|
|
|
|
INCLUDES = -I$(srcdir)/..
|
|
|
|
libethereal_a_SOURCES = \
|
|
atalk-utils.c \
|
|
atalk-utils.h \
|
|
bitswap.c \
|
|
bitswap.h \
|
|
column_info.h \
|
|
conversation.c \
|
|
conversation.h \
|
|
column-utils.c \
|
|
column-utils.h \
|
|
epan.c \
|
|
epan.h \
|
|
epan_dissect.h \
|
|
except.c \
|
|
except.h \
|
|
exceptions.h \
|
|
filesystem.c \
|
|
filesystem.h \
|
|
frame_data.c \
|
|
frame_data.h \
|
|
gdebug.h \
|
|
int-64bit.c \
|
|
int-64bit.h \
|
|
ipv4.c \
|
|
ipv4.h \
|
|
ipv6-utils.h \
|
|
nstime.h \
|
|
osi-utils.c \
|
|
osi-utils.h \
|
|
packet.c \
|
|
packet.h \
|
|
packet_info.h \
|
|
pint.h \
|
|
plugins.c \
|
|
plugins.h \
|
|
proto.c \
|
|
proto.h \
|
|
resolv.c \
|
|
resolv.h \
|
|
sna-utils.c \
|
|
sna-utils.h \
|
|
strutil.c \
|
|
strutil.h \
|
|
timestamp.h \
|
|
to_str.c \
|
|
to_str.h \
|
|
tvbuff.c \
|
|
tvbuff.h \
|
|
value_string.c \
|
|
value_string.h
|
|
|
|
EXTRA_libethereal_a_SOURCES = \
|
|
inet_aton.c \
|
|
inet_pton.c \
|
|
inet_ntop.c \
|
|
inet_aton.h \
|
|
inet_v6defs.h
|
|
|
|
EXTRA_DIST = \
|
|
config.h.win32 \
|
|
Makefile.nmake \
|
|
tvbtest.c
|
|
|
|
CLEANFILES = \
|
|
libethereal.a \
|
|
*~
|
|
|
|
#
|
|
# Add the object files for missing routines, if any.
|
|
#
|
|
libethereal_a_LIBADD = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
|
|
libethereal_a_DEPENDENCIES = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
|
|
|
|
|
|
tvbtest: tvbtest.o tvbuff.o except.o strutil.o
|
|
$(LINK) -o tvbtest tvbtest.o tvbuff.o except.o strutil.o `glib-config --libs`
|