Searched refs:ai_new (Results 1 - 2 of 2) sorted by relevance

/external/libevent/
H A Devutil.c1165 struct evutil_addrinfo *ai_new; local
1170 ai_new = mm_malloc(sizeof(*ai_new));
1171 if (!ai_new)
1173 memcpy(ai_new, ai, sizeof(*ai_new));
1176 ai_new->ai_socktype = SOCK_DGRAM;
1177 ai_new->ai_protocol = IPPROTO_UDP;
1179 ai_new->ai_next = ai->ai_next;
1180 ai->ai_next = ai_new;
[all...]
H A Devdns.c4508 struct evutil_addrinfo *ai_new; local
4513 ai_new = evutil_new_addrinfo(&e->addr.sa, e->addrlen, hints);
4514 if (!ai_new) {
4518 sockaddr_setport(ai_new->ai_addr, port);
4519 ai = evutil_addrinfo_append(ai, ai_new);

Completed in 108 milliseconds