Searched refs:has_ipv4 (Results 1 – 16 of 16) 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() 144 *has_ipv4 = true; in socket_check_protocol_support()
|
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() 201 if (!has_ipv4) { in main()
|
H A D | socket-helpers.h | 33 int socket_check_protocol_support(bool *has_ipv4, bool *has_ipv6);
|
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() 354 if (has_ipv4) { 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() 583 if (has_ipv4) { 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() 1555 if (has_ipv4) { 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() 181 (saddr->has_ipv4 && saddr->ipv4 && in try_bind() 677 addr->has_ipv4 = true; in inet_parse() 1326 inet->has_ipv4 = inet->ipv4 = true; in socket_sockaddr_to_address_inet()
|
/openbmc/qemu/io/ |
H A D | dns-resolver.c | 121 .has_ipv4 = iaddr->has_ipv4, 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() 513 if (has_ipv4) { in main()
|
/openbmc/qemu/chardev/ |
H A D | char-udp.c | 173 .has_ipv4 = qemu_opt_get(opts, "ipv4"), in qemu_chr_parse_udp()
|
H A D | char-socket.c | 1535 .has_ipv4 = qemu_opt_get(opts, "ipv4"), 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() 1195 (user->has_ipv4 && !user->ipv4)) { in net_init_slirp() 1198 if ((user->has_ipv4 && user->ipv4 && !user->has_ipv6) || in net_init_slirp()
|
/openbmc/qemu/block/ |
H A D | gluster.c | 615 gsconf->u.inet.has_ipv4 = 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 | 3721 bool has_ipv4, in vnc_display_get_address() argument 3812 inet->has_ipv4 = has_ipv4; in vnc_display_get_address() 3844 bool has_ipv4 = qemu_opt_get(opts, "ipv4"); 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()
|