Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppla/ServerStatus
/ IsValid
Method
IsValid
server/src/netban.h:17–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
NETADDR m_UB;
16
17
bool IsValid() const { return m_LB.type == m_UB.type && NetComp(&m_LB, &m_UB) < 0; }
18
};
19
20
inline int NetComp(const CNetRange *pRange1, const CNetRange *pRange2)
Callers
2
BanRange
Method · 0.80
UnbanByRange
Method · 0.80
Calls
1
NetComp
Function · 0.85
Tested by
no test coverage detected