| 6038 | } |
| 6039 | |
| 6040 | TSAction |
| 6041 | TSNetConnectTransparent(TSCont contp, sockaddr const *client_addr, sockaddr const *server_addr) |
| 6042 | { |
| 6043 | sdk_assert(sdk_sanity_check_continuation(contp) == TS_SUCCESS); |
| 6044 | sdk_assert(ats_is_ip(server_addr)); |
| 6045 | sdk_assert(ats_ip_are_compatible(client_addr, server_addr)); |
| 6046 | |
| 6047 | NetVCOptions opt; |
| 6048 | opt.addr_binding = NetVCOptions::FOREIGN_ADDR; |
| 6049 | opt.local_ip.assign(client_addr); |
| 6050 | opt.local_port = ats_ip_port_host_order(client_addr); |
| 6051 | |
| 6052 | FORCE_PLUGIN_SCOPED_MUTEX(contp); |
| 6053 | |
| 6054 | return reinterpret_cast<TSAction>(netProcessor.connect_re(reinterpret_cast<INKContInternal *>(contp), server_addr, opt)); |
| 6055 | } |
| 6056 | |
| 6057 | TSCont |
| 6058 | TSNetInvokingContGet(TSVConn conn) |
nothing calls this directly
no test coverage detected