Searched refs:ip_as_string (Results 1 – 4 of 4) sorted by relevance
/external/libevent/ |
D | evutil.c | 2071 evutil_parse_sockaddr_port(const char *ip_as_string, struct sockaddr *out, int *outlen) in evutil_parse_sockaddr_port() argument 2085 cp = strchr(ip_as_string, ':'); in evutil_parse_sockaddr_port() 2086 if (*ip_as_string == '[') { in evutil_parse_sockaddr_port() 2088 if (!(cp = strchr(ip_as_string, ']'))) { in evutil_parse_sockaddr_port() 2091 len = ( cp-(ip_as_string + 1) ); in evutil_parse_sockaddr_port() 2095 memcpy(buf, ip_as_string+1, len); in evutil_parse_sockaddr_port() 2105 addr_part = ip_as_string; in evutil_parse_sockaddr_port() 2109 if (cp - ip_as_string > (int)sizeof(buf)-1) { in evutil_parse_sockaddr_port() 2112 memcpy(buf, ip_as_string, cp-ip_as_string); in evutil_parse_sockaddr_port() 2113 buf[cp-ip_as_string] = '\0'; in evutil_parse_sockaddr_port() [all …]
|
D | evdns.c | 2613 evdns_base_nameserver_ip_add(struct evdns_base *base, const char *ip_as_string) { in evdns_base_nameserver_ip_add() argument 2618 if (evutil_parse_sockaddr_port(ip_as_string, (struct sockaddr *)&ss, in evdns_base_nameserver_ip_add() 2621 ip_as_string); in evdns_base_nameserver_ip_add() 2635 evdns_nameserver_ip_add(const char *ip_as_string) { in evdns_nameserver_ip_add() argument 2638 return evdns_base_nameserver_ip_add(current_base, ip_as_string); in evdns_nameserver_ip_add()
|
/external/libevent/include/event2/ |
D | dns_compat.h | 173 int evdns_nameserver_ip_add(const char *ip_as_string);
|
D | dns.h | 338 const char *ip_as_string);
|