hints 161 src/simh/sim_sock.c const struct addrinfo *hints, hints 185 src/simh/sim_sock.c const struct addrinfo *hints, hints 205 src/simh/sim_sock.c if (hints) { hints 206 src/simh/sim_sock.c if ((hints->ai_family != PF_INET) && (hints->ai_family != PF_UNSPEC)) hints 208 src/simh/sim_sock.c switch (hints->ai_socktype) hints 219 src/simh/sim_sock.c hints = &dhints; hints 228 src/simh/sim_sock.c switch (hints->ai_socktype) hints 255 src/simh/sim_sock.c if ((hints->ai_flags & AI_CANONNAME) && !(hints->ai_flags & AI_NUMERICHOST)) { hints 265 src/simh/sim_sock.c if (hints->ai_flags & AI_NUMERICHOST) hints 270 src/simh/sim_sock.c if (hints->ai_flags & AI_CANONNAME) hints 289 src/simh/sim_sock.c if (hints->ai_flags & AI_PASSIVE) hints 304 src/simh/sim_sock.c ai->ai_socktype = hints->ai_socktype; hints 305 src/simh/sim_sock.c ai->ai_protocol = hints->ai_protocol; hints 809 src/simh/sim_sock.c struct addrinfo hints; hints 818 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 819 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 820 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 821 src/simh/sim_sock.c hints.ai_protocol = IPPROTO_TCP; hints 822 src/simh/sim_sock.c hints.ai_socktype = SOCK_STREAM; hints 823 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { hints 901 src/simh/sim_sock.c struct addrinfo hints; hints 907 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 908 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 909 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 910 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 911 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) hints 921 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 922 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 923 src/simh/sim_sock.c hints.ai_family = result->ai_family; /* Same family as connect destination */ hints 924 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 925 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 926 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &source)) {