Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
InnerMiddleMix Class Reference

Public Member Functions

 InnerMiddleMix ()
 
 ~InnerMiddleMix ()
 
SINT32 start ()
 

Private Member Functions

SINT32 loop ()
 
SINT32 init ()
 
SINT32 clean ()
 
int accessSharedMemory (int semId, void *destination, void *source, int mode)
 

Private Attributes

CAASymCipherm_pRSA
 
CAMiddleMixChannelListm_pMiddleMixChannelList
 
const char * upstreamMemoryPreName ="upstreamshmempre"
 
const char * upstreamMemoryPostName ="upstreamshmempost"
 
const char * downstreamMemoryPreName ="downstreamshmempre"
 
const char * downstreamMemoryPostName ="downstreamshmempost"
 
void * upstreamPreBuffer
 
void * upstreamPostBuffer
 
void * downstreamPreBuffer
 
void * downstreamPostBuffer
 
int upstreamSemPreId
 
int upstreamSemPostId
 
int downstreamSemPreId
 
int downstreamSemPostId
 

Friends

THREAD_RETURN loopUpstream (void *)
 
THREAD_RETURN loopDownstream (void *)
 

Constructor & Destructor Documentation

◆ InnerMiddleMix()

InnerMiddleMix::InnerMiddleMix ( )

◆ ~InnerMiddleMix()

InnerMiddleMix::~InnerMiddleMix ( )

Member Function Documentation

◆ accessSharedMemory()

int InnerMiddleMix::accessSharedMemory ( int  semId,
void *  destination,
void *  source,
int  mode 
)
private

◆ clean()

SINT32 InnerMiddleMix::clean ( )
private

Referenced by ~InnerMiddleMix().

◆ init()

SINT32 InnerMiddleMix::init ( )
private

Referenced by ~InnerMiddleMix().

◆ loop()

SINT32 InnerMiddleMix::loop ( )
private

Referenced by ~InnerMiddleMix().

◆ start()

SINT32 InnerMiddleMix::start ( )

Referenced by main(), and ~InnerMiddleMix().

Friends And Related Function Documentation

◆ loopDownstream

THREAD_RETURN loopDownstream ( void *  )
friend

Referenced by ~InnerMiddleMix().

◆ loopUpstream

THREAD_RETURN loopUpstream ( void *  )
friend

Referenced by ~InnerMiddleMix().

Member Data Documentation

◆ downstreamMemoryPostName

const char* InnerMiddleMix::downstreamMemoryPostName ="downstreamshmempost"
private

◆ downstreamMemoryPreName

const char* InnerMiddleMix::downstreamMemoryPreName ="downstreamshmempre"
private

◆ downstreamPostBuffer

void* InnerMiddleMix::downstreamPostBuffer
private

◆ downstreamPreBuffer

void* InnerMiddleMix::downstreamPreBuffer
private

◆ downstreamSemPostId

int InnerMiddleMix::downstreamSemPostId
private

◆ downstreamSemPreId

int InnerMiddleMix::downstreamSemPreId
private

◆ m_pMiddleMixChannelList

CAMiddleMixChannelList* InnerMiddleMix::m_pMiddleMixChannelList
private

Referenced by InnerMiddleMix().

◆ m_pRSA

CAASymCipher* InnerMiddleMix::m_pRSA
private

◆ upstreamMemoryPostName

const char* InnerMiddleMix::upstreamMemoryPostName ="upstreamshmempost"
private

◆ upstreamMemoryPreName

const char* InnerMiddleMix::upstreamMemoryPreName ="upstreamshmempre"
private

◆ upstreamPostBuffer

void* InnerMiddleMix::upstreamPostBuffer
private

◆ upstreamPreBuffer

void* InnerMiddleMix::upstreamPreBuffer
private

◆ upstreamSemPostId

int InnerMiddleMix::upstreamSemPostId
private

◆ upstreamSemPreId

int InnerMiddleMix::upstreamSemPreId
private