MCPcopy Create free account
hub / github.com/cppla/ServerStatus / CNetRange

Class CNetRange

server/src/netban.h:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11class CNetRange
12{
13public:
14 NETADDR m_LB;
15 NETADDR m_UB;
16
17 bool IsValid() const { return m_LB.type == m_UB.type && NetComp(&m_LB, &m_UB) < 0; }
18};
19
20inline int NetComp(const CNetRange *pRange1, const CNetRange *pRange2)
21{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected