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

Public Member Functions

 CAIPAddrWithNetmask ()
 
 CAIPAddrWithNetmask (const UINT8 *strIPAddr, const UINT8 *strNetmask)
 
 ~CAIPAddrWithNetmask (void)
 
SINT32 setAddr (const UINT8 *strIPAddr)
 
SINT32 setNetmask (const UINT8 *strNetmask)
 
bool equals (UINT32 nIPAddr) const
 
bool equals (const UINT8 *pIPAddr) const
 
SINT32 toString (UINT8 *buff, UINT32 *buffLen)
 

Private Attributes

UINT32 m_nIPAddr
 
UINT32 m_nNetmask
 
UINT32 m_nIPAddrAndNetmask
 

Constructor & Destructor Documentation

◆ CAIPAddrWithNetmask() [1/2]

CAIPAddrWithNetmask::CAIPAddrWithNetmask ( )

◆ CAIPAddrWithNetmask() [2/2]

CAIPAddrWithNetmask::CAIPAddrWithNetmask ( const UINT8 strIPAddr,
const UINT8 strNetmask 
)

◆ ~CAIPAddrWithNetmask()

CAIPAddrWithNetmask::~CAIPAddrWithNetmask ( void  )

Member Function Documentation

◆ equals() [1/2]

bool CAIPAddrWithNetmask::equals ( const UINT8 pIPAddr) const

References m_nIPAddrAndNetmask, and m_nNetmask.

◆ equals() [2/2]

bool CAIPAddrWithNetmask::equals ( UINT32  nIPAddr) const

References m_nIPAddrAndNetmask, and m_nNetmask.

◆ setAddr()

SINT32 CAIPAddrWithNetmask::setAddr ( const UINT8 strIPAddr)

◆ setNetmask()

SINT32 CAIPAddrWithNetmask::setNetmask ( const UINT8 strNetmask)

◆ toString()

SINT32 CAIPAddrWithNetmask::toString ( UINT8 buff,
UINT32 buffLen 
)

Member Data Documentation

◆ m_nIPAddr

UINT32 CAIPAddrWithNetmask::m_nIPAddr
private

◆ m_nIPAddrAndNetmask

UINT32 CAIPAddrWithNetmask::m_nIPAddrAndNetmask
private

◆ m_nNetmask

UINT32 CAIPAddrWithNetmask::m_nNetmask
private