Lines Matching defs:local_ip
9 forwards them to local_ip:9090. To make this work properly, director
119 struct ip_addr local_ip;
121 if (net_getsockname(client->fd, &local_ip, NULL) < 0)
124 host = hash_table_lookup(hosts, &local_ip);
127 net_ip2addr(&local_ip));
130 host->ip = local_ip;
332 director_connection_create(int in_fd, const struct ip_addr *local_ip,
338 out_fd = net_connect_ip(local_ip, DIRECTOR_OUT_PORT, remote_ip);
385 struct ip_addr local_ip, remote_ip;
388 if (net_getsockname(conn->fd, &local_ip, &local_port) < 0)
396 director_connection_create(conn->fd, &local_ip, &remote_ip);