hints 155 src/simh/sim_sock.c const struct addrinfo *hints, hints 179 src/simh/sim_sock.c const struct addrinfo *hints, hints 199 src/simh/sim_sock.c if (hints) { hints 200 src/simh/sim_sock.c if ((hints->ai_family != PF_INET) && (hints->ai_family != PF_UNSPEC)) hints 202 src/simh/sim_sock.c switch (hints->ai_socktype) hints 213 src/simh/sim_sock.c hints = &dhints; hints 222 src/simh/sim_sock.c switch (hints->ai_socktype) hints 249 src/simh/sim_sock.c if ((hints->ai_flags & AI_CANONNAME) && !(hints->ai_flags & AI_NUMERICHOST)) { hints 259 src/simh/sim_sock.c if (hints->ai_flags & AI_NUMERICHOST) hints 264 src/simh/sim_sock.c if (hints->ai_flags & AI_CANONNAME) hints 283 src/simh/sim_sock.c if (hints->ai_flags & AI_PASSIVE) hints 298 src/simh/sim_sock.c ai->ai_socktype = hints->ai_socktype; hints 299 src/simh/sim_sock.c ai->ai_protocol = hints->ai_protocol; hints 803 src/simh/sim_sock.c struct addrinfo hints; hints 812 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 813 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 814 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 815 src/simh/sim_sock.c hints.ai_protocol = IPPROTO_TCP; hints 816 src/simh/sim_sock.c hints.ai_socktype = SOCK_STREAM; hints 817 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { hints 895 src/simh/sim_sock.c struct addrinfo hints; hints 901 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 902 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 903 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 904 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 905 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) hints 915 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 916 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 917 src/simh/sim_sock.c hints.ai_family = result->ai_family; /* Same family as connect destination */ hints 918 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 919 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 920 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &source)) {