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

Function TSNetVConnClientAddrGet

src/api/InkAPI.cc:6012–6018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6010}
6011
6012sockaddr const *
6013TSNetVConnClientAddrGet(TSVConn connp)
6014{
6015 sdk_assert(sdk_sanity_check_iocore_structure(connp) == TS_SUCCESS);
6016 NetVConnection *vc = reinterpret_cast<NetVConnection *>(connp);
6017 return vc->get_effective_remote_addr();
6018}
6019
6020TSAction
6021TSNetConnect(TSCont contp, sockaddr const *addr)

Callers

nothing calls this directly

Tested by

no test coverage detected