Ethereal-dev: [Ethereal-dev] ACN plugin

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Erwin Rol <mailinglists@xxxxxxxxxxxx>
Date: Sun, 12 Oct 2003 01:56:10 +0200
Hello All,

The ESTA ( http://www.esta.org ) has made the ACN protocol suit
available ( http://www.esta.org/tsp/E1-17inst.htm ) for public review. 
I wrote a initial ethereal plugin for ACN, of course it can change until
the spec is accepted by the ANSI. 

Another small problem i had/have is that i have no implementation to
verify the correctness of the plugin, so it likely still has errors. 

Still i hope it can be added to CVS, so others might also work on it.

Two attachments, one patch for the sources and one tar for the new acn
plugin directory.

- Erwin

-- 
       Erwin Rol Software Engineering - http://www.erwinrol.com/

? plugins/acn
Index: Makefile.am
===================================================================
RCS file: /cvsroot/ethereal/Makefile.am,v
retrieving revision 1.632
diff -u -r1.632 Makefile.am
--- Makefile.am	1 Oct 2003 15:09:32 -0000	1.632
+++ Makefile.am	11 Oct 2003 23:47:24 -0000
@@ -451,6 +451,7 @@
 
 if HAVE_PLUGINS
 plugin_libs = \
+	plugins/acn/acn.la \
 	plugins/artnet/artnet.la \
 	plugins/docsis/docsis.la \
 	plugins/giop/cosnaming.la \
@@ -464,6 +465,7 @@
 
 if ENABLE_STATIC
 plugin_ldadd = \
+	plugins/acn/packet-acn.o \
 	plugins/artnet/packet-artnet.o \
 	plugins/docsis/packet-bpkmattr.o \
 	plugins/docsis/packet-bpkmreq.o \
@@ -498,6 +500,7 @@
 	plugins/rtnet/packet-rtnet.o 
 
 plugin_src = \
+	plugins/acn/packet-acn.c \
 	plugins/artnet/packet-artnet.c \
 	plugins/docsis/packet-bpkmattr.c \
 	plugins/docsis/packet-bpkmreq.c \
@@ -534,6 +537,7 @@
 else		# ENABLE_STATIC
 plugin_ldadd = \
 	"-dlopen" self	\
+	"-dlopen" plugins/acn/acn.la \
 	"-dlopen" plugins/artnet/artnet.la \
 	"-dlopen" plugins/docsis/docsis.la \
 	"-dlopen" plugins/giop/cosnaming.la \
Index: configure.in
===================================================================
RCS file: /cvsroot/ethereal/configure.in,v
retrieving revision 1.223
diff -u -r1.223 configure.in
--- configure.in	1 Oct 2003 15:09:32 -0000	1.223
+++ configure.in	11 Oct 2003 23:47:26 -0000
@@ -806,6 +806,7 @@
   packaging/svr4/checkinstall
   packaging/svr4/pkginfo
   plugins/Makefile
+  plugins/acn/Makefile
   plugins/artnet/Makefile
   plugins/docsis/Makefile
   plugins/giop/Makefile
Index: plugins/Makefile.am
===================================================================
RCS file: /cvsroot/ethereal/plugins/Makefile.am,v
retrieving revision 1.22
diff -u -r1.22 Makefile.am
--- plugins/Makefile.am	18 Aug 2003 21:43:21 -0000	1.22
+++ plugins/Makefile.am	11 Oct 2003 23:47:30 -0000
@@ -21,7 +21,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-SUBDIRS = artnet docsis giop gryphon lwres megaco mgcp pcli rtnet
+SUBDIRS = acn artnet docsis giop gryphon lwres megaco mgcp pcli rtnet
 
 plugindir = @plugindir@
 
Index: plugins/Makefile.nmake
===================================================================
RCS file: /cvsroot/ethereal/plugins/Makefile.nmake,v
retrieving revision 1.24
diff -u -r1.24 Makefile.nmake
--- plugins/Makefile.nmake	19 Aug 2003 02:16:26 -0000	1.24
+++ plugins/Makefile.nmake	11 Oct 2003 23:47:30 -0000
@@ -11,7 +11,7 @@
 
 OBJECTS=plugin_api.obj 
 
-all: $(OBJECTS) artnet docsis giop gryphon lwres megaco mgcp pcli rtnet
+all: $(OBJECTS) acn artnet docsis giop gryphon lwres megaco mgcp pcli rtnet
 
 Xplugin_api.c: plugin_gen.py plugin_api_list.c
 	@echo **** Plugin api may be out of date, please generate new files:
@@ -24,6 +24,11 @@
 	gcc -aux-info xyzzy -DHAVE_CONFIG_H $(GCC_GLIB_CFLAGS) -I.. -c plugin_api_list.c
 	$(PYTHON) plugin_gen.py xyzzy
 
+acn:: 
+	cd acn
+	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
+	cd ..
+
 artnet:: 
 	cd artnet
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
@@ -71,7 +76,9 @@
 
 clean:
 	rm -f plugin_api.obj $(PDB_FILE)
-	cd artnet
+	cd acn
+	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
+	cd ../artnet
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
 	cd ../docsis
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean

Attachment: acn.tgz
Description: application/tgz