aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
AgeCommit message (Collapse)AuthorFilesLines
2005-12-13HUGE STEP (hopefully toward the right direction):Ulf Lamping1-0/+1
remove a lot of redundant code from tethereal and use (move) stuff from capture_loop.c instead. concentrate common capture related code in capture_opts.c, e.g. trying to find the right interface to capture from (command line option, preference, first usable) instead of duplicating this code over several files. remove redundant code from dumpcap.c this also implements command line option -D (and indexed interfaces at -i) for Ethereal and Dumpcap (as we have it in Tethereal already for a while) svn path=/trunk/; revision=16787
2005-12-06rename pcap-....c/.h files to capture-pcap-....c/.hUlf Lamping1-4/+4
this way, the capture prefix will "logically" group the files together and file browsers will also group them we may want to move the files into a subdir capture later svn path=/trunk/; revision=16691
2005-12-05no more usage of Ethereal.lib in dumpcap any longer :-)Ulf Lamping1-0/+1
use capture_opts_trim() output of command line usage and version "enhanced" svn path=/trunk/; revision=16684
2005-12-04move the complete functionality of the capture info dialog from ↵Ulf Lamping1-1/+0
capture_loop.c to capture_info.c and call it from capture.c (instead of capture_loop.c). This way, the capture child don't need to now any of the packet_counter things (no epan/packet.h and all alike). Currently the capture_info code will always open another wiretap file instance to build it's own counter values. This isn't optimized for now (next step: use data from cf_continue_tail() somehow). svn path=/trunk/; revision=16669
2005-12-03split some parts of the packet counting functions into their own files ↵Ulf Lamping1-2/+5
capture_info(.c/.h), so we can use it from the main program svn path=/trunk/; revision=16668
2005-12-03forgot to checkin that file ... so buildbot became unhappy!Ulf Lamping1-0/+2
svn path=/trunk/; revision=16666
2005-11-28seems like autogen doesn't like empty lines in the makefileUlf Lamping1-1/+1
svn path=/trunk/; revision=16621
2005-11-28dumpcap.c doesn't need to link with file.c!Ulf Lamping1-10/+0
this fortunately removes *a lot* of dependencies and make the resulting binary a lot smaller (and hopefully faster to load :-) some more cleanup (like replacing // by /**/) svn path=/trunk/; revision=16620
2005-11-28first steps towards a separated capture tool, working title "dumpcap"Ulf Lamping1-0/+25
personal backup only, not meant for public testing! I've copied main.c into dumpcap.c and carved out all things not needed currently won't work as a command line tool, capture_loop.c wants an input pipe console output is also very ugly and the whole code needs a lot of further cleanup shouldn't break the unix build as I've only changed the nmake files so far, but who knows ... svn path=/trunk/; revision=16615
2005-11-17Handle "-G" only in Tethereal - it doesn't work in Ethereal, and isn'tGuy Harris1-0/+1
necessary there. Add a "cmdarg_err()" routine to report command-line option errors; it creates a console if necessary, and prints the command name and the trailing newline. Also add "cmdarg_err_cont()", which also creates a console if necessary, and prints a trailing newline but no command name; it's used to continue the message. Use those, rather than "g_warning()", for errors. That means that we no longer need to pass the command name to various command-line argument parsing routines. svn path=/trunk/; revision=16526
2005-10-04Add a "capture_errs.c" routine to cough up error messages for captureGuy Harris1-14/+3
problems, and use the first routine in it in multiple places. Get rid of DISSECTOR_SUPPORT_INCLUDES - just add its contents to ETHEREAL_COMMON_INCLUDES. svn path=/trunk/; revision=16109
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-22/+10
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris1-0/+1
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. svn path=/trunk/; revision=15493
2005-08-20For AFP requests, add in the frame with the (last part of the) reply, ifGuy Harris1-0/+1
possible, and, for AFP replies, add in the frame with the request and the time between those two frames. Have AFP per-request-type RTT statistics, similar to SMB's statistics. svn path=/trunk/; revision=15456
2005-08-19Move the stats.[ch] stuff into epan, so plugins can use it.Guy Harris1-2/+0
svn path=/trunk/; revision=15429
2005-08-19Move the APIs for registering and processing "-z" command-line argumentsGuy Harris1-0/+2
and "Statistics" menu items into "stat.h" and "stat.c", to separate them from the core tapping APIs. A tap could conceivably not register as a "-z" command-line argument or "Statistics" menu item, and a stat could conceivably not be implemented as a tap, and dissectors that implement tapping points don't need the UI-related stuff from "stat.h", they just want the tap-related stuff in <epan/tap.h>. svn path=/trunk/; revision=15427
2005-08-17fix a typoUlf Lamping1-1/+1
svn path=/trunk/; revision=15394
2005-07-12Remove/replace SPACES at the beginning of Makefile.am/Makefile.commonJörg Mayer1-2/+2
files as not all make implementation work with this. Found by running grep '^ ' `find . -name "Makefile.am" -o -name "Makefile.common"` Gerald: Maybe adding this to the buildbot would be a good idea after all. svn path=/trunk/; revision=14904
2005-05-26add log.hUlf Lamping1-0/+1
svn path=/trunk/; revision=14445
2005-04-29add a new feature: list the files of a "File Set" (set of files generated by ↵Ulf Lamping1-0/+2
capturing "Multiple Files"/ringbuffer) and jump from one file of it to the next/previous one svn path=/trunk/; revision=14231
2005-03-20From Oleg Terletsky: Support for SCTP chunk counters. Modified to handle ↵Michael Tüxen1-0/+1
bundling correctly. svn path=/trunk/; revision=13823
2005-02-25Get stats_tree compiledLuis Ontanon1-0/+1
svn path=/trunk/; revision=13507
2005-02-23move capture_opts related things (init, command line, ...) from capture.c to ↵Ulf Lamping1-0/+2
a new file capture_opts.c and let both ethereal and tethereal use it. svn path=/trunk/; revision=13474
2005-02-14Make the "maintainer-clean" rules get rid of some additional generatedGuy Harris1-2/+18
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and GENERATED_FILES macros in Makefile.common files, along the lines of what wiretap/Makefile.common has. Clean up "*~" files with "make clean" rather than only "make distclean" in some additional places. Add "maintainer-clean" rules to the Makefile.nmake files, paralelling the ones in the automake-generated Makefile.in files, using the GENERATED_FILES macros from Makefile.common files. In some cases, move the cleanup of files from "make distclean" to "make maintainer-clean", and in other cases, put in a comment indicating why we're not doing that (because some files that are distributed in the source tarballs, namely Flex output, were built with a UN*X Flex and won't compile on Windows, so we get rid of them with "make distclean" so you can clean up stuff that *has* to be re-generated for Windows). Clean up some *CLEANFILES definitions - get rid of ones that no longer apply as files were moved or that add to the definition a name that's already there. svn path=/trunk/; revision=13402
2005-02-09Move the following files from /trunk to /trunk/epan:Lars Roland1-6/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. svn path=/trunk/; revision=13366
2005-02-08Move h225-persistentdata.[ch] to epan,Lars Roland1-1/+0
as its code is linked into libethereal.dll. svn path=/trunk/; revision=13354
2005-02-06Don't have "set_menus_for_captured_packets()" callGuy Harris1-0/+1
"main_set_for_capture_file()"; it should only deal with menus, not anything else - and it gets called while the menus are being set up, which is before the main window has been completely created, so "main_widgets_show_or_hide()", which is called by "main_set_for_capture_file()", gets errors trying to show or hide widgets the pointers to which are null. svn path=/trunk/; revision=13328
2005-01-16Report a friendlier name, if possible, when capturing in Tethereal.Guy Harris1-2/+2
svn path=/trunk/; revision=13062
2005-01-16Rename capture_combo_utils.{c,h} to capture_ui_utils.{c,h}, as the codeGuy Harris1-2/+2
in there is for UI functions including, but not limited to, the combo box in capture dialogs. svn path=/trunk/; revision=13061
2004-10-30split capture_loop from capture.c, some more code cleanupUlf Lamping1-0/+1
svn path=/trunk/; revision=12451
2004-10-30code cleanup: split capture_sync from capture.c into it's own file. Ulf Lamping1-0/+2
That's the part used, when "Update list of packets in real time" is used while capturing. svn path=/trunk/; revision=12445
2004-10-01"prefs-int.h" belongs in epan, too.Guy Harris1-1/+0
svn path=/trunk/; revision=12168
2004-09-29Move the column preferences stuff to epan (the rest of the preferencesGuy Harris1-1/+0
stuff is already there). Update Gerald's e-mail address in column.h. svn path=/trunk/; revision=12131
2004-09-29Move various tables into the epan directory.Guy Harris1-3/+0
svn path=/trunk/; revision=12130
2004-09-29Move the request/response header helper routines to the epan directory.Guy Harris1-1/+0
svn path=/trunk/; revision=12129
2004-09-29Move the tap infrastructure to the epan directory.Guy Harris1-1/+0
svn path=/trunk/; revision=12128
2004-09-28Move the xDLC helper routines into epan.Guy Harris1-1/+0
svn path=/trunk/; revision=12127
2004-09-28Move the SHA-1 code and header into epan, and give them RCS IDs.Guy Harris1-1/+0
svn path=/trunk/; revision=12125
2004-09-28Move various checksum routines and headers to epan.Guy Harris1-4/+0
svn path=/trunk/; revision=12117
2004-09-27Move the DES, MD4, MD5, and RC4 source files and headers into epan, andGuy Harris1-4/+0
make the source files all include the corresponding header files (so that the declarations in the headers have to match the definitions in the source files in order for compilation to succeed). svn path=/trunk/; revision=12116
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+0
svn path=/trunk/; revision=12115
2004-09-11Nothing in "util.h" is needed by anything in libethereal, so don't putGuy Harris1-2/+4
it into libethereal - have it as common code linked into Ethereal, Tethereal, and dftest. svn path=/trunk/; revision=11961
2004-09-10Hoist the code for handling "-G" into a common module.Guy Harris1-0/+2
svn path=/trunk/; revision=11956
2004-09-09Add SHA1 routines for future use at least by SigCompAnders Broman1-0/+1
svn path=/trunk/; revision=11951
2004-09-04The packet range stuff knows about capture_file structures, so it'sGuy Harris1-0/+2
really more of an Ethereal/Tethereal component than a libethereal component (nothing else in libethereal knows about capture files); move it back out of libethereal. (The range stuff doesn't; we leave it in libethereal.) svn path=/trunk/; revision=11898
2004-09-04Rename "range.c" and "range.h" to "packet-range.c" and "packet-range.h";Guy Harris1-2/+0
they should ultimately be split into files with routines that handle ranges, which are just subsets of [0,2^32), and packet ranges, which are subsets of the packet list, possibly specified by a range. Move them into epan, so they can be used by, for example, utilities that handle ranges, such editcap. svn path=/trunk/; revision=11890
2004-07-29From Lars Roland: With this patch print.(c/h) and ps.(c/h) don't belong to Olivier Biot1-2/+4
the DISSECTOR_SUPPORT_xy files any longer and as a consequence they won't be linked into libethereal. svn path=/trunk/; revision=11559
2004-07-27"ps.c" isn't a header, so don't include it in ETHEREAL_COMMON_INCLUDES.Guy Harris1-4/+3
svn path=/trunk/; revision=11533
2004-07-24Move color_filters.c and color_filters.h up to the top-level directory,Guy Harris1-0/+2
as they're now (theoretically) toolkit-independent (modulo changes that might be required to the code to update filter lists when a new filter is read in). svn path=/trunk/; revision=11500
2004-07-23"capture_combo_utils.{c,h}" don't use any GTK+ stuff, so move them toGuy Harris1-0/+2
the top-level directory. svn path=/trunk/; revision=11494