hints 155 src/simh/sim_sock.c const struct addrinfo *hints, hints 177 src/simh/sim_sock.c const struct addrinfo *hints, hints 197 src/simh/sim_sock.c if (hints) { hints 198 src/simh/sim_sock.c if ((hints->ai_family != PF_INET) && (hints->ai_family != PF_UNSPEC)) hints 200 src/simh/sim_sock.c switch (hints->ai_socktype) hints 211 src/simh/sim_sock.c hints = &dhints; hints 220 src/simh/sim_sock.c switch (hints->ai_socktype) hints 247 src/simh/sim_sock.c if ((hints->ai_flags & AI_CANONNAME) && !(hints->ai_flags & AI_NUMERICHOST)) { hints 257 src/simh/sim_sock.c if (hints->ai_flags & AI_NUMERICHOST) hints 262 src/simh/sim_sock.c if (hints->ai_flags & AI_CANONNAME) hints 281 src/simh/sim_sock.c if (hints->ai_flags & AI_PASSIVE) hints 296 src/simh/sim_sock.c ai->ai_socktype = hints->ai_socktype; hints 297 src/simh/sim_sock.c ai->ai_protocol = hints->ai_protocol; hints 797 src/simh/sim_sock.c struct addrinfo hints; hints 806 src/simh/sim_sock.c memset(&hints, 0, sizeof(hints)); hints 807 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 808 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 809 src/simh/sim_sock.c hints.ai_protocol = IPPROTO_TCP; hints 810 src/simh/sim_sock.c hints.ai_socktype = SOCK_STREAM; hints 811 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { hints 887 src/simh/sim_sock.c struct addrinfo hints; hints 893 src/simh/sim_sock.c memset(&hints, 0, sizeof(hints)); hints 894 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 895 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 896 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 897 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) hints 908 src/simh/sim_sock.c memset(&hints, 0, sizeof(hints)); hints 909 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 910 src/simh/sim_sock.c hints.ai_family = result->ai_family; /* Same family as connect destination */ hints 911 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 912 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 913 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &source)) {