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

Class CNetHash

server/src/netban.h:65–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 static bool StrAllnum(const char *pStr);
64
65 class CNetHash
66 {
67 public:
68 int m_Hash;
69 int m_HashIndex; // matching parts for ranges, 0 for addr
70
71 CNetHash() {}
72 CNetHash(const NETADDR *pAddr);
73 CNetHash(const CNetRange *pRange);
74
75 static int MakeHashArray(const NETADDR *pAddr, CNetHash aHash[17]);
76 };
77
78 struct CBanInfo
79 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected