MCPcopy Create free account
hub / github.com/Haivision/srt / getKey

Method getKey

srtcore/cache.cpp:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98int srt::CInfoBlock::getKey()
99{
100 if (m_iIPversion == AF_INET)
101 return m_piIP[0];
102
103 return m_piIP[0] + m_piIP[1] + m_piIP[2] + m_piIP[3];
104}
105
106void srt::CInfoBlock::convert(const sockaddr_any& addr, uint32_t aw_ip[4])
107{

Callers 2

lookupMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected