Commit 267300d9 authored by 's avatar
Browse files

Moved define to trackflib.h


git-svn-id: file:///home/svn/mapi/trunk@755 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent f8de98ef
......@@ -58,7 +58,6 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 1024
#define STRING_NUM 15
int isDc(mapidflib_function_instance_t *instance, unsigned char *pkt, unsigned int len);
......
......@@ -49,7 +49,6 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 1024
/*
int isEdonkey(int, char);
unsigned int getSize(char *);
......
......@@ -58,7 +58,6 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 1024
#define GNUTELLA_STRING_NO 4
char *gnutella_strings[GNUTELLA_STRING_NO]={"GET /uri-res/N2R?urn:sha1:","GNUTELLA CONNECT/","GNUTELLA/", "Server: LimeWire/"};//,"GET /get/"};
......
......@@ -62,7 +62,6 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 1024
#define TOR_STRINGS_NO 14
char *torrent_strings[TOR_STRINGS_NO]={"BitTorrent protocol","GET /scrape?info_hash=","GET /announce?info_hash=", "d1:rd2:id20:", "d1:ad2:id20:", "BT_PIECE"
......
......@@ -3,6 +3,7 @@
#define ETHERTYPE_8021Q 0x8100
#define HASHTABLESIZE 4096
//#define __WITH_AHO__
#define EDONKEY_COLOR 1
......
......@@ -56,7 +56,6 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 1024
int isFTP(mapidflib_function_instance_t *, unsigned char *, int );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment