Home
last modified time | relevance | path

Searched refs:has_ipv6 (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dsocket-helpers.c135 int socket_check_protocol_support(bool *has_ipv4, bool *has_ipv6) in socket_check_protocol_support() argument
137 *has_ipv4 = *has_ipv6 = false; in socket_check_protocol_support()
152 *has_ipv6 = true; in socket_check_protocol_support()
H A Dsocket-helpers.h33 int socket_check_protocol_support(bool *has_ipv4, bool *has_ipv6);
H A Dtest-yank.c189 bool has_ipv4, has_ipv6; in main() local
196 if (socket_check_protocol_support(&has_ipv4, &has_ipv6) < 0) { in main()
H A Dtest-util-sockets.c337 bool has_ipv4, has_ipv6; in main() local
349 if (socket_check_protocol_support(&has_ipv4, &has_ipv6) < 0) { in main()
H A Dtest-io-channel-socket.c565 bool has_ipv4, has_ipv6, has_afunix; in main() local
578 if (socket_check_protocol_support(&has_ipv4, &has_ipv6) < 0) { in main()
591 if (has_ipv6) { in main()
H A Dtest-char.c1469 bool has_ipv4, has_ipv6; in main() local
1476 if (socket_check_protocol_support(&has_ipv4, &has_ipv6) < 0) { in main()
/openbmc/qemu/util/
H A Dqemu-sockets.c129 if (addr->has_ipv6 && addr->has_ipv4 && in inet_ai_family_from_address()
134 if ((addr->has_ipv6 && addr->ipv6) && (addr->has_ipv4 && addr->ipv4)) { in inet_ai_family_from_address()
151 if ((addr->has_ipv6 && addr->ipv6) || (addr->has_ipv4 && !addr->ipv4)) { in inet_ai_family_from_address()
154 if ((addr->has_ipv4 && addr->ipv4) || (addr->has_ipv6 && !addr->ipv6)) { in inet_ai_family_from_address()
180 ((!saddr->has_ipv4 && !saddr->has_ipv6) || in try_bind()
182 saddr->has_ipv6 && saddr->ipv6)) ? 0 : 1; in try_bind()
684 addr->has_ipv6 = true; in inet_parse()
1328 inet->has_ipv6 = inet->ipv6 = true; in socket_sockaddr_to_address_inet()
/openbmc/qemu/io/
H A Ddns-resolver.c123 .has_ipv6 = iaddr->has_ipv6, in qio_dns_resolver_lookup_sync_inet()
/openbmc/qemu/tests/qtest/
H A Dnetdev-socket.c497 bool has_ipv4, has_ipv6, has_afunix; in main() local
503 if (socket_check_protocol_support(&has_ipv4, &has_ipv6) < 0) { in main()
520 if (has_ipv6) { in main()
/openbmc/qemu/chardev/
H A Dchar-udp.c175 .has_ipv6 = qemu_opt_get(opts, "ipv6"), in qemu_chr_parse_udp()
H A Dchar-socket.c1537 .has_ipv6 = qemu_opt_get(opts, "ipv6"), in qemu_chr_parse_socket()
/openbmc/qemu/net/
H A Dslirp.c1194 if ((user->has_ipv6 && user->ipv6 && !user->has_ipv4) || in net_init_slirp()
1198 if ((user->has_ipv4 && user->ipv4 && !user->has_ipv6) || in net_init_slirp()
1199 (user->has_ipv6 && !user->ipv6)) { in net_init_slirp()
H A Dl2tpv3.c543 if (l2tpv3->has_ipv6 && l2tpv3->ipv6) { in net_init_l2tpv3()
/openbmc/qemu/block/
H A Dgluster.c619 gsconf->u.inet.has_ipv6 = true; in qemu_gluster_parse_json()
625 if (gsconf->u.inet.has_ipv4 || gsconf->u.inet.has_ipv6) { in qemu_gluster_parse_json()
H A Dssh.c1307 if (s->inet->has_ipv4 || s->inet->has_ipv6 || s->inet->has_to || in ssh_refresh_filename()
H A Dnbd.c2050 if (!inet->has_ipv4 && !inet->has_ipv6 && !inet->has_to) { in nbd_refresh_filename()
/openbmc/qemu/ui/
H A Dvnc.c3722 bool has_ipv6, in vnc_display_get_address() argument
3814 inet->has_ipv6 = has_ipv6; in vnc_display_get_address()
3845 bool has_ipv6 = qemu_opt_get(opts, "ipv6"); in vnc_display_get_addresses() local
3865 has_ipv4, has_ipv6, in vnc_display_get_addresses()
3893 has_ipv4, has_ipv6, in vnc_display_get_addresses()