aboutsummaryrefslogtreecommitdiffstats
path: root/epan/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2001-12-18Provide for per-protocol-tree data in the proto_tree code.Gilbert Ramirez1-1/+2
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
2001-11-22Moved int-64bit.{c,h} into epan/Ed Warnicke1-1/+3
svn path=/trunk/; revision=4248
2001-11-21Remove the global packet_info called "pi". Dissectors now onlyGilbert Ramirez1-2/+1
access their own "pinfo". A packet_info is stored in epan_dissect_t, which is created for the dissection of a single packet. GUI functions which need to access the packet_info of the currently selected packet used to use "pi"; now they use cfile.edt->pi. cfile's "edt" member is the epan_dissect_t of the currently-selected packet. The functionality of blank_packetinfo() was moved into dissect_packet(), as that's the only place that called blank_packetinfo(), after a spurious call to blank_packetinfo() was removed from packet_list_select_cb(). svn path=/trunk/; revision=4246
2001-09-14Make the resolution for time values be nanoseconds rather thanGuy Harris1-1/+2
microseconds. Fix some "signed vs. unsigned" comparison warnings. svn path=/trunk/; revision=3937
2001-04-01Moved the the remaining column related routines out of packet.{c,h}Ed Warnicke1-1/+3
and into column-utils{c,h}. svn path=/trunk/; revision=3231
2001-04-01Moved some ipv6 definitions from packet-ipv6.h to epan/ipv6-utils.h.Ed Warnicke1-1/+2
Fixed some typos. svn path=/trunk/; revision=3230
2001-04-01Moved timestamp.h into epan.Ed Warnicke1-1/+2
svn path=/trunk/; revision=3228
2001-04-01Moved some definitions and functions from packet-osi.{c,h} toEd Warnicke1-1/+3
epan/osi-utils.{c,h} to bring all of the epan dependencies into epan. svn path=/trunk/; revision=3226
2001-04-01Moved the packet_info structure and supporting functions out ofEd Warnicke1-1/+3
packet.{h,c} and into a separate packet_info{h,c}. svn path=/trunk/; revision=3225
2001-04-01Moved the frame_data structures and functions from packet.{h,c} toEd Warnicke1-1/+3
frame_data{h,c}. Added a frame_data_init to be called by epan_init. svn path=/trunk/; revision=3223
2001-04-01Moved the column_info structure and related enum from packet.{c,h} toEd Warnicke1-1/+2
column_info.h. svn path=/trunk/; revision=3222
2001-04-01Moved the value_string structures and function from packet.{c,h} intoEd Warnicke1-2/+4
a separate value_string.{c,h}. svn path=/trunk/; revision=3221
2001-04-01Moved various to_str files from packet.{c,h} to a separateEd Warnicke1-1/+3
to_str.{c,h}. Resolved strange situation where ipx_addr_to_str was declared in packet.h but defined in packet-ipx.c by moving ipx_addr_to_str, ipxnet_to_str_punct, and ipxnet_to_str from packet-ipx.{c,h} to to_str.{c,h} svn path=/trunk/; revision=3219
2001-03-22Move appletalk- and sna-related address routines out of the dissectorsGilbert Ramirez1-1/+5
and into epan. svn path=/trunk/; revision=3160
2001-02-01Create a more modular type system for the FT_* types. Put themGilbert Ramirez1-14/+3
into epan/ftypes. Re-write display filter routines using Lemon parser instead of yacc. Besides using a different tool, the new grammar is much simpler, while the display filter engine itself is more powerful and more easily extended. Add dftest executable, to test display filter "bytecode" generation. Add option to "configure" to build dftest or randpkt, both of which are not built by default. Implement Ed Warnicke's ideas about dranges in the new display filter and ftype code. Remove type FT_TEXT_ONLY in favor of FT_NONE, and have protocols registered as FT_PROTOCOL. Thus, FT_NONE is used only for simple labels in the proto tree, while FT_PROTOCOL is used for protocols. This was necessary for being able to make byte slices (ranges) out of protocols, like "frame[0:3]" Win32 Makefile.nmake's will be added tonight. svn path=/trunk/; revision=2967
2001-01-17Automake 1.4b (which is actually a test version of 1.5, i.e. of aGuy Harris1-4/+4
*future* version, not of 1.4, which is the *current* version - i.e., it's newer than 1.4) complains, if "dfilter-grammar.c" and "dfilter-scanner.c" are part of "EXTRA_libethereal_a_SOURCES", that "dfilter-grammar.o" is built both from "dfilter-grammar.c" and "dfilter-grammar.y", and that "dfilter-scanner.o" is built both from "dfilter-scanner.c" and "dfilter-scanner.l", and refuses to build "Makefile.in". Moving them to "EXTRA_DIST" makes 1.4b happy. Automake 1.4 allows them either to be in "EXTRA_libethereal_a_SOURCES" or in "EXTRA_DIST"; the only difference between the generated "Makefile.in" files is which of those two variables the files are in, and the only difference that makes is that it keeps those two files out of "SOURCES", which means that "make ID" doesn't include them in the files it looks at, and "make TAGS" and "make tags" don't include them in the files they look at. I'm not sure whether the tags file should be built from "dfilter-grammar.y" and "dfilter-scanner.l", or from "dfilter-grammar.c" and "dfilter-scanner.c"; the former means you see the real source file, not the generated source file, if you look for a symbol defined in one of those files, while the latter means you can look for symbols in code generated by YACC/Bison or Flex. In either case, the generated files go into the distribution tarball, which is what we want. For now, we go with what makes Automake 1.4b happy. svn path=/trunk/; revision=2909
2000-11-20Move tvbtest.c to EXTRA_DISTGilbert Ramirez1-3/+3
svn path=/trunk/; revision=2679
2000-11-15Move the table of bit-swapped byte values to "epan/bitswap.c", andGuy Harris1-1/+3
declare it, and define a "BIT_SWAP" macro that uses it, in "epan/bitswap.h". Use that macro to bit-swap bytes in the IEEE 802.11 dissector, rather than the macro that was used (said macro used GCCisms and didn't compile on Windows). Make an "init_plugin()" routine to enable a plugin and call its init routine, and call it from "check_plugin_status()" and "plugins_enable_cb()", rather than having very similar code in two places; "patable" is now part of libethereal, and, at least on Windows, attempts to refer to it from "libui" failed. Make "patable" static to "epan/plugins.c". (This may still not work, as now "libui" is calling a routine in "libethereal"; if that fails, perhaps it's time to get rid of the "enable/disable plugins" stuff completely, as new-style plugins, at least, register themselves as protocols and should be controllable from the "Edit->Protocols" window just as built-in dissectors are.) svn path=/trunk/; revision=2649
2000-10-19There's no "exception.h" header file in "epan", but there isGuy Harris1-2/+2
"exceptions.h". svn path=/trunk/; revision=2514
2000-10-17Make the top-level "config.h.win32" more closely resemble the top-levelGuy Harris1-1/+2
"config.h", and update it to include stuff added to "config.h" and remove stuff removed from "config.h". Give libethereal a "config.h.win32" and make its "Makefile.nmake" file copy it to "config.h". svn path=/trunk/; revision=2504
2000-10-16Give libethereal its own configuration file, and have that configurationGuy Harris1-1/+10
file, rather than the top-level Ethereal configuration file, check for "inet_aton()", "inet_pton()", and "inet_ntop()". Then make its Makefile.am include the appropriate object files if necessary. Otherwise, they don't get built and put into libethereal, and therefore attempts to link with anything in libethereal that uses them fail on platforms that lack ethem, causing the build to fail. That means a bunch of things need to be fixed to cope with libethereal having its own "config.h" file; this means removing the include of "config.h" from some libethereal header files. Move the definitions of the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so "resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure script (so we don't have to include it in "plugins.h" to check whether HAVE_DLFCN_H is defined). Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for now, define that in the top-level configuration file, and have Ethereal and Tethereal pass it as an argument to "epan_init()" - that should be cleaned up at some point. Remove from the top-level configure script checks for things used only in libethereal. svn path=/trunk/; revision=2498
2000-10-14Move inet_*.[ch] files to epan.Gilbert Ramirez1-5/+10
svn path=/trunk/; revision=2494
2000-10-14While keeping the directory named 'epan' and the symbols in the libraryGilbert Ramirez1-5/+5
starting with "epan_", change the name of the library from libepan.a to libethereal.a, and from libepan.lib to ethereal.lib. svn path=/trunk/; revision=2492
2000-10-11Fix it to build on Windows.Guy Harris1-2/+4
svn path=/trunk/; revision=2488
2000-09-28Simple code movement.Gilbert Ramirez1-1/+3
svn path=/trunk/; revision=2463
2000-09-28Simple code movement to epan.Gilbert Ramirez1-1/+3
svn path=/trunk/; revision=2462
2000-09-28More EPAN-related code movements. Get rid of usage of #include "globals.h"Gilbert Ramirez1-1/+3
and #include "util.h" from epan code. Move get_home_dir() into epan/filesystem.c as it's used by plugins.c. svn path=/trunk/; revision=2461
2000-09-27Move packet.[ch] to epanGilbert Ramirez1-1/+3
svn path=/trunk/; revision=2460
2000-09-27Fix for bug in lex command.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=2459
2000-09-27First step in moving core Ethereal routines to libepan.Gilbert Ramirez1-0/+74
svn path=/trunk/; revision=2458