Main Page   File List   File Members   Related Pages  

frdi_net_def.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #ifndef _FRDI_NET_DEF_H
00020 #define _FRDI_NET_DEF_H
00021 
00024 #define FRDI_SOCKET_QUEUE_SIZE 5
00025 // assumes sizeof(char) == 1
00026 // "M FFFF "
00027 #define FRDI_MESSAGE_PREFIX_SIZE 7
00028 #define FRDI_MESSAGE_SUFFIX_SIZE 1
00029 #define FRDI_MESSAGE_SIZE_HEX_LEN 4
00030 // in hex that is FFFF
00031 #define FRDI_MAX_MESSAGE_SIZE 65536
00032 #define FRDI_MESSAGE_TOTAL_SIZE (FRDI_MESSAGE_PREFIX_SIZE + FRDI_MAX_MESSAGE_SIZE + FRDI_MESSAGE_SUFFIX_SIZE)
00033 
00034 #define FRDI_LINK_ENCRYPTION_MODE_UNSET          -1
00035 #define FRDI_LINK_ENCRYPTION_MODE_NONE            1
00036 #define FRDI_LINK_ENCRYPTION_MODE_INITIAL         FRDI_LINK_ENCRYPTION_MODE_NONE
00037 
00038 #define FRDI_LINK_AUTHENTICATION_MODE_UNSET      -1
00039 #define FRDI_LINK_AUTHENTICATION_MODE_PASS        1
00040 #define FRDI_LINK_AUTHENTICATION_MODE_INITIAL     FRDI_LINK_AUTHENTICATION_MODE_PASS
00041 
00042 #define FRDI_LINK_ENCODING_MODE_UNSET            -1
00043 #define FRDI_LINK_ENCODING_MODE_ASCII_HEX         1
00044 #define FRDI_LINK_ENCODING_MODE_INITIAL           FRDI_LINK_ENCODING_MODE_ASCII_HEX
00045 
00046 
00047 #endif /* _FRDI_NET_DEF_H */
00048 
00049 /* End of File */

Generated on Wed Aug 18 13:23:46 2004 for Project Fairdice by doxygen1.2.18