Mixe for Privacy and Anonymity in the Internet
Functions
CALocalProxy.cpp File Reference
#include "StdAfx.h"
#include "CALocalProxy.hpp"
#include "CASocketList.hpp"
#include "CASocketGroup.hpp"
#include "CAMsg.hpp"
#include "CACmdLnOptions.hpp"
#include "CAUtil.hpp"
#include "CASocketAddrINet.hpp"
#include "CABase64.hpp"
#include "CALibProxytest.hpp"
#include "xml/DOM_Output.hpp"
Include dependency graph for CALocalProxy.cpp:

Go to the source code of this file.

Functions

void SIGUSR1_handler (int signum)
void SIGUSR2_handler (int signum)

Function Documentation

void SIGUSR1_handler ( int  signum)

Definition at line 48 of file CALocalProxy.cpp.

References CALocalProxy::bCapturePackets, CALocalProxy::iCapturedPackets, and CAMsg::printMsg().

Referenced by CALocalProxy::initOnce().

  {
    CAMsg::printMsg(LOG_DEBUG,"Starting to capture packets for replay attack.\n");
    CALocalProxy::bCapturePackets = true;
    CALocalProxy::iCapturedPackets = 0;
  }

Here is the call graph for this function:

void SIGUSR2_handler ( int  signum)

Definition at line 57 of file CALocalProxy.cpp.

References CALocalProxy::bReplayPackets, and CAMsg::printMsg().

Referenced by CALocalProxy::initOnce().

  {
    CAMsg::printMsg(LOG_DEBUG,"Starting replay of packets.\n");
    CALocalProxy::bReplayPackets = true;
  }

Here is the call graph for this function: