MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3 / socket_protect

Method socket_protect

client/ovpncli.cpp:262–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 }
261
262 bool socket_protect(int socket, IP::Addr endpoint) override
263 {
264 if (parent)
265 return parent->socket_protect(socket, endpoint.to_string(), endpoint.is_ipv6());
266 else
267 return true;
268 }
269
270 void detach_from_parent()
271 {

Callers

nothing calls this directly

Calls 3

socket_protectMethod · 0.65
to_stringMethod · 0.45
is_ipv6Method · 0.45

Tested by

no test coverage detected