1 #ifndef __SHARED_MEMORY_COMMON__
2 #define __SHARED_MEMORY_COMMON__
8 const unsigned kSegmentSize
= 4096;
9 const unsigned kNumberOfSegments
= 8;
10 const unsigned kSharedMemoryPoolSize
= kSegmentSize
* kNumberOfSegments
;
12 const unsigned kBytesWrittenOffset
= 0;
13 const unsigned kBytesWrittenLength
= 4;
14 const unsigned kPoolAvailableForData
= kSharedMemoryPoolSize
- kBytesWrittenLength
;
16 typedef u_int32_t SegmentOffsetType
;
18 #define SECURITY_MESSAGES_NAME "SecurityMessages"