Mixe for Privacy and Anonymity in the Internet
packetintro.h
Go to the documentation of this file.
00001 /*$Id: packetintro.h 2739 2007-10-16 11:56:26Z rolf $*/
00002 /*********************************************************************************************************/
00003 /*                                                                                                       */
00004 /*  tramo V0.9, server traffic monitor, (c) SDTFA 05/2007                                                */
00005 /*                                                                                                       */
00006 /*  Declarations PacketIntro                                                                             */
00007 /*                                                                                                       */
00008 /* Date      CRQ   Revision  Change description                                            Autor         */
00009 /*-------------------------------------------------------------------------------------------------------*/
00010 /* 16.05.07        1.0       file created                                                  Freddy        */
00011 /*                                                                                                       */
00012 /*********************************************************************************************************/
00013 #ifdef SDTFA
00014 
00015 #ifndef PACKETINTRO_H
00016 #define PACKETINTRO_H
00017 
00018 #define SDTFA_MIXPACKET_SIZE    998         /* size of a mix packet */
00019 #define SDTFA_MIX_SHARED_KEY    0xAB0B5EA7      /* key for shm access */
00020 #define SDTFA_SHM_MODE    0664        /* owner and group rw, other read */
00021 
00024 class SDTFA_MixShared
00025   {
00026   public:
00027     unsigned int PacketCount;     
00028   };
00029 
00030 void SDTFA_IncrementShmPacketCount(void);
00031 
00032 #endif
00033 #endif