PERFORCE change 124923 for review

Matus Harvan mharvan at FreeBSD.org
Wed Aug 8 13:46:47 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=124923

Change 124923 by mharvan at mharvan_home on 2007/08/08 20:45:45

	s/tunneld/mtund/

Affected files ...

.. //depot/projects/soc2007/mharvan-mtund/mtund.src/Makefile#8 edit
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/mtund.c#1 add
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/mtund.h#1 branch
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin.h#5 edit
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_icmp.c#8 edit
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_tcp.c#10 edit
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_udp.c#8 edit
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/tunneld.c#17 delete
.. //depot/projects/soc2007/mharvan-mtund/mtund.src/tunneld.h#9 delete

Differences ...

==== //depot/projects/soc2007/mharvan-mtund/mtund.src/Makefile#8 (text+ko) ====

@@ -8,22 +8,22 @@
 CFLAGS+=-g
 CFLAGS+=-I/usr/local/include
 
-all: tunneld plugin_tcp.so plugin_udp.so plugin_icmp.so
+all: mtund plugin_tcp.so plugin_udp.so plugin_icmp.so
 
-tunneld: tunneld.h tunneld.c tun_dev.c
-	gcc $(CFLAGS) $(LIBS) -o tunneld tunneld.c tun_dev.c
+mtund: mtund.h mtund.c tun_dev.c
+	gcc $(CFLAGS) $(LIBS) -o mtund mtund.c tun_dev.c
 
-plugin_tcp.so: tunneld.h plugin.h plugin_tcp.c
+plugin_tcp.so: mtund.h plugin.h plugin_tcp.c
 	gcc $(CFLAGS) -shared  -o plugin_tcp.so plugin_tcp.c
 
-plugin_udp.so: tunneld.h plugin.h plugin_udp.c
+plugin_udp.so: mtund.h plugin.h plugin_udp.c
 	gcc $(CFLAGS) -shared  -o plugin_udp.so plugin_udp.c
 
-plugin_icmp.so: tunneld.h plugin.h plugin_icmp.c
+plugin_icmp.so: mtund.h plugin.h plugin_icmp.c
 	gcc $(CFLAGS) -shared  -o plugin_icmp.so plugin_icmp.c
 
 clean:
-	rm -f tunneld plugin_tcp.so plugin_udp.so plugin_icmp.so *.core
+	rm -f mtund plugin_tcp.so plugin_udp.so plugin_icmp.so *.core
 
 backup:
 	rsync -a `pwd` meat:backup/

==== //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin.h#5 (text+ko) ====

@@ -1,7 +1,7 @@
 #ifndef _PLUGIN_H
 #define _PLUGIN_H
 
-#include "tunneld.h"
+#include "mtund.h"
 
 /* --- plugin --- */
 enum {

==== //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_icmp.c#8 (text+ko) ====

@@ -29,7 +29,7 @@
 #include <time.h>
 #include <unistd.h>
 
-#include "tunneld.h"
+#include "mtund.h"
 #include "plugin.h"
 
 /*

==== //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_tcp.c#10 (text+ko) ====

@@ -11,7 +11,7 @@
 #include <unistd.h>
 //#include <sys/select.h>
 
-#include "tunneld.h"
+#include "mtund.h"
 #include "plugin.h"
 
 #define min(a,b) ( (a>b) ? b : a )

==== //depot/projects/soc2007/mharvan-mtund/mtund.src/plugin_udp.c#8 (text+ko) ====

@@ -12,7 +12,7 @@
 #include <netdb.h>
 //#include <sys/select.h>
 
-#include "tunneld.h"
+#include "mtund.h"
 #include "plugin.h"
 
 /*


More information about the p4-projects mailing list