MCPcopy Create free account
hub / github.com/catboost/catboost / IsLocal

Function IsLocal

library/cpp/neh/netliba_udp_http.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 std::atomic<double> HeartbeatTimeout = 0.0;
35
36 bool IsLocal(const TUdpAddress& addr) {
37 return addr.IsIPv4() ? IsLocalIPv4(addr.GetIPv4()) : IsLocalIPv6(addr.Network, addr.Interface);
38 }
39
40 void StopAllNetLibaThreads() {
41 PanicAttack = true; // AAAA!!!!

Callers 2

SendRequestMethod · 0.70
DoSendsMethod · 0.70

Calls 4

IsLocalIPv4Function · 0.85
IsLocalIPv6Function · 0.85
IsIPv4Method · 0.45
GetIPv4Method · 0.45

Tested by

no test coverage detected