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

Method set_remote_addr

src/iocore/net/P_UnixNetVConnection.h:268–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266using NetVConnHandler = int (UnixNetVConnection::*)(int, void *);
267
268inline void
269UnixNetVConnection::set_remote_addr()
270{
271 ats_ip_copy(&remote_addr, &con.addr);
272 this->control_flags.set_flag(ContFlags::DEBUG_OVERRIDE, diags()->test_override_ip(remote_addr));
273 set_cont_flags(get_control_flags());
274}
275
276inline void
277UnixNetVConnection::set_remote_addr(const sockaddr *new_sa)

Callers 3

net_acceptFunction · 0.45
do_blocking_acceptMethod · 0.45
acceptFastEventMethod · 0.45

Calls 5

ats_ip_copyFunction · 0.85
diagsFunction · 0.85
set_cont_flagsFunction · 0.85
set_flagMethod · 0.80
test_override_ipMethod · 0.80

Tested by

no test coverage detected