updates.
[silc.git] / lib / silccore / silcpacket.h
index 2174b0fbdb8ed22c8e20fea16dadce8e65e54d38..e2ccc51134eb04dd5faf4cb300b52c179116b10a 100644 (file)
 #ifndef SILCPACKET_H
 #define SILCPACKET_H
 
-/* Amount of bytes to be read from the socket connection at once. */
-#define SILC_PACKET_READ_SIZE 16384
-
 /* Default byte size of the packet. */
-#define SILC_PACKET_DEFAULT_SIZE 1024
+#define SILC_PACKET_DEFAULT_SIZE SILC_SOCKET_BUF_SIZE
 
 /* Header length without source and destination ID's. */
 #define SILC_PACKET_HEADER_LEN 8 + 2