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

Function TSHttpSsnClientAddrGet

src/api/InkAPI.cc:4591–4600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4589}
4590
4591sockaddr const *
4592TSHttpSsnClientAddrGet(TSHttpSsn ssnp)
4593{
4594 ProxySession *cs = reinterpret_cast<ProxySession *>(ssnp);
4595
4596 if (cs == nullptr) {
4597 return nullptr;
4598 }
4599 return cs->get_client_addr();
4600}
4601sockaddr const *
4602TSHttpTxnClientAddrGet(TSHttpTxn txnp)
4603{

Callers 4

TSHttpTxnClientAddrGetFunction · 0.85
log_tcp_infoFunction · 0.85
addr_remoteMethod · 0.85

Calls 1

get_client_addrMethod · 0.45

Tested by

no test coverage detected