Searched refs:has_ipv6 (Results 1 – 17 of 17) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | socket-helpers.c | 135 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 D | socket-helpers.h | 33 int socket_check_protocol_support(bool *has_ipv4, bool *has_ipv6);
|
H A D | test-yank.c | 189 bool has_ipv4, has_ipv6; in main() local 196 if (socket_check_protocol_support(&has_ipv4, &has_ipv6) < 0) { in main()
|
H A D | test-util-sockets.c | 337 bool has_ipv4, has_ipv6; in main() local 349 if (socket_check_protocol_support(&has_ipv4, &has_ipv6) < 0) { in main()
|
H A D | test-io-channel-socket.c | 565 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 D | test-char.c | 1469 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 D | qemu-sockets.c | 129 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 D | dns-resolver.c | 123 .has_ipv6 = iaddr->has_ipv6, in qio_dns_resolver_lookup_sync_inet()
|
/openbmc/qemu/tests/qtest/ |
H A D | netdev-socket.c | 497 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 D | char-udp.c | 175 .has_ipv6 = qemu_opt_get(opts, "ipv6"), in qemu_chr_parse_udp()
|
H A D | char-socket.c | 1537 .has_ipv6 = qemu_opt_get(opts, "ipv6"), in qemu_chr_parse_socket()
|
/openbmc/qemu/net/ |
H A D | slirp.c | 1194 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 D | l2tpv3.c | 543 if (l2tpv3->has_ipv6 && l2tpv3->ipv6) { in net_init_l2tpv3()
|
/openbmc/qemu/block/ |
H A D | gluster.c | 619 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 D | ssh.c | 1307 if (s->inet->has_ipv4 || s->inet->has_ipv6 || s->inet->has_to || in ssh_refresh_filename()
|
H A D | nbd.c | 2050 if (!inet->has_ipv4 && !inet->has_ipv6 && !inet->has_to) { in nbd_refresh_filename()
|
/openbmc/qemu/ui/ |
H A D | vnc.c | 3722 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()
|