#include <netban.h>
|
bool | NetMatch (const NETADDR *pAddr1, const NETADDR *pAddr2) const |
|
bool | NetMatch (const CNetRange *pRange, const NETADDR *pAddr, int Start, int Length) const |
|
bool | NetMatch (const CNetRange *pRange, const NETADDR *pAddr) const |
|
const char * | NetToString (const NETADDR *pData, char *pBuffer, unsigned BufferSize) const |
|
const char * | NetToString (const CNetRange *pData, char *pBuffer, unsigned BufferSize) const |
|
template<class T > |
void | MakeBanInfo (const CBan< T > *pBan, char *pBuf, unsigned BuffSize, int Type) const |
|
template<class T > |
int | Ban (T *pBanPool, const typename T::CDataType *pData, int Seconds, const char *pReason, bool VerbatimReason) |
|
template<class T > |
int | Unban (T *pBanPool, const typename T::CDataType *pData) |
|
◆ CBanAddr
◆ CBanAddrPool
◆ CBanRange
◆ CBanRangePool
◆ anonymous enum
Enumerator |
---|
MSGTYPE_PLAYER | |
MSGTYPE_LIST | |
MSGTYPE_BANADD | |
MSGTYPE_BANREM | |
◆ ~CNetBan()
virtual CNetBan::~CNetBan |
( |
| ) |
|
|
inlinevirtual |
◆ Ban()
template<class T >
int CNetBan::Ban |
( |
T * |
pBanPool, |
|
|
const typename T::CDataType * |
pData, |
|
|
int |
Seconds, |
|
|
const char * |
pReason, |
|
|
bool |
VerbatimReason |
|
) |
| |
|
protected |
◆ BanAddr()
int CNetBan::BanAddr |
( |
const NETADDR * |
pAddr, |
|
|
int |
Seconds, |
|
|
const char * |
pReason, |
|
|
bool |
VerbatimReason |
|
) |
| |
|
virtual |
◆ BanRange()
int CNetBan::BanRange |
( |
const CNetRange * |
pRange, |
|
|
int |
Seconds, |
|
|
const char * |
pReason |
|
) |
| |
|
virtual |
◆ ConBan()
◆ ConBanRange()
◆ ConBans()
◆ ConBansFind()
◆ ConBansSave()
◆ Console()
class IConsole * CNetBan::Console |
( |
| ) |
const |
|
inline |
◆ ConUnban()
◆ ConUnbanAll()
◆ ConUnbanRange()
◆ Init()
◆ IsBanned()
bool CNetBan::IsBanned |
( |
const NETADDR * |
pOrigAddr, |
|
|
char * |
pBuf, |
|
|
unsigned |
BufferSize |
|
) |
| const |
◆ MakeBanInfo()
template<class T >
void CNetBan::MakeBanInfo |
( |
const CBan< T > * |
pBan, |
|
|
char * |
pBuf, |
|
|
unsigned |
BuffSize, |
|
|
int |
Type |
|
) |
| const |
|
protected |
◆ NetMatch() [1/3]
bool CNetBan::NetMatch |
( |
const CNetRange * |
pRange, |
|
|
const NETADDR * |
pAddr |
|
) |
| const |
|
inlineprotected |
◆ NetMatch() [2/3]
bool CNetBan::NetMatch |
( |
const CNetRange * |
pRange, |
|
|
const NETADDR * |
pAddr, |
|
|
int |
Start, |
|
|
int |
Length |
|
) |
| const |
|
inlineprotected |
◆ NetMatch() [3/3]
bool CNetBan::NetMatch |
( |
const NETADDR * |
pAddr1, |
|
|
const NETADDR * |
pAddr2 |
|
) |
| const |
|
inlineprotected |
◆ NetToString() [1/2]
const char * CNetBan::NetToString |
( |
const CNetRange * |
pData, |
|
|
char * |
pBuffer, |
|
|
unsigned |
BufferSize |
|
) |
| const |
|
inlineprotected |
◆ NetToString() [2/2]
const char * CNetBan::NetToString |
( |
const NETADDR * |
pData, |
|
|
char * |
pBuffer, |
|
|
unsigned |
BufferSize |
|
) |
| const |
|
inlineprotected |
◆ Storage()
class IStorage * CNetBan::Storage |
( |
| ) |
const |
|
inline |
◆ Unban()
template<class T >
int CNetBan::Unban |
( |
T * |
pBanPool, |
|
|
const typename T::CDataType * |
pData |
|
) |
| |
|
protected |
◆ UnbanAll()
void CNetBan::UnbanAll |
( |
| ) |
|
◆ UnbanByAddr()
int CNetBan::UnbanByAddr |
( |
const NETADDR * |
pAddr | ) |
|
◆ UnbanByIndex()
int CNetBan::UnbanByIndex |
( |
int |
Index | ) |
|
◆ UnbanByRange()
int CNetBan::UnbanByRange |
( |
const CNetRange * |
pRange | ) |
|
◆ Update()
◆ m_BanAddrPool
◆ m_BanRangePool
◆ m_LocalhostIpV4
◆ m_LocalhostIpV6
◆ m_pConsole
◆ m_pStorage
The documentation for this class was generated from the following files: