Lines Matching refs:ai_family
70 switch (e->ai_family) {
87 switch (e->ai_family) {
120 tag, inet_strfamily(e->ai_family), uaddr, uport);
135 ai.ai_family = PF_UNSPEC;
155 ai.ai_family = PF_INET;
157 ai.ai_family = PF_INET6;
176 slisten = qemu_socket(e->ai_family, e->ai_socktype, e->ai_protocol);
179 inet_strfamily(e->ai_family), strerror(errno));
185 if (e->ai_family == PF_INET6) {
196 inet_strfamily(e->ai_family), uaddr, inet_getport(e));
202 inet_strfamily(e->ai_family), uaddr, inet_getport(e),
226 qemu_opt_set(opts, "ipv6", (e->ai_family == PF_INET6) ? "on" : "off");
227 qemu_opt_set(opts, "ipv4", (e->ai_family != PF_INET6) ? "on" : "off");
250 ai.ai_family = PF_UNSPEC;
261 ai.ai_family = PF_INET;
263 ai.ai_family = PF_INET6;
281 sock = qemu_socket(e->ai_family, e->ai_socktype, e->ai_protocol);
284 inet_strfamily(e->ai_family), strerror(errno));
293 inet_strfamily(e->ai_family),
300 inet_strfamily(e->ai_family),
321 ai.ai_family = PF_UNSPEC;
335 ai.ai_family = PF_INET;
337 ai.ai_family = PF_INET6;
352 ai.ai_family = peer->ai_family;
374 sock = qemu_socket(peer->ai_family, peer->ai_socktype, peer->ai_protocol);
377 inet_strfamily(peer->ai_family), strerror(errno));
391 inet_strfamily(local->ai_family), uaddr, inet_getport(local));
404 inet_strfamily(peer->ai_family),