diff --git a/INSTALL b/INSTALL index df914a33b4..35a4ac9e44 100644 --- a/INSTALL +++ b/INSTALL @@ -99,7 +99,7 @@ README.win32 for those instructions. By default the hex-dump-to-capture file conversion program is built. Use this switch to avoid building it. - --disable-idl2eth + --disable-idl2wrs By default the IDL-to-ethereal-dissector-source-code converter is built. Use this switch to avoid building it. diff --git a/Makefile.am b/Makefile.am index 89c7b67b8f..b343c0c769 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,21 +61,21 @@ ACLOCAL_AMFLAGS = `./aclocal-flags` # the "man{section}_MANS" variables. # bin_PROGRAMS = @ethereal_bin@ @capinfos_bin@ @editcap_bin@ @mergecap_bin@ @tethereal_bin@ @dftest_bin@ @randpkt_bin@ @text2pcap_bin@ @dumpcap_bin@ -bin_SCRIPTS = @idl2eth_bin@ -man1_MANS = @ethereal_man@ @capinfos_man@ @editcap_man@ @mergecap_man@ @tethereal_man@ @text2pcap_man@ @dumpcap_man@ @idl2eth_man@ +bin_SCRIPTS = @idl2wrs_bin@ +man1_MANS = @ethereal_man@ @capinfos_man@ @editcap_man@ @mergecap_man@ @tethereal_man@ @text2pcap_man@ @dumpcap_man@ @idl2wrs_man@ man4_MANS = @etherealfilter_man@ man_MANS = EXTRA_PROGRAMS = ethereal tethereal capinfos editcap mergecap dftest \ randpkt text2pcap dumpcap -EXTRA_SCRIPTS = idl2eth +EXTRA_SCRIPTS = tools/idl2wrs # # Ethereal configuration files are put in $(pkgdatadir). # pkgdata_DATA = AUTHORS-SHORT manuf ethereal.html tethereal.html \ ethereal-filter.html capinfos.html editcap.html \ - idl2eth.html mergecap.html text2pcap.html dumpcap.html \ + idl2wrs.html mergecap.html text2pcap.html dumpcap.html \ cfilters colorfilters dfilters # @@ -276,7 +276,7 @@ ethereal_optional_objects = @GETOPT_O@ @SNPRINTF_O@ @STRERROR_O@ \ ethereal_additional_libs = \ gtk/libui.a \ wiretap/libwiretap.la \ - epan/libethereal.la + epan/libwireshark.la # This is the automake dependency variable for the executable ethereal_DEPENDENCIES = \ @@ -311,7 +311,7 @@ ethereal_LDADD = \ # linked into the tethereal executable. tethereal_additional_libs = \ wiretap/libwiretap.la \ - epan/libethereal.la + epan/libwireshark.la # This is the automake dependency variable for the executable tethereal_DEPENDENCIES = \ @@ -429,7 +429,7 @@ randpkt_LDADD = \ dftest_additional_libs = \ wiretap/libwiretap.la \ - epan/libethereal.la + epan/libwireshark.la dftest_DEPENDENCIES = \ $(ethereal_optional_objects) \ @@ -468,7 +468,7 @@ dumpcap_LDADD = \ CLEANFILES = \ svnversion.h \ @rdps_bin@ \ - idl2eth \ + idl2wrs \ *~ \ vgcore.pid* @@ -538,7 +538,7 @@ EXTRA_DIST = \ doc/README.capture \ doc/README.design \ doc/README.developer \ - doc/README.idl2eth \ + doc/README.idl2wrs \ doc/README.malloc \ doc/README.plugins \ doc/README.regression \ @@ -550,7 +550,7 @@ EXTRA_DIST = \ doc/editcap.pod \ doc/ethereal-filter.pod.template \ doc/ethereal.pod \ - doc/idl2eth.pod \ + doc/idl2wrs.pod \ doc/mergecap.pod \ doc/randpkt.txt \ doc/tethereal.pod \ @@ -560,11 +560,10 @@ EXTRA_DIST = \ doxygen.cfg.in \ dumpcap.c \ editcap.c \ - epan/libethereal.def \ + epan/libwireshark.def \ ethereal_be.py \ ethereal_gen.py \ ethereal.desktop \ - idl2eth.sh \ image/Ethereal.icns \ image/Makefile.nmake \ image/README.image \ @@ -593,7 +592,7 @@ EXTRA_DIST = \ image/hi48-app-ethereal.png \ image/icon-ethereal.xpm \ image/icon-excl.xpm \ - image/libethereal.rc.in \ + image/libwireshark.rc.in \ image/lo16-app-ethereal.png \ image/lo32-app-ethereal.png \ image/lo48-app-ethereal.png \ @@ -718,9 +717,9 @@ editcap.1: doc/editcap.pod (cd doc ; \ $(MAKE) ../editcap.1 ) -idl2eth.1: doc/idl2eth.pod +idl2wrs.1: doc/idl2wrs.pod (cd doc ; \ - $(MAKE) ../idl2eth.1 ) + $(MAKE) ../idl2wrs.1 ) mergecap.1: doc/mergecap.pod (cd doc ; \ @@ -754,9 +753,9 @@ editcap.html: doc/editcap.pod (cd doc ; \ $(MAKE) ../editcap.html ) -idl2eth.html: doc/idl2eth.pod +idl2wrs.html: doc/idl2wrs.pod (cd doc ; \ - $(MAKE) ../idl2eth.html ) + $(MAKE) ../idl2wrs.html ) mergecap.html: doc/mergecap.pod (cd doc ; \ diff --git a/Makefile.nmake b/Makefile.nmake index b93c104748..8be8320c07 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -52,8 +52,8 @@ ethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \ !IFDEF HHC_DIR $(HHC_DIR)\lib\htmlhelp.lib \ !ENDIF -!IFDEF ENABLE_LIBETHEREAL - epan\libethereal.lib \ +!IFDEF ENABLE_LIBWIRESHARK + epan\libwireshark.lib \ !ELSE epan\dissectors\dissectors.lib \ epan\ethereal.lib \ @@ -69,8 +69,8 @@ tethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \ wsock32.lib user32.lib \ $(GLIB_LIBS) \ $(NET_SNMP_DIR)\win32\lib\release\netsnmp.lib \ -!IFDEF ENABLE_LIBETHEREAL - epan\libethereal.lib \ +!IFDEF ENABLE_LIBWIRESHARK + epan\libwireshark.lib \ !ELSE epan\dissectors\dissectors.lib \ epan\ethereal.lib \ @@ -101,8 +101,8 @@ dftest_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \ wsock32.lib user32.lib \ $(GLIB_LIBS) \ $(NET_SNMP_DIR)\win32\lib\release\netsnmp.lib \ -!IFDEF ENABLE_LIBETHEREAL - epan\libethereal.lib \ +!IFDEF ENABLE_LIBWIRESHARK + epan\libwireshark.lib \ !ELSE epan\dissectors\dissectors.lib \ epan\ethereal.lib \ @@ -121,7 +121,7 @@ randpkt_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \ EXECUTABLES=ethereal.exe ethereal-gtk2.exe tethereal.exe \ capinfos.exe editcap.exe mergecap.exe text2pcap.exe randpkt.exe dumpcap.exe -RESOURCES=image\ethereal.res image\libethereal.res image\tethereal.res \ +RESOURCES=image\ethereal.res image\libwireshark.res image\tethereal.res \ image\capinfos.res image\editcap.res image\mergecap.res \ image\text2pcap.res image\wiretap.res image\dumpcap.res @@ -230,7 +230,7 @@ config.h : config.h.win32 config.nmake -e "s/@HAVE_PCAP_DATALINK_NAME_TO_VAL@/$(PCAP_DATALINK_NAME_TO_VAL_CONFIG)/" \ -e "s/@HAVE_PCAP_DATALINK_VAL_TO_NAME@/$(PCAP_DATALINK_VAL_TO_NAME_CONFIG)/" \ -e "s/@HAVE_PCAP_BREAKLOOP@/$(PCAP_BREAKLOOP_CONFIG)/" \ - -e "s/@HAVE_LIBETHEREALDLL@/$(LIBETHEREAL_CONFIG)/" \ + -e "s/@HAVE_LIBWIRESHARKDLL@/$(LIBWIRESHARK_CONFIG)/" \ -e "s/@WPCAP_CONSTIFIED@/$(WPCAP_CONSTIFIED_CONFIG)/" \ -e "s/@HAVE_GNUTLS@/$(GNUTLS_CONFIG)/" \ -e "s/@HAVE_LUA@/$(LUA_CONFIG)/" \ @@ -295,7 +295,7 @@ clean: gtk2_distclean AUTHORS-SHORT-FORMAT \ dftest.obj dftest.exe randpkt.obj randpkt.ext dumpcap.obj \ doxygen.cfg \ - $(RESOURCES) libethereal.dll wiretap-$(WTAP_VERSION).dll + $(RESOURCES) libwireshark.dll wiretap-$(WTAP_VERSION).dll cd asn1 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean cd .. @@ -660,8 +660,8 @@ install-gtk1-deps: install-required-deps install-required-deps: set copycmd=/y xcopy wiretap\wiretap-$(WTAP_VERSION).dll . /d -!IFDEF ENABLE_LIBETHEREAL - xcopy epan\libethereal.dll . /d +!IFDEF ENABLE_LIBWIRESHARK + xcopy epan\libwireshark.dll . /d !ENDIF xcopy $(GLIB_DIR)\bin\libglib-2.0-0.dll . /d xcopy $(GLIB_DIR)\bin\libgmodule-2.0-0.dll . /d diff --git a/README.macos b/README.macos index 7889c59ba7..5b9d03d331 100644 --- a/README.macos +++ b/README.macos @@ -9,7 +9,7 @@ build or install GTK+, and will only be able to build Tethereal. The X11 and X11 SDK that come with Mac OS X 10.3[.x] are sufficient to build and run Ethereal. -The changes to enable libwiretap and libethereal being built as shared +The changes to enable libwiretap and libwireshark being built as shared libraries have broken shared gtk1 builds on Mac OS X. The GLib 1.x and GTK+ 1.x release tarballs were built with an older version of libtool that didn't support shared libraries on Mac OS X, so you can't build and diff --git a/config.h.win32 b/config.h.win32 index 46f0ccdbaf..b278085242 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -37,13 +37,13 @@ #define HAVE_PLUGINS 1 #define PLUGINS_NEED_ADDRESS_TABLE 1 -/* Plugins can also use the import library of libethereal.dll instead +/* Plugins can also use the import library of libwireshark.dll instead of the old API. In that case we undefine PLUGINS_NEED_ADDRESS_TABLE for the plugin. We don't undefine PLUGINS_NEED_ADDRESS_TABLE globally. Thus Ethereal will be still able to load plugins using the old API. - The macro HAVE_WIN32_LIBETHEREAL_LIB has to be defined in plugin's + The macro HAVE_WIN32_LIBWIRESHARK_LIB has to be defined in plugin's makefile.nmake. A template is available in doc/README.plugins */ -#ifdef HAVE_WIN32_LIBETHEREAL_LIB +#ifdef HAVE_WIN32_LIBWIRESHARK_LIB #undef PLUGINS_NEED_ADDRESS_TABLE #endif @@ -61,15 +61,15 @@ @HAVE_PCAP_DATALINK_NAME_TO_VAL@ @HAVE_PCAP_DATALINK_VAL_TO_NAME@ @WPCAP_CONSTIFIED@ -@HAVE_LIBETHEREALDLL@ +@HAVE_LIBWIRESHARKDLL@ /* availability of pcap_freecode() is handled at runtime */ #define HAVE_PCAP_FREECODE 1 /* define macro for importing variables from an dll - * it depends on HAVE_LIBETHEREAL and _NEED_VAR_IMPORT_ + * it depends on HAVE_LIBWIRESHARK and _NEED_VAR_IMPORT_ */ -#if defined (_NEED_VAR_IMPORT_) && defined (HAVE_LIBETHEREALDLL) +#if defined (_NEED_VAR_IMPORT_) && defined (HAVE_LIBWIRESHARKDLL) # define ETH_VAR_IMPORT __declspec(dllimport) extern #else # define ETH_VAR_IMPORT extern diff --git a/config.nmake b/config.nmake index 981da9c887..2da4f1d533 100644 --- a/config.nmake +++ b/config.nmake @@ -275,13 +275,13 @@ MAKENSIS_MODERN_UI=USE # It looks like we'll have to call "set copycmd=/y" before we run xcopy. COPYCMD=/y -# If you don't want to build libethereal.dll, you should comment out the +# If you don't want to build libwireshark.dll, you should comment out the # following line. (Note: for plugin support this option must stay activated) -ENABLE_LIBETHEREAL=USE +ENABLE_LIBWIRESHARK=USE -!IFDEF ENABLE_LIBETHEREAL -# Uncomment next line to link plugins with the import library of libethereal.dll -LINK_PLUGINS_WITH_LIBETHEREAL=USE +!IFDEF ENABLE_LIBWIRESHARK +# Uncomment next line to link plugins with the import library of libwireshark.dll +LINK_PLUGINS_WITH_LIBWIRESHARK=USE !ENDIF # @@ -422,10 +422,10 @@ NETTLE_LIBS= NETTLE_CONFIG= !ENDIF -!IFDEF ENABLE_LIBETHEREAL -LIBETHEREAL_CONFIG=^#define HAVE_LIBETHEREALDLL 1 +!IFDEF ENABLE_LIBWIRESHARK +LIBWIRESHARK_CONFIG=^#define HAVE_LIBWIRESHARKDLL 1 !ELSE -LIBETHEREAL_CONFIG= +LIBWIRESHARK_CONFIG= !ENDIF !IFDEF GNUTLS_DIR diff --git a/configure.in b/configure.in index a1aac383f5..a28b1bc93b 100644 --- a/configure.in +++ b/configure.in @@ -622,20 +622,20 @@ fi AC_SUBST(text2pcap_bin) AC_SUBST(text2pcap_man) -# Enable/disable idl2eth +# Enable/disable idl2wrs -AC_ARG_ENABLE(idl2eth, -[ --enable-idl2eth build idl2eth. [default=yes]],enable_idl2eth=$enableval,enable_idl2eth=yes) +AC_ARG_ENABLE(idl2wrs, +[ --enable-idl2wrs build idl2wrs. [default=yes]],enable_idl2wrs=$enableval,enable_idl2wrs=yes) -if test "x$enable_idl2eth" = "xyes" ; then - idl2eth_bin="idl2eth" - idl2eth_man="idl2eth.1" +if test "x$enable_idl2wrs" = "xyes" ; then + idl2wrs_bin="idl2wrs" + idl2wrs_man="idl2wrs.1" else - idl2eth_bin="" - idl2eth_man="" + idl2wrs_bin="" + idl2wrs_man="" fi -AC_SUBST(idl2eth_bin) -AC_SUBST(idl2eth_man) +AC_SUBST(idl2wrs_bin) +AC_SUBST(idl2wrs_man) # Enable/disable dftest @@ -1269,7 +1269,7 @@ AC_SUBST(plugindir) # # The plugin dissectors reside in ./plugins/PROTO/ # -PLUGIN_LIBS="-L../../epan -lethereal $GLIB_LIBS" +PLUGIN_LIBS="-L../../epan -lwireshark $GLIB_LIBS" AC_SUBST(PLUGIN_LIBS) dnl libtool defs @@ -1408,7 +1408,7 @@ echo " Build editcap : $enable_editcap" echo " Build dumpcap : $enable_dumpcap" echo " Build mergecap : $enable_mergecap" echo " Build text2pcap : $enable_text2pcap" -echo " Build idl2eth : $enable_idl2eth" +echo " Build idl2wrs : $enable_idl2wrs" echo " Build randpkt : $enable_randpkt" echo " Build dftest : $enable_dftest" echo "" diff --git a/debian/ethereal-common.files b/debian/ethereal-common.files index 19c79a3a9d..80c18f594b 100644 --- a/debian/ethereal-common.files +++ b/debian/ethereal-common.files @@ -1,8 +1,8 @@ /usr/bin/editcap /usr/bin/mergecap /usr/bin/text2pcap -/usr/lib/ethereal/libethereal.so.0 -/usr/lib/ethereal/libethereal.so.0.0.1 +/usr/lib/ethereal/libwireshark.so.0 +/usr/lib/ethereal/libwireshark.so.0.0.1 /usr/lib/ethereal/libwiretap.so.0 /usr/lib/ethereal/libwiretap.so.0.0.1 /usr/lib/ethereal/plugins/* @@ -10,8 +10,8 @@ /usr/bin/editcap /usr/bin/mergecap /usr/bin/text2pcap -/usr/lib/ethereal/libethereal.so.0 -/usr/lib/ethereal/libethereal.so.0.0.1 +/usr/lib/ethereal/libwireshark.so.0 +/usr/lib/ethereal/libwireshark.so.0.0.1 /usr/lib/ethereal/libwiretap.so.0 /usr/lib/ethereal/libwiretap.so.0.0.1 /usr/lib/ethereal/plugins/* diff --git a/debian/ethereal-dev.docs b/debian/ethereal-dev.docs index 901222891a..1c2215cd30 100644 --- a/debian/ethereal-dev.docs +++ b/debian/ethereal-dev.docs @@ -1,15 +1,15 @@ doc/README.design doc/README.developer -doc/README.idl2eth +doc/README.idl2wrs doc/README.plugins doc/README.design doc/README.developer -doc/README.idl2eth +doc/README.idl2wrs doc/README.plugins doc/README.design doc/README.developer -doc/README.idl2eth +doc/README.idl2wrs doc/README.plugins diff --git a/debian/ethereal-dev.files b/debian/ethereal-dev.files index 6ceb7b4813..9ca5c46aee 100644 --- a/debian/ethereal-dev.files +++ b/debian/ethereal-dev.files @@ -1,24 +1,24 @@ -/usr/bin/idl2eth +/usr/bin/idl2wrs /usr/bin/idl2deb /usr/bin/asn2deb -/usr/lib/ethereal/libethereal.so -/usr/lib/ethereal/libethereal.la +/usr/lib/ethereal/libwireshark.so +/usr/lib/ethereal/libwireshark.la /usr/lib/ethereal/libwiretap.so /usr/lib/ethereal/libwiretap.la /usr/lib/python2.3/* /usr/include/ethereal/* -/usr/bin/idl2eth +/usr/bin/idl2wrs /usr/bin/idl2deb /usr/bin/asn2deb -/usr/lib/ethereal/libethereal.so -/usr/lib/ethereal/libethereal.la +/usr/lib/ethereal/libwireshark.so +/usr/lib/ethereal/libwireshark.la /usr/lib/ethereal/libwiretap.so /usr/lib/ethereal/libwiretap.la /usr/lib/python2.3/* /usr/include/ethereal/* -/usr/bin/idl2eth +/usr/bin/idl2wrs /usr/lib/python2.2/* /usr/include/ethereal/* /usr/lib/libwiretap.a diff --git a/debian/ethereal-dev.manpages b/debian/ethereal-dev.manpages index 9ccb1da43e..5e142422d3 100644 --- a/debian/ethereal-dev.manpages +++ b/debian/ethereal-dev.manpages @@ -1,8 +1,8 @@ -idl2eth.1 +idl2wrs.1 idl2deb.1 asn2deb.1 -idl2eth.1 +idl2wrs.1 idl2deb.1 asn2deb.1 -idl2eth.1 +idl2wrs.1 diff --git a/debian/patches/00list b/debian/patches/00list index d05e06e813..2634dfdf24 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -6,6 +6,6 @@ 06_giop-buffer 07_gcc4 08_ethereal-desktop-menu -09_idl2eth +09_idl2wrs 10_ethereal_gen 11_diameter_vendors diff --git a/doc/Makefile.am b/doc/Makefile.am index 153452e20b..1cfe9b83ae 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -91,17 +91,17 @@ ethereal-filter.pod: ethereal-filter.pod.template ../tethereal --noindex \ $(srcdir)/editcap.pod > ../editcap.html -../idl2eth.1: idl2eth.pod ../config.h +../idl2wrs.1: idl2wrs.pod ../config.h $(POD2MAN) \ --center="The Wireshark Network Analyzer" \ --release=$(VERSION) \ - $(srcdir)/idl2eth.pod > ../idl2eth.1 + $(srcdir)/idl2wrs.pod > ../idl2wrs.1 -../idl2eth.html: idl2eth.pod ../config.h +../idl2wrs.html: idl2wrs.pod ../config.h $(POD2HTML) \ - --title="idl2eth - The Wireshark Network Analyzer $(VERSION)" \ + --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \ --noindex \ - $(srcdir)/idl2eth.pod > ../idl2eth.html + $(srcdir)/idl2wrs.pod > ../idl2wrs.html ../mergecap.1: mergecap.pod ../config.h $(POD2MAN) \ @@ -158,8 +158,8 @@ CLEANFILES = \ ../text2pcap.html \ ../dumpcap.1 \ ../dumpcap.html \ - ../idl2eth.1 \ - ../idl2eth.html + ../idl2wrs.1 \ + ../idl2wrs.html DISTCLEANFILES = \ pod2htmi.tmp \ diff --git a/doc/Makefile.nmake b/doc/Makefile.nmake index 941893c721..a58101bc6c 100644 --- a/doc/Makefile.nmake +++ b/doc/Makefile.nmake @@ -27,10 +27,10 @@ include ../config.nmake doc: ethereal.html tethereal.html ethereal-filter.html capinfos.html \ - editcap.html idl2eth.html mergecap.html text2pcap.html dumpcap.html + editcap.html idl2wrs.html mergecap.html text2pcap.html dumpcap.html man: ethereal.1 tethereal.1 ethereal-filter.4 capinfos.1 editcap.1 \ - idl2eth.1 mergecap.1 text2pcap.1 dumpcap.1 + idl2wrs.1 mergecap.1 text2pcap.1 dumpcap.1 ethereal-tmp.pod: ethereal.pod ../AUTHORS-SHORT-FORMAT copy /B ethereal.pod + ..\AUTHORS-SHORT-FORMAT ethereal-tmp.pod @@ -113,17 +113,17 @@ editcap.html: editcap.pod ../config.h --noindex \ editcap.pod > editcap.html -idl2eth.1: idl2eth.pod ../config.h +idl2wrs.1: idl2wrs.pod ../config.h $(POD2MAN) \ --center="The Wireshark Network Analyzer" \ --release=$(VERSION) \ - idl2eth.pod > idl2eth.1 + idl2wrs.pod > idl2wrs.1 -idl2eth.html: idl2eth.pod ../config.h +idl2wrs.html: idl2wrs.pod ../config.h $(POD2HTML) \ - --title="idl2eth - The Wireshark Network Analyzer $(VERSION)" \ + --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \ --noindex \ - idl2eth.pod > idl2eth.html + idl2wrs.pod > idl2wrs.html mergecap.1: mergecap.pod ../config.h $(POD2MAN) \ @@ -167,7 +167,7 @@ clean: rm -f ethereal-filter.html ethereal-filter.4 ethereal-filter.pod rm -f capinfos.html capinfos.1 rm -f editcap.html editcap.1 - rm -f idl2eth.html idl2eth.1 + rm -f idl2wrs.html idl2wrs.1 rm -f mergecap.html mergecap.1 rm -f text2pcap.html text2pcap.1 rm -f dumpcap.html dumpcap.1 diff --git a/doc/README.idl2eth b/doc/README.idl2wrs similarity index 88% rename from doc/README.idl2eth rename to doc/README.idl2wrs index b116dbdc89..cd7392c91b 100644 --- a/doc/README.idl2eth +++ b/doc/README.idl2wrs @@ -6,21 +6,21 @@ Copyright (C) 2001 Frank Singleton What is it ? ============ -As you have probably guessed from the name, "idl2eth" takes a +As you have probably guessed from the name, "idl2wrs" takes a user specified IDL file and attempts to build a dissector that can decode the IDL traffic over GIOP. The resulting file is "C" code, that should compile okay as an ethereal dissector. -idl2eth basically parses the data struct given to it by +idl2wrs basically parses the data struct given to it by the omniidl compiler, and using the GIOP API available in packet-giop.[ch], generates get_CDR_xxx calls to decode the CORBA traffic on the wire. It consists of 4 main files. -README.idl2eth - This document +README.idl2wrs - This document ethereal_be.py - The main compiler backend ethereal_gen.py - A helper class, that generates the C code. -idl2eth - A simple shell script wrapper that the end user should +idl2wrs - A simple shell script wrapper that the end user should use to generate the dissector from the IDL file(s). Why did you do this ? @@ -40,10 +40,10 @@ It is also COOL to work on a great Open Source project such as the case with "Ethereal" (http://www.ethereal.com) -How to use idl2eth +How to use idl2wrs ================== -To use the idl2eth to generate ethereal dissectors, you +To use the idl2wrs to generate ethereal dissectors, you need the following. @@ -54,7 +54,7 @@ need the following. http://omniorb.sourceforge.net/ 3 Of course you need ethereal installed to compile the - code an tweak it if required. idl2eth is part of the + code an tweak it if required. idl2wrs is part of the standard Ethereal distribution @@ -63,14 +63,14 @@ Procedure 1. To write the C code to stdout. - idl2eth + idl2wrs - eg: idl2eth echo.idl + eg: idl2wrs echo.idl 2. To write to a file, just redirect the output. - idl2eth echo.idl > packet-test-idl.c + idl2wrs echo.idl > packet-test-idl.c You may wish to comment out the register_giop_user_module() code and that will leave you with heuristic dissection. diff --git a/doc/idl2eth.pod b/doc/idl2wrs.pod similarity index 72% rename from doc/idl2eth.pod rename to doc/idl2wrs.pod index b5a1c9f9b4..7dd80740de 100644 --- a/doc/idl2eth.pod +++ b/doc/idl2wrs.pod @@ -1,21 +1,21 @@ =head1 NAME -idl2eth - CORBA IDL to Ethereal Plugin Generator +idl2wrs - CORBA IDL to Ethereal Plugin Generator =head1 SYNOPSYS -B filename +B filename =head1 DESCRIPTION -B is a program that takes a user specified B +B is a program that takes a user specified B file and generates B<"C"> source code for an B "plugin". This resulting file can be compiled as an B plugin, and used to monitor B traffic that is using this IDL. -B is actually a shell script wrapper for two B programs. +B is actually a shell script wrapper for two B programs. These programs are: @@ -27,7 +27,7 @@ B - Contains the Source Code Generator Class =back -B supports heuristic dissection of GIOP/IIOP traffic, +B supports heuristic dissection of GIOP/IIOP traffic, and some experimental code for explicit dissection, based on Object Key <-> Repository Id mapping. However, code for heuristic based plugins is @@ -37,29 +37,29 @@ method unless you have some namespace collisions. =head1 OPTIONS -Currently there are no options. B can be invoked as follows. +Currently there are no options. B can be invoked as follows. 1. To write the C code to stdout. - idl2eth + idl2wrs - eg: idl2eth echo.idl + eg: idl2wrs echo.idl 2. To write to a file, just redirect the output. - idl2eth echo.idl > packet-test.c + idl2wrs echo.idl > packet-test.c =head1 ENVIRONMENT -B will look for B and B in +B will look for B and B in B<$PYTHONPATH/site-packages/> and if not found, will try the current directory B<./> -The B<-p> option passed to omniidl (inside B) indicates where +The B<-p> option passed to omniidl (inside B) indicates where B and B will be searched. This may need tweaking if you place these files somewhere else. @@ -76,11 +76,11 @@ I =head1 NOTES -B (including B and B) are part of +B (including B and B) are part of the B distribution. The latest version of B can be found at B. -B uses B, and IDL parser, and can be found at +B uses B, and IDL parser, and can be found at B =head1 TODO diff --git a/docbook/edg_src/EDG_chapter_dissection.xml b/docbook/edg_src/EDG_chapter_dissection.xml index 4b5347dcb7..1b3947c381 100644 --- a/docbook/edg_src/EDG_chapter_dissection.xml +++ b/docbook/edg_src/EDG_chapter_dissection.xml @@ -251,9 +251,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) OBJECTS=foo.obj diff --git a/docbook/wsug_src/WSUG_app_tools.xml b/docbook/wsug_src/WSUG_app_tools.xml index b6be9d893c..b71602aa85 100644 --- a/docbook/wsug_src/WSUG_app_tools.xml +++ b/docbook/wsug_src/WSUG_app_tools.xml @@ -746,12 +746,12 @@ where <input-filename> specifies input filename (use - for standard input) -
- <command>idl2eth</command>: + <section id="AppToolsidl2wrs" > + <title><command>idl2wrs</command>: Creating dissectors from Corba IDL files - In an ideal world idl2eth would be mentioned in the users guide + In an ideal world idl2wrs would be mentioned in the users guide in passing and documented in the developers guide. As the developers guide has not yet been completed it will be documented here. @@ -760,20 +760,20 @@ where <input-filename> specifies input filename (use - for standard input) What is it? As you have probably guessed from the name, - idl2eth takes a + idl2wrs takes a user specified IDL file and attempts to build a dissector that can decode the IDL traffic over GIOP. The resulting file is "C" code, that should compile okay as an ethereal dissector. - idl2eth basically parses the data struct given to + idl2wrs basically parses the data struct given to it by the omniidl compiler, and using the GIOP API available in packet-giop.[ch], generates get_CDR_xxx calls to decode the CORBA traffic on the wire. It consists of 4 main files. - README.idl2eth + README.idl2wrs This document @@ -788,7 +788,7 @@ where <input-filename> specifies input filename (use - for standard input) A helper class, that generates the C code. - idl2eth + idl2wrs A simple shell script wrapper that the end user should use to generate the dissector from the IDL file(s). @@ -817,13 +817,13 @@ where <input-filename> specifies input filename (use - for standard input) )
-
How to use idl2eth +
How to use idl2wrs - To use the idl2eth to generate ethereal dissectors, you + To use the idl2wrs to generate ethereal dissectors, you need the following: - Prerequisites to using idl2eth + Prerequisites to using idl2wrs Python must be installed. See @@ -839,13 +839,13 @@ where <input-filename> specifies input filename (use - for standard input) Of course you need ethereal installed to compile the - code and tweak it if required. idl2eth is part of the + code and tweak it if required. idl2wrs is part of the standard Wireshark distribution - To use idl2eth to generate an ethereal dissector from an idl file + To use idl2wrs to generate an ethereal dissector from an idl file use the following procedure: @@ -856,14 +856,14 @@ where <input-filename> specifies input filename (use - for standard input) To write the C code to stdout. - idl2eth <your file.idl> - eg: idl2eth echo.idl + idl2wrs <your file.idl> + eg: idl2wrs echo.idl To write to a file, just redirect the output. - idl2eth echo.idl > packet-test-idl.c + idl2wrs echo.idl > packet-test-idl.c You may wish to comment out the register_giop_user_module() code and that will leave you with heuristic dissection. diff --git a/docbook/wsug_src/WSUG_preface.xml b/docbook/wsug_src/WSUG_preface.xml index bd673759ac..74cacf99f3 100644 --- a/docbook/wsug_src/WSUG_preface.xml +++ b/docbook/wsug_src/WSUG_preface.xml @@ -111,8 +111,8 @@ - Frank Singleton from whose README.idl2eth - is derived. + Frank Singleton from whose README.idl2wrs + is derived. diff --git a/epan/Makefile.am b/epan/Makefile.am index f5155a2b27..2ae673e9e2 100644 --- a/epan/Makefile.am +++ b/epan/Makefile.am @@ -29,18 +29,18 @@ SUBDIRS = ftypes dfilter dissectors ACLOCAL_AMFLAGS = `../aclocal-flags` -lib_LTLIBRARIES = libethereal.la -libethereal_la_LDFLAGS = -version-info 0:1:0 +lib_LTLIBRARIES = libwireshark.la +libwireshark_la_LDFLAGS = -version-info 0:1:0 include Makefile.common INCLUDES = -I$(srcdir)/.. -I$(srcdir)/$(LEMON) -libethereal_la_SOURCES = \ - $(LIBETHEREAL_SRC) \ - $(LIBETHEREAL_INCLUDES) +libwireshark_la_SOURCES = \ + $(LIBWIRESHARK_SRC) \ + $(LIBWIRESHARK_INCLUDES) -EXTRA_libethereal_la_SOURCES = \ +EXTRA_libwireshark_la_SOURCES = \ g_ascii_strtoull.c \ g_ascii_strtoull.h \ inet_aton.c \ @@ -54,7 +54,7 @@ EXTRA_DIST = \ dtd_parse.l \ dtd_preparse.l \ enterprise-numbers \ - libethereal.def \ + libwireshark.def \ Makefile.common \ Makefile.nmake \ make-sminmpec.pl \ @@ -64,8 +64,8 @@ EXTRA_DIST = \ doxygen.cfg.in CLEANFILES = \ - libethereal.a \ - libethereal.la \ + libwireshark.a \ + libwireshark.la \ *~ DISTCLEANFILES = \ @@ -84,8 +84,8 @@ MAINTAINERCLEANFILES = \ # # Add the object files for missing routines, if any. # -libethereal_la_LIBADD = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la @ADNS_LIBS@ @LIBGNUTLS_LIBS@ @KRB5_LIBS@ @SNMP_LIBS@ @SSL_LIBS@ -lm -libethereal_la_DEPENDENCIES = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la +libwireshark_la_LIBADD = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la @ADNS_LIBS@ @LIBGNUTLS_LIBS@ @KRB5_LIBS@ @SNMP_LIBS@ @SSL_LIBS@ -lm +libwireshark_la_DEPENDENCIES = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la tvbtest: tvbtest.o tvbuff.o except.o strutil.o $(LINK) $^ $(GLIB_LIBS) -lz diff --git a/epan/Makefile.common b/epan/Makefile.common index 5cf487a0ed..70d17f6477 100644 --- a/epan/Makefile.common +++ b/epan/Makefile.common @@ -23,7 +23,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -LIBETHEREAL_SRC = \ +LIBWIRESHARK_SRC = \ addr_and_mask.c \ addr_resolv.c \ adler32.c \ @@ -90,7 +90,7 @@ LIBETHEREAL_SRC = \ xdlc.c \ xmlstub.c -LIBETHEREAL_INCLUDES = \ +LIBWIRESHARK_INCLUDES = \ addr_and_mask.h \ addr_resolv.h \ address.h \ diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake index 2c4d49cb15..8dc020d024 100644 --- a/epan/Makefile.nmake +++ b/epan/Makefile.nmake @@ -16,8 +16,8 @@ CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I../wiretap $(GLIB_CFLAGS) \ CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL -# For use when making libethereal.dll -libethereal_LIBS = \ +# For use when making libwireshark.dll +libwireshark_LIBS = \ $(GLIB_LIBS) \ $(ADNS_LIBS) \ $(PCRE_LIBS) \ @@ -33,7 +33,7 @@ libethereal_LIBS = \ .c.obj:: $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $< -LIBETHEREAL_OBJECTS = $(LIBETHEREAL_SRC:.c=.obj) +LIBWIRESHARK_OBJECTS = $(LIBWIRESHARK_SRC:.c=.obj) EXTRA_OBJECTS = \ # snprintf.obj \ @@ -49,30 +49,30 @@ EXTRA_OBJECTS = \ DOXYGEN_DEP=doxygen !ENDIF -!IFDEF ENABLE_LIBETHEREAL -all: ftypes dfilter dissectors libethereal.dll +!IFDEF ENABLE_LIBWIRESHARK +all: ftypes dfilter dissectors libwireshark.dll !ELSE all: ftypes dfilter dissectors ethereal.lib !ENDIF -# For use when making libethereal.dll -libethereal.lib: libethereal.dll -libethereal.exp: libethereal.dll +# For use when making libwireshark.dll +libwireshark.lib: libwireshark.dll +libwireshark.exp: libwireshark.dll -libethereal.dll: ..\config.h $(LIBETHEREAL_OBJECTS) libethereal.def ftypes dfilter dissectors $(DOXYGEN_DEP) $(EXTRA_OBJECTS) \ - ftypes\ftypes.lib dfilter\dfilter.lib dissectors\dissectors.lib ..\image\libethereal.res - @echo Linking libethereal.dll +libwireshark.dll: ..\config.h $(LIBWIRESHARK_OBJECTS) libwireshark.def ftypes dfilter dissectors $(DOXYGEN_DEP) $(EXTRA_OBJECTS) \ + ftypes\ftypes.lib dfilter\dfilter.lib dissectors\dissectors.lib ..\image\libwireshark.res + @echo Linking libwireshark.dll $(link) $(dlllflags) $(conlibsdll) \ $(LOCAL_LDFLAGS) \ - /DEF:libethereal.def /OUT:libethereal.dll \ - /IMPLIB:libethereal.lib $(LIBETHEREAL_OBJECTS) \ - $(libethereal_LIBS) ..\image\libethereal.res \ + /DEF:libwireshark.def /OUT:libwireshark.dll \ + /IMPLIB:libwireshark.lib $(LIBWIRESHARK_OBJECTS) \ + $(libwireshark_LIBS) ..\image\libwireshark.res \ dissectors\register.obj \ $(EXTRA_OBJECTS) -ethereal.lib : ..\config.h $(LIBETHEREAL_OBJECTS) ftypes dfilter dissectors $(DOXYGEN_DEP) $(EXTRA_OBJECTS) \ +ethereal.lib : ..\config.h $(LIBWIRESHARK_OBJECTS) ftypes dfilter dissectors $(DOXYGEN_DEP) $(EXTRA_OBJECTS) \ ftypes\ftypes.lib dfilter\dfilter.lib dissectors\dissectors.lib - link /lib /out:ethereal.lib $(LIBETHEREAL_OBJECTS) \ + link /lib /out:ethereal.lib $(LIBWIRESHARK_OBJECTS) \ $(EXTRA_OBJECTS) ..\config.h : ..\config.h.win32 ..\config.nmake @@ -81,7 +81,7 @@ ethereal.lib : ..\config.h $(LIBETHEREAL_OBJECTS) ftypes dfilter dissectors $(DO cd epan clean: - rm -f $(LIBETHEREAL_OBJECTS) $(EXTRA_OBJECTS) ethereal.lib libethereal.dll libethereal.lib libethereal.exp $(PDB_FILE) doxygen.cfg html/*.* + rm -f $(LIBWIRESHARK_OBJECTS) $(EXTRA_OBJECTS) ethereal.lib libwireshark.dll libwireshark.lib libwireshark.exp $(PDB_FILE) doxygen.cfg html/*.* if exist html rmdir html cd ftypes $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean diff --git a/epan/dfilter/dfilter.h b/epan/dfilter/dfilter.h index 370d73865a..99cb42fbf7 100644 --- a/epan/dfilter/dfilter.h +++ b/epan/dfilter/dfilter.h @@ -66,7 +66,7 @@ dfilter_free(dfilter_t *df); /* dfilter_error_msg is NULL if there was no error during dfilter_compile, * otherwise it points to a displayable error message. With MSVC and a - * libethereal.dll, we need a special declaration. + * libwireshark.dll, we need a special declaration. */ ETH_VAR_IMPORT gchar *dfilter_error_msg; diff --git a/epan/dissectors/Makefile.am b/epan/dissectors/Makefile.am index d4d9bcb529..57da7d7b05 100644 --- a/epan/dissectors/Makefile.am +++ b/epan/dissectors/Makefile.am @@ -80,7 +80,7 @@ x11-declarations.h x11-register-info.h: $(PROC_X11_FIELDS) $(X11_FIELDS) # # The first argument is the directory in which the source files live. # The second argument is "dissectors", to indicate that we should build -# a register.c file for libethereal. +# a register.c file for libwireshark. # All subsequent arguments are the files to scan. # register.c: $(plugin_src) $(DISSECTOR_SRC) $(top_srcdir)/tools/make-dissector-reg \ diff --git a/epan/dissectors/Makefile.nmake b/epan/dissectors/Makefile.nmake index f8f4940a85..bdb115f3b1 100644 --- a/epan/dissectors/Makefile.nmake +++ b/epan/dissectors/Makefile.nmake @@ -69,7 +69,7 @@ x11-declarations.h x11-register-info.h: x11-fields process-x11-fields.pl # # The first argument is the directory in which the source files live. # The second argument is "dissectors", to indicate that we should build -# a register.c file for libethereal. +# a register.c file for libwireshark. # All subsequent arguments are the files to scan. # register.c: $(DISSECTOR_SRC) diff --git a/epan/dissectors/dcerpc/budb/Makefile b/epan/dissectors/dcerpc/budb/Makefile index 6941e36764..db6adb9f5b 100644 --- a/epan/dissectors/dcerpc/budb/Makefile +++ b/epan/dissectors/dcerpc/budb/Makefile @@ -6,8 +6,8 @@ all: generate_dissector generate_dissector: $(DISSECTOR_FILES) -$(DISSECTOR_FILES): ../idl2eth budb.idl budb.cnf template.c template.h - ../idl2eth budb +$(DISSECTOR_FILES): ../idl2wrs budb.idl budb.cnf template.c template.h + ../idl2wrs budb clean: rm -f ETH_* $(DISSECTOR_FILES) diff --git a/epan/dissectors/dcerpc/budb/budb.idl b/epan/dissectors/dcerpc/budb/budb.idl index 0af9d5e6f3..40e467781c 100644 --- a/epan/dissectors/dcerpc/budb/budb.idl +++ b/epan/dissectors/dcerpc/budb/budb.idl @@ -1,5 +1,5 @@ /* this idl is from the LGPL irelease of dce/dfs from the open group. - it has been significantly modified to pass through idl2eth + it has been significantly modified to pass through idl2wrs original copyright follows: */ /* diff --git a/epan/dissectors/dcerpc/butc/Makefile b/epan/dissectors/dcerpc/butc/Makefile index 9780e3277a..d2703afed7 100644 --- a/epan/dissectors/dcerpc/butc/Makefile +++ b/epan/dissectors/dcerpc/butc/Makefile @@ -6,8 +6,8 @@ all: generate_dissector generate_dissector: $(DISSECTOR_FILES) -$(DISSECTOR_FILES): ../idl2eth butc.idl butc.cnf template.c template.h - ../idl2eth butc +$(DISSECTOR_FILES): ../idl2wrs butc.idl butc.cnf template.c template.h + ../idl2wrs butc clean: rm -f ETH_* $(DISSECTOR_FILES) diff --git a/epan/dissectors/dcerpc/butc/butc.idl b/epan/dissectors/dcerpc/butc/butc.idl index 47e6ddb2de..dfdb28f528 100644 --- a/epan/dissectors/dcerpc/butc/butc.idl +++ b/epan/dissectors/dcerpc/butc/butc.idl @@ -1,5 +1,5 @@ /* This idl file originally came from the DCE project but has been - significantly refactored to pass through the idl2eth idl-lite + significantly refactored to pass through the idl2wrs idl-lite compiler. DCE has been released as LGPL, hats off to TheOpenGroup @@ -126,14 +126,14 @@ renamed error_status_t WERROR a 32bit integer ststus code removed handle_t it has no wire encoding - rewrote the unions so that idl2eth can parse them + rewrote the unions so that idl2wrs can parse them changed all varying strings to the type butcNameString_t which is implemented in the template - changed the structs so they are compatible with idl2eth + changed the structs so they are compatible with idl2wrs - afshyper is called udlong in idl2eth 8 bytes, aligned at 4 bytes + afshyper is called udlong in idl2wrs 8 bytes, aligned at 4 bytes added afsnetaddr definition diff --git a/epan/dissectors/dcerpc/drsuapi/Makefile b/epan/dissectors/dcerpc/drsuapi/Makefile index e7399a5363..ea7fb5e537 100644 --- a/epan/dissectors/dcerpc/drsuapi/Makefile +++ b/epan/dissectors/dcerpc/drsuapi/Makefile @@ -6,8 +6,8 @@ all: generate_dissector generate_dissector: $(DISSECTOR_FILES) -$(DISSECTOR_FILES): ../idl2eth drsuapi.idl drsuapi.cnf template.c template.h - ../idl2eth drsuapi +$(DISSECTOR_FILES): ../idl2wrs drsuapi.idl drsuapi.cnf template.c template.h + ../idl2wrs drsuapi clean: rm -f ETH_* $(DISSECTOR_FILES) diff --git a/epan/dissectors/dcerpc/efs/Makefile b/epan/dissectors/dcerpc/efs/Makefile index 69ba297866..7c1d0a824d 100644 --- a/epan/dissectors/dcerpc/efs/Makefile +++ b/epan/dissectors/dcerpc/efs/Makefile @@ -6,8 +6,8 @@ all: generate_dissector generate_dissector: $(DISSECTOR_FILES) -$(DISSECTOR_FILES): ../idl2eth efs.idl efs.cnf template.c template.h - ../idl2eth efs +$(DISSECTOR_FILES): ../idl2wrs efs.idl efs.cnf template.c template.h + ../idl2wrs efs clean: rm -f ETH_* $(DISSECTOR_FILES) diff --git a/epan/dissectors/dcerpc/efs/efs.idl b/epan/dissectors/dcerpc/efs/efs.idl index 65f6c3290d..d154aab6e8 100644 --- a/epan/dissectors/dcerpc/efs/efs.idl +++ b/epan/dissectors/dcerpc/efs/efs.idl @@ -28,7 +28,7 @@ WERROR EfsRpcWriteFileRaw( /* incomplete */ ); -/*XXX this one is really void, need to fix idl2eth for this */ +/*XXX this one is really void, need to fix idl2wrs for this */ WERROR EfsRpcCloseRaw( [in,out,ref] policy_handle *pvContext, ); diff --git a/epan/dissectors/dcerpc/idl2eth.c b/epan/dissectors/dcerpc/idl2wrs.c similarity index 99% rename from epan/dissectors/dcerpc/idl2eth.c rename to epan/dissectors/dcerpc/idl2wrs.c index c93083502a..80bb13335e 100644 --- a/epan/dissectors/dcerpc/idl2eth.c +++ b/epan/dissectors/dcerpc/idl2wrs.c @@ -2920,7 +2920,7 @@ int Exit(int code) void usage(void) { - fprintf(stderr, "Usage: idl2eth \n"); + fprintf(stderr, "Usage: idl2wrs \n"); } void diff --git a/epan/dissectors/packet-giop.h b/epan/dissectors/packet-giop.h index e05d7522b9..6def1de735 100644 --- a/epan/dissectors/packet-giop.h +++ b/epan/dissectors/packet-giop.h @@ -157,7 +157,7 @@ extern void delete_giop_user_module(giop_sub_dissector_t *sub, gchar *name, * * Altough some of these look redundant, I have separated them * out for all CDR types, to assist in auto generation of - * IDL dissectors later, see idl2eth -- FS + * IDL dissectors later, see idl2wrs -- FS * */ diff --git a/epan/dissectors/packet-icep.c b/epan/dissectors/packet-icep.c index 173a4466ea..02f7294f5c 100644 --- a/epan/dissectors/packet-icep.c +++ b/epan/dissectors/packet-icep.c @@ -26,7 +26,7 @@ /* TODO: - 1) Dissect encoded data (do sth like idl2eth for CORBA). + 1) Dissect encoded data (do sth like idl2wrs for CORBA). 2) Add conversations. 3) Register a dissector as one that can be selected by a UDP/TCP port number. 4) Put in Preferences/Protocols/ICEP Option menu: diff --git a/epan/dissectors/packet-ncp2222.inc b/epan/dissectors/packet-ncp2222.inc index 69c52fe1ff..c54315b798 100644 --- a/epan/dissectors/packet-ncp2222.inc +++ b/epan/dissectors/packet-ncp2222.inc @@ -1696,7 +1696,7 @@ typedef proto_item* (*padd_func_t)(ptvcursor_t*, const ptvc_record*); * XXX - are these just DOS-format dates and times? * * Should we put code to understand various date and time formats (UNIX, - * DOS, SMB weird mutant UNIX, NT, Mac, etc. into libethereal, and have + * DOS, SMB weird mutant UNIX, NT, Mac, etc. into libwireshark, and have * the "display" member of an HF_ABSOLUTE_TIME field specify whether * it's DOS date/DOS time, DOS time/DOS date, NT time, UNIX time_t, * UNIX "struct timeval", NFSv3/NFSv4 seconds/nanoseconds, Mac, etc.? diff --git a/epan/epan.c b/epan/epan.c index dd0b1b0104..68fd7477e4 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -31,16 +31,16 @@ static void (*report_read_failure_func)(const char *, int); /* * XXX - this takes the plugin directory as an argument, because - * libethereal now has its own configure script and "config.h" file, + * libwireshark now has its own configure script and "config.h" file, * which is what code in the "epan" directory includes, but we need * to define PLUGIN_DIR in the top-level directory, as it's used by, * for example, the Makefile for the Gryphon plugin, so it knows * where to install the plugin. * * Eventually, we should probably have an "epan-configure" script - * (or "libethereal-configure", or whatever), along the lines of what + * (or "libwireshark-configure", or whatever), along the lines of what * GTK+ and GLib have, that can print, among other things, the directory - * into which plugins should be installed. That way, only libethereal + * into which plugins should be installed. That way, only libwireshark * need know what directory that is; programs using it won't, *and* * Makefiles for plugins can just use "epan-configure" to figure out * where to install the plugins. diff --git a/epan/filesystem.c b/epan/filesystem.c index bbae20e630..463ef30f5c 100644 --- a/epan/filesystem.c +++ b/epan/filesystem.c @@ -478,7 +478,7 @@ get_progfile_dir(void) * Get the directory in which the global configuration and data files are * stored. * - * XXX - if we ever make libethereal a real library, used by multiple + * XXX - if we ever make libwireshark a real library, used by multiple * applications (more than just Twireshark and versions of Wireshark with * various UIs), should the configuration files belong to the library * (and be shared by all those applications) or to the applications? @@ -492,11 +492,11 @@ get_progfile_dir(void) * passed in as an argument, in some call, on UNIX. * * Note that some of those configuration files might be used by code in - * libethereal, some of them might be used by dissectors (would they - * belong to libethereal, the application, or a separate library?), + * libwireshark, some of them might be used by dissectors (would they + * belong to libwireshark, the application, or a separate library?), * and some of them might be used by other code (the Wireshark preferences * file includes resolver preferences that control the behavior of code - * in libethereal, dissector preferences, and UI preferences, for + * in libwireshark, dissector preferences, and UI preferences, for * example). */ const char * diff --git a/epan/ftypes/ftypes.h b/epan/ftypes/ftypes.h index e3f1e2aa43..c4d5e57b6a 100644 --- a/epan/ftypes/ftypes.h +++ b/epan/ftypes/ftypes.h @@ -245,7 +245,7 @@ fvalue_init(fvalue_t *fv, ftenum_t ftype); SLAB_ITEM_TYPE_DEFINE(fvalue_t) /* Free all memory used by an fvalue_t. With MSVC and a - * libethereal.dll, we need a special declaration. + * libwireshark.dll, we need a special declaration. */ ETH_VAR_IMPORT SLAB_FREE_LIST_DECLARE(fvalue_t) diff --git a/epan/libethereal.def b/epan/libwireshark.def similarity index 99% rename from epan/libethereal.def rename to epan/libwireshark.def index 803ea02bc7..fb8be9d7d4 100644 --- a/epan/libethereal.def +++ b/epan/libwireshark.def @@ -1,4 +1,4 @@ -; libethereal.def +; libwireshark.def ; $Id$ EXPORTS diff --git a/gtk/follow_dlg.c b/gtk/follow_dlg.c index 2c604fa9d2..dc2546359a 100644 --- a/gtk/follow_dlg.c +++ b/gtk/follow_dlg.c @@ -120,7 +120,7 @@ static void follow_stream_om_client(GtkWidget * w, gpointer data); static void follow_stream_om_server(GtkWidget * w, gpointer data); -/* With MSVC and a libethereal.dll, we need a special declaration. */ +/* With MSVC and a libwireshark.dll, we need a special declaration. */ ETH_VAR_IMPORT FILE *data_out_file; #define E_FOLLOW_INFO_KEY "follow_info_key" diff --git a/image/Makefile.nmake b/image/Makefile.nmake index 8094b14d41..bcddd20e1e 100644 --- a/image/Makefile.nmake +++ b/image/Makefile.nmake @@ -4,7 +4,7 @@ include ..\config.nmake -ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc dumpcap.rc wireshark.exe.manifest +ALL_RC=ethereal.rc libwireshark.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc dumpcap.rc wireshark.exe.manifest all : $(ALL_RC) wireshark.exe.manifest: ethereal.exe.manifest.in ..\config.nmake @@ -18,10 +18,10 @@ ethereal.rc : win32-file-dlg.rc ethereal.rc.in wireshark.exe.manifest ..\confi -e s/@RC_VERSION@/$(RC_VERSION)/ \ < ethereal.rc.in > $@ -libethereal.rc: libethereal.rc.in ..\config.nmake +libwireshark.rc: libwireshark.rc.in ..\config.nmake sed -e s/@VERSION@/$(VERSION)/ \ -e s/@RC_VERSION@/$(RC_VERSION)/ \ - < libethereal.rc.in > $@ + < libwireshark.rc.in > $@ tethereal.rc : tethereal.rc.in ..\config.nmake sed -e s/@VERSION@/$(VERSION)/ \ diff --git a/image/libethereal.rc.in b/image/libwireshark.rc.in similarity index 87% rename from image/libethereal.rc.in rename to image/libwireshark.rc.in index 181023f01e..406127abf0 100644 --- a/image/libethereal.rc.in +++ b/image/libwireshark.rc.in @@ -20,9 +20,9 @@ BEGIN VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" VALUE "FileDescription", "Wireshark dissector library\0" VALUE "FileVersion", "@VERSION@\0" - VALUE "InternalName", "libethereal @VERSION@\0" + VALUE "InternalName", "libwireshark @VERSION@\0" VALUE "LegalCopyright", "Copyright © 2000 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "libethereal.dll\0" + VALUE "OriginalFilename", "libwireshark.dll\0" VALUE "ProductName", "Wireshark\0" VALUE "ProductVersion", "@VERSION@\0" END diff --git a/packaging/nsis/Makefile.nmake b/packaging/nsis/Makefile.nmake index f5ace8254c..ef63336beb 100644 --- a/packaging/nsis/Makefile.nmake +++ b/packaging/nsis/Makefile.nmake @@ -111,8 +111,8 @@ $(DEST)-setup-$(VERSION).exe : $(NSI) $(DELIVERABLES) Makefile.nmake !IF "$(MAKENSIS_MODERN_UI)" != "" /DMAKENSIS_MODERN_UI=$(MAKENSIS_MODERN_UI) \ !ENDIF -!IF "$(ENABLE_LIBETHEREAL)" != "" - /DENABLE_LIBETHEREAL=$(ENABLE_LIBETHEREAL) \ +!IF "$(ENABLE_LIBWIRESHARK)" != "" + /DENABLE_LIBWIRESHARK=$(ENABLE_LIBWIRESHARK) \ !ENDIF !IFDEF GTK1_DIR /DGTK1_DIR=$(GTK1_DIR) \ diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi index eb29a89c0a..13533f5c97 100644 --- a/packaging/nsis/wireshark.nsi +++ b/packaging/nsis/wireshark.nsi @@ -304,8 +304,8 @@ SetShellVarContext all SetOutPath $INSTDIR File "..\..\wiretap\wiretap-${WTAP_VERSION}.dll" -!ifdef ENABLE_LIBETHEREAL -File "..\..\epan\libethereal.dll" +!ifdef ENABLE_LIBWIRESHARK +File "..\..\epan\libwireshark.dll" !endif File "${GLIB_DIR}\bin\libglib-2.0-0.dll" File "${GLIB_DIR}\bin\libgmodule-2.0-0.dll" diff --git a/plugins/Makefile.nmake b/plugins/Makefile.nmake index 71785175fd..1f6425e304 100644 --- a/plugins/Makefile.nmake +++ b/plugins/Makefile.nmake @@ -325,7 +325,7 @@ maintainer-clean: distclean ################################################################################ install-plugins: -!IFDEF ENABLE_LIBETHEREAL +!IFDEF ENABLE_LIBWIRESHARK rm -rf $(VERSION) mkdir $(VERSION) xcopy acn\*.dll $(VERSION) /d diff --git a/plugins/acn/Makefile.nmake b/plugins/acn/Makefile.nmake index 328f13cdea..82bd1d132d 100644 --- a/plugins/acn/Makefile.nmake +++ b/plugins/acn/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/agentx/Makefile.nmake b/plugins/agentx/Makefile.nmake index 2d4ef3428f..baf8b92820 100644 --- a/plugins/agentx/Makefile.nmake +++ b/plugins/agentx/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/artnet/Makefile.nmake b/plugins/artnet/Makefile.nmake index 3559b9c232..627ade46b0 100644 --- a/plugins/artnet/Makefile.nmake +++ b/plugins/artnet/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/asn1/Makefile.nmake b/plugins/asn1/Makefile.nmake index 5cfcc8957b..b6e89d2f9f 100644 --- a/plugins/asn1/Makefile.nmake +++ b/plugins/asn1/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/ciscosm/Makefile.nmake b/plugins/ciscosm/Makefile.nmake index 8ee9dd8e86..b76441ece1 100644 --- a/plugins/ciscosm/Makefile.nmake +++ b/plugins/ciscosm/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/docsis/Makefile.nmake b/plugins/docsis/Makefile.nmake index cbbb04871d..bf6ef00822 100644 --- a/plugins/docsis/Makefile.nmake +++ b/plugins/docsis/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/enttec/Makefile.nmake b/plugins/enttec/Makefile.nmake index ab9421e0dd..bf31e937eb 100644 --- a/plugins/enttec/Makefile.nmake +++ b/plugins/enttec/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/giop/Makefile.nmake b/plugins/giop/Makefile.nmake index 622567f643..19afe7dbdf 100644 --- a/plugins/giop/Makefile.nmake +++ b/plugins/giop/Makefile.nmake @@ -11,9 +11,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) OBJECTS=packet-cosnaming.obj packet-coseventcomm.obj packet-tango.obj packet-parlay.obj diff --git a/plugins/giop/README b/plugins/giop/README index 33dd7084da..0a79a01a6f 100644 --- a/plugins/giop/README +++ b/plugins/giop/README @@ -1,10 +1,10 @@ This directory contains Ethereal plugins that use the GIOP API (see packet-giop.h). -It is intended that the tool "idl2eth", now part of the standard +It is intended that the tool "idl2wrs", now part of the standard Ethereal distribution, will be used generate these plugins. -Please read README.idl2eth for information on using "idl2eth" +Please read README.idl2wrs for information on using "idl2wrs" and README.plugins for incorporating CORBA GIOP plugins into this directory (plugins/giop) diff --git a/plugins/giop/packet-coseventcomm.c b/plugins/giop/packet-coseventcomm.c index 0512772053..bf6e9f58c9 100644 --- a/plugins/giop/packet-coseventcomm.c +++ b/plugins/giop/packet-coseventcomm.c @@ -1,7 +1,7 @@ /* packet-coseventcomm.c * Routines for IDL dissection * - * Autogenerated from idl2eth + * Autogenerated from idl2wrs * Copyright 2001 Frank Singleton */ diff --git a/plugins/giop/packet-cosnaming.c b/plugins/giop/packet-cosnaming.c index 42d2fee19a..79d2104297 100644 --- a/plugins/giop/packet-cosnaming.c +++ b/plugins/giop/packet-cosnaming.c @@ -1,7 +1,7 @@ /* packet-cosnaming.c * Routines for IDL dissection * - * Autogenerated from idl2eth + * Autogenerated from idl2wrs * Copyright 2001 Frank Singleton */ diff --git a/plugins/giop/packet-parlay.c b/plugins/giop/packet-parlay.c index 5b7d57d8d1..1e18413d6e 100644 --- a/plugins/giop/packet-parlay.c +++ b/plugins/giop/packet-parlay.c @@ -1,7 +1,7 @@ /* packet-parlay.c * Routines for IDL dissection * - * Autogenerated from idl2eth + * Autogenerated from idl2wrs * Copyright 2001 Frank Singleton */ diff --git a/plugins/giop/packet-tango.c b/plugins/giop/packet-tango.c index 88948a1058..331e7adf00 100644 --- a/plugins/giop/packet-tango.c +++ b/plugins/giop/packet-tango.c @@ -1,7 +1,7 @@ /* packet-tango.c * Routines for IDL dissection * - * Autogenerated from idl2eth + * Autogenerated from idl2wrs * Copyright 2001 Frank Singleton */ diff --git a/plugins/gryphon/Makefile.nmake b/plugins/gryphon/Makefile.nmake index b3408f29fb..64f161d342 100644 --- a/plugins/gryphon/Makefile.nmake +++ b/plugins/gryphon/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/h223/Makefile.nmake b/plugins/h223/Makefile.nmake index 4b473812b0..084a9a1915 100644 --- a/plugins/h223/Makefile.nmake +++ b/plugins/h223/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/irda/Makefile.nmake b/plugins/irda/Makefile.nmake index 81c7702f72..baacbb192a 100644 --- a/plugins/irda/Makefile.nmake +++ b/plugins/irda/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/lua/Makefile.nmake b/plugins/lua/Makefile.nmake index 893c458993..497ab2eebe 100644 --- a/plugins/lua/Makefile.nmake +++ b/plugins/lua/Makefile.nmake @@ -12,9 +12,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) $(LUA_CFLAGS)\ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) !IFDEF LUA_DIR -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) MODULES= \ elua_dumper.c \ diff --git a/plugins/lwres/Makefile.nmake b/plugins/lwres/Makefile.nmake index f059a5ec77..4d4f4fede4 100644 --- a/plugins/lwres/Makefile.nmake +++ b/plugins/lwres/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake index 318391e303..83d6214b9d 100644 --- a/plugins/mate/Makefile.nmake +++ b/plugins/mate/Makefile.nmake @@ -17,9 +17,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) /I$(LEMON)\ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) OBJECTS=packet-mate.obj\ mate_setup.obj\ diff --git a/plugins/megaco/Makefile.nmake b/plugins/megaco/Makefile.nmake index e4ceac2b71..bc7d2ff946 100644 --- a/plugins/megaco/Makefile.nmake +++ b/plugins/megaco/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/mgcp/Makefile.nmake b/plugins/mgcp/Makefile.nmake index c40b9ea763..fb1d676906 100644 --- a/plugins/mgcp/Makefile.nmake +++ b/plugins/mgcp/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/opsi/Makefile.nmake b/plugins/opsi/Makefile.nmake index d50d3c01db..429a65f815 100644 --- a/plugins/opsi/Makefile.nmake +++ b/plugins/opsi/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/pcli/Makefile.nmake b/plugins/pcli/Makefile.nmake index 4addf0dd36..ec726209e3 100644 --- a/plugins/pcli/Makefile.nmake +++ b/plugins/pcli/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/profinet/Makefile.nmake b/plugins/profinet/Makefile.nmake index 55ac5b22e0..4a5fc29c16 100644 --- a/plugins/profinet/Makefile.nmake +++ b/plugins/profinet/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/rdm/Makefile.nmake b/plugins/rdm/Makefile.nmake index ba14d66219..0e4abf08c4 100644 --- a/plugins/rdm/Makefile.nmake +++ b/plugins/rdm/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/rlm/Makefile.nmake b/plugins/rlm/Makefile.nmake index daf406dbdb..90585eb683 100644 --- a/plugins/rlm/Makefile.nmake +++ b/plugins/rlm/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/rtnet/Makefile.nmake b/plugins/rtnet/Makefile.nmake index ca480c3813..0b05f49e77 100644 --- a/plugins/rtnet/Makefile.nmake +++ b/plugins/rtnet/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/rudp/Makefile.nmake b/plugins/rudp/Makefile.nmake index 74970a57b0..0f9a9a51ee 100644 --- a/plugins/rudp/Makefile.nmake +++ b/plugins/rudp/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/plugins/stats_tree/Makefile.nmake b/plugins/stats_tree/Makefile.nmake index 252399ce8e..bfc578e4a0 100644 --- a/plugins/stats_tree/Makefile.nmake +++ b/plugins/stats_tree/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) OBJECTS=stats_tree_plugin.obj pinfo_stats_tree.obj diff --git a/plugins/tpg/Makefile.nmake b/plugins/tpg/Makefile.nmake index 318391e303..83d6214b9d 100644 --- a/plugins/tpg/Makefile.nmake +++ b/plugins/tpg/Makefile.nmake @@ -17,9 +17,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) /I$(LEMON)\ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) OBJECTS=packet-mate.obj\ mate_setup.obj\ diff --git a/plugins/v5ua/Makefile.nmake b/plugins/v5ua/Makefile.nmake index b61f437fdb..e72d0a6696 100644 --- a/plugins/v5ua/Makefile.nmake +++ b/plugins/v5ua/Makefile.nmake @@ -15,9 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) -!IFDEF ENABLE_LIBETHEREAL -LINK_PLUGIN_WITH=..\..\epan\libethereal.lib -CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) +!IFDEF ENABLE_LIBWIRESHARK +LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib +CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) diff --git a/tools/Makefile.am b/tools/Makefile.am index abf2b8cdd2..f1a792461e 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -71,6 +71,7 @@ EXTRA_DIST = \ cvsdiff-fix.py \ dfilter-test.py \ fuzz-test.sh \ + idl2wrs.sh \ lex.py \ make-dissector-reg \ make-dissector-reg.py \ diff --git a/tools/lemon/Makefile.am b/tools/lemon/Makefile.am index 5f024cbca4..acdca29d65 100644 --- a/tools/lemon/Makefile.am +++ b/tools/lemon/Makefile.am @@ -21,9 +21,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# We produce an archive library. In the future, when libethereal is a -# shared library, this will be linked into libethereal. While libethereal -# is an archive library, any executable linking against libethereal will +# We produce an archive library. In the future, when libwireshark is a +# shared library, this will be linked into libwireshark. While libwireshark +# is an archive library, any executable linking against libwireshark will # also need to link against libftypes. noinst_PROGRAMS = lemon diff --git a/tools/make-dissector-reg b/tools/make-dissector-reg index fe403cc5f6..d4c6739777 100755 --- a/tools/make-dissector-reg +++ b/tools/make-dissector-reg @@ -13,7 +13,7 @@ shift # # The second argument is either "plugin" or "dissectors"; if it's # "plugin", we build a plugin.c for a plugin, and if it's -# "dissectors", we build a register.c for libethereal. +# "dissectors", we build a register.c for libwireshark. # registertype="$1" shift diff --git a/tools/make-dissector-reg.py b/tools/make-dissector-reg.py index 0e04795f4b..bd5c599b9c 100644 --- a/tools/make-dissector-reg.py +++ b/tools/make-dissector-reg.py @@ -23,7 +23,7 @@ srcdir = sys.argv[1] # # The second argument is either "plugin" or "dissectors"; if it's # "plugin", we build a plugin.c for a plugin, and if it's -# "dissectors", we build a register.c for libethereal. +# "dissectors", we build a register.c for libwireshark. # registertype = sys.argv[2] if registertype == "plugin": diff --git a/tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm b/tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm index a64052720c..530c697768 100644 --- a/tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm +++ b/tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm @@ -3,7 +3,7 @@ # Copyright tridge@samba.org 2000-2003 # Copyright tpot@samba.org 2001,2005 # Copyright jelmer@samba.org 2004-2005 -# Portions based on idl2eth.c by Ronnie Sahlberg +# Portions based on idl2wrs.c by Ronnie Sahlberg # released under the GNU GPL =pod diff --git a/tools/tpg/Makefile.am b/tools/tpg/Makefile.am index 82874f8075..134a3ea06e 100644 --- a/tools/tpg/Makefile.am +++ b/tools/tpg/Makefile.am @@ -21,9 +21,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# We produce an archive library. In the future, when libethereal is a -# shared library, this will be linked into libethereal. While libethereal -# is an archive library, any executable linking against libethereal will +# We produce an archive library. In the future, when libwireshark is a +# shared library, this will be linked into libwireshark. While libwireshark +# is an archive library, any executable linking against libwireshark will # also need to link against libftypes. CLEANFILES = \ diff --git a/tools/wireshark_gen.py b/tools/wireshark_gen.py index 155cd50c55..e5a1b9dcff 100644 --- a/tools/wireshark_gen.py +++ b/tools/wireshark_gen.py @@ -2,7 +2,7 @@ # # $Id$ # -# ethereal_gen.py (part of idl2eth) +# ethereal_gen.py (part of idl2wrs) # # Author : Frank Singleton (frank.singleton@ericsson.com) # @@ -2049,7 +2049,7 @@ for (i_@aname@=0; i_@aname@ < @aval@; i_@aname@++) { /* packet-@dissector_name@.c * Routines for IDL dissection * - * Autogenerated from idl2eth + * Autogenerated from idl2wrs * Copyright 2001 Frank Singleton */