Commit 9e7cc60c authored by 's avatar
Browse files

Changed hash table size



git-svn-id: file:///home/svn/mapi/trunk@522 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 820d9ea5
......@@ -52,7 +52,7 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 101
#define HASHTABLESIZE 1024
#define STRING_NUM 15
int isDc(mapidflib_function_instance_t *instance, unsigned char *pkt, unsigned int len);
......
......@@ -46,7 +46,7 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 101
#define HASHTABLESIZE 1024
int isEdonkey(int, char);
unsigned int getSize(char *);
......
......@@ -52,7 +52,7 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 101
#define HASHTABLESIZE 1024
char *gnutella_strings[3]={"GET /uri-res/N2R?urn:sha1:","GNUTELLA CONNECT/","GNUTELLA/"};//,"GET /get/"};
......
......@@ -53,7 +53,7 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 101
#define HASHTABLESIZE 1024
char *torrent_strings[5]={"BitTorrent protocol","GET /scrape?info_hash=","GET /announce?info_hash=", "d1:rd2:id20:", "d1:ad2:id20:"};
......
......@@ -53,7 +53,7 @@ struct list{
struct filters *tail;
};
#define HASHTABLESIZE 101
#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