]> git.sur5r.net Git - gsconf/commitdiff
Removed unused Files
authoradvielsack@gmail.com <advielsack@gmail.com@11042eb7-4a36-49e9-8ab2-01d26d512705>
Sat, 7 Jan 2012 01:26:29 +0000 (01:26 +0000)
committeradvielsack@gmail.com <advielsack@gmail.com@11042eb7-4a36-49e9-8ab2-01d26d512705>
Sat, 7 Jan 2012 01:26:29 +0000 (01:26 +0000)
git-svn-id: http://gsconf.googlecode.com/svn/trunk@3 11042eb7-4a36-49e9-8ab2-01d26d512705

packet.c [deleted file]
packet.h [deleted file]

diff --git a/packet.c b/packet.c
deleted file mode 100644 (file)
index c9328f1..0000000
--- a/packet.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "packet.h"
-
-unsigned short toShort(char * data) {
-        return (((unsigned short) data[0]) << 8) | ((unsigned short) data[1]);
-}
-
-struct packet genPacket(char * data, int length) {
-        
-        struct packet pck;
-        //(*((unsigned long*)&dns_server_ip[0]))
-        
-        
-        pck.packetId = toShort(&data[0]);
-        pck.packetLen = toShort(&data[2]);
-        
-        
-        
-        pck.data = 0;
-        
-        return pck;
-}
diff --git a/packet.h b/packet.h
deleted file mode 100644 (file)
index c11e5db..0000000
--- a/packet.h
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-struct packet genPacket(char * data, int length);
-
-struct packet {
-        unsigned short packetId;
-        unsigned short packetLen;
-        char myMac[6];
-        
-        char devMac[6];
-        
-        unsigned char * data;
-};