aboutsummaryrefslogtreecommitdiffstats
path: root/libglouglou
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-12-11 13:07:26 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-12-11 13:07:26 +0100
commit2656f4f6787626a0d436c3f6e2ba3795db7329f9 (patch)
treef707b28b65789cad339f2c74bb90ce52f1638b63 /libglouglou
parentcorrectly decode packet size (diff)
downloadglouglou-2656f4f6787626a0d436c3f6e2ba3795db7329f9.tar.xz
glouglou-2656f4f6787626a0d436c3f6e2ba3795db7329f9.zip
define constant for size factor ratio for the packet size
Diffstat (limited to 'libglouglou')
-rw-r--r--libglouglou/libglouglou.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglouglou/libglouglou.h b/libglouglou/libglouglou.h
index 690d728..e1d7152 100644
--- a/libglouglou/libglouglou.h
+++ b/libglouglou/libglouglou.h
@@ -19,6 +19,7 @@
#define PACKET_BUFFER_SIZE 16384
#define PACKET_SNDBUF_MAX 500
#define GG_PKTARG_MAX 30
+#define GG_PKTDATA_SIZE_FACTOR 20
#define PACKET_HEADER_SIZE 2
#define PACKET_TYPE_MIN 0x00