hints 159 src/simh/sim_sock.c const struct addrinfo *hints, hints 183 src/simh/sim_sock.c const struct addrinfo *hints, hints 203 src/simh/sim_sock.c if (hints) { hints 204 src/simh/sim_sock.c if ((hints->ai_family != PF_INET) && (hints->ai_family != PF_UNSPEC)) hints 206 src/simh/sim_sock.c switch (hints->ai_socktype) hints 217 src/simh/sim_sock.c hints = &dhints; hints 226 src/simh/sim_sock.c switch (hints->ai_socktype) hints 253 src/simh/sim_sock.c if ((hints->ai_flags & AI_CANONNAME) && !(hints->ai_flags & AI_NUMERICHOST)) { hints 263 src/simh/sim_sock.c if (hints->ai_flags & AI_NUMERICHOST) hints 268 src/simh/sim_sock.c if (hints->ai_flags & AI_CANONNAME) hints 287 src/simh/sim_sock.c if (hints->ai_flags & AI_PASSIVE) hints 302 src/simh/sim_sock.c ai->ai_socktype = hints->ai_socktype; hints 303 src/simh/sim_sock.c ai->ai_protocol = hints->ai_protocol; hints 807 src/simh/sim_sock.c struct addrinfo hints; hints 816 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 817 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 818 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 819 src/simh/sim_sock.c hints.ai_protocol = IPPROTO_TCP; hints 820 src/simh/sim_sock.c hints.ai_socktype = SOCK_STREAM; hints 821 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { hints 899 src/simh/sim_sock.c struct addrinfo hints; hints 905 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 906 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 907 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 908 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 909 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) hints 919 src/simh/sim_sock.c (void)memset(&hints, 0, sizeof(hints)); hints 920 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 921 src/simh/sim_sock.c hints.ai_family = result->ai_family; /* Same family as connect destination */ hints 922 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 923 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 924 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &source)) {