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

Method get_client_port

include/iocore/net/NetVConnection.h:732–736  ·  view source on GitHub ↗

@return The remote port in host order.

Source from the content-addressed store, hash-verified

730
731/// @return The remote port in host order.
732inline uint16_t
733NetVConnection::get_client_port()
734{
735 return ats_ip_port_host_order(this->get_effective_remote_addr());
736}
737
738inline sockaddr const *
739NetVConnection::get_remote_addr()

Callers

nothing calls this directly

Calls 2

ats_ip_port_host_orderFunction · 0.85

Tested by

no test coverage detected