Lines Matching refs:to_addr
3119 fd_for_dest(struct outside_network* outnet, struct sockaddr_storage* to_addr,
3137 if(addr_is_ip6(to_addr, to_addrlen)) {
3140 addr_to_str(to_addr, to_addrlen, to, sizeof(to));
3149 addr_to_str(to_addr, to_addrlen, to, sizeof(to));
3170 if(addr_is_ip6(to_addr, to_addrlen)) {
3198 struct sockaddr_storage* to_addr, socklen_t to_addrlen)
3201 int fd = fd_for_dest(outnet, to_addr, to_addrlen);
3274 struct sockaddr_storage* to_addr, socklen_t to_addrlen,
3278 int fd = outnet_get_tcp_fd(to_addr, to_addrlen, outnet->tcp_mss, outnet->ip_dscp);
3283 if(!outnet_tcp_connect(fd, to_addr, to_addrlen)) {
3294 memcpy(&cp->repinfo.addr, to_addr, to_addrlen);
3335 struct sockaddr_storage* to_addr, socklen_t to_addrlen, int timeout,
3340 int fd = outnet_get_tcp_fd(to_addr, to_addrlen, outnet->tcp_mss, outnet->ip_dscp);
3345 if(!outnet_tcp_connect(fd, to_addr, to_addrlen)) {
3357 memcpy(&cp->repinfo.addr, to_addr, to_addrlen);