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

Method get_local_port

include/iocore/net/NetVConnection.h:784–788  ·  view source on GitHub ↗

@return The local port in host order.

Source from the content-addressed store, hash-verified

782
783/// @return The local port in host order.
784inline uint16_t
785NetVConnection::get_local_port()
786{
787 return ats_ip_port_host_order(this->get_local_addr());
788}
789
790inline sockaddr const *
791NetVConnection::get_proxy_protocol_addr(const ProxyProtocolData src_or_dst) const

Callers 7

YamlSNIConfig.ccFile · 0.80
_get_local_portMethod · 0.80
_get_local_portMethod · 0.80
state_api_calloutMethod · 0.80

Calls 2

get_local_addrMethod · 0.95
ats_ip_port_host_orderFunction · 0.85

Tested by 1