MCPcopy Create free account
hub / github.com/apache/trafficserver / get_effective_remote_addr

Method get_effective_remote_addr

include/iocore/net/NetVConnection.h:711–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709}
710
711inline sockaddr const *
712NetVConnection::get_effective_remote_addr()
713{
714 if (pp_info.version != ProxyProtocolVersion::UNDEFINED && is_proxy_protocol_cp_src) {
715 return get_proxy_protocol_src_addr();
716 } else {
717 return get_remote_addr();
718 }
719}
720
721inline IpEndpoint const &
722NetVConnection::get_client_endpoint()

Callers 8

get_client_portMethod · 0.95
SNIActionMethod · 0.80
SSLDiags.ccFile · 0.80
verify_callbackFunction · 0.80
get_client_addrMethod · 0.80
attach_client_sessionMethod · 0.80
acceptMethod · 0.80
TSNetVConnClientAddrGetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected