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

Method get_outbound_ip4

src/proxy/ProxyTransaction.cc:140–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140IpAddr
141ProxyTransaction::get_outbound_ip4() const
142{
143 if (upstream_outbound_options.outbound.has_ip4()) {
144 return IpAddr(upstream_outbound_options.outbound.ip4().network_order());
145 }
146 return IpAddr();
147}
148
149IpAddr
150ProxyTransaction::get_outbound_ip6() const

Callers 1

do_http_server_openMethod · 0.80

Calls 4

IpAddrClass · 0.85
has_ip4Method · 0.80
network_orderMethod · 0.80
ip4Method · 0.45

Tested by

no test coverage detected