Home | History | Annotate | Download | only in qemu

Lines Matching defs:ai

126     struct addrinfo ai,*res,*e;
133 memset(&ai,0, sizeof(ai));
134 ai.ai_flags = AI_PASSIVE | AI_ADDRCONFIG;
135 ai.ai_family = PF_UNSPEC;
136 ai.ai_socktype = SOCK_STREAM;
155 ai.ai_family = PF_INET;
157 ai.ai_family = PF_INET6;
162 rc = getaddrinfo(strlen(addr) ? addr : NULL, port, &ai, &res);
234 struct addrinfo ai,*res,*e;
248 memset(&ai,0, sizeof(ai));
249 ai.ai_flags = AI_CANONNAME | AI_ADDRCONFIG;
250 ai.ai_family = PF_UNSPEC;
251 ai.ai_socktype = SOCK_STREAM;
261 ai.ai_family = PF_INET;
263 ai.ai_family = PF_INET6;
266 if (0 != (rc = getaddrinfo(addr, port, &ai, &res))) {
311 struct addrinfo ai, *peer = NULL, *local = NULL;
319 memset(&ai,0, sizeof(ai));
320 ai.ai_flags = AI_CANONNAME | AI_ADDRCONFIG;
321 ai.ai_family = PF_UNSPEC;
322 ai.ai_socktype = SOCK_DGRAM;
335 ai.ai_family = PF_INET;
337 ai.ai_family = PF_INET6;
339 if (0 != (rc = getaddrinfo(addr, port, &ai, &peer))) {
350 memset(&ai,0, sizeof(ai));
351 ai.ai_flags = AI_PASSIVE;
352 ai.ai_family = peer->ai_family;
353 ai.ai_socktype = SOCK_DGRAM;
363 if (0 != (rc = getaddrinfo(addr, port, &ai, &local))) {