Lines Matching defs:ip
21 int ip_create_listener_split(const char *ip, unsigned short port)
36 memcpy(&in_addr.sin_addr.s_addr, ip, 4);
52 int ip_create_connection_split(const char *ip, unsigned short port)
66 memcpy(&in_addr.sin_addr.s_addr, ip, 4);
88 const char *ip = all_local_ip;
113 ip = lookup->h_addr_list[0];
119 *parsed_ip = ip;
126 const char *ip;
129 if (!ip_parse_address(address, &ip, &port, 1))
131 return ip_create_listener_split(ip, port);
136 const char *ip;
139 if (!ip_parse_address(address, &ip, &port, 0))
141 return ip_create_connection_split(ip, port);