hints 154 src/simh/sim_sock.c const struct addrinfo *hints, hints 176 src/simh/sim_sock.c const struct addrinfo *hints, hints 196 src/simh/sim_sock.c if (hints) { hints 197 src/simh/sim_sock.c if ((hints->ai_family != PF_INET) && (hints->ai_family != PF_UNSPEC)) hints 199 src/simh/sim_sock.c switch (hints->ai_socktype) hints 210 src/simh/sim_sock.c hints = &dhints; hints 219 src/simh/sim_sock.c switch (hints->ai_socktype) hints 246 src/simh/sim_sock.c if ((hints->ai_flags & AI_CANONNAME) && !(hints->ai_flags & AI_NUMERICHOST)) { hints 256 src/simh/sim_sock.c if (hints->ai_flags & AI_NUMERICHOST) hints 261 src/simh/sim_sock.c if (hints->ai_flags & AI_CANONNAME) hints 280 src/simh/sim_sock.c if (hints->ai_flags & AI_PASSIVE) hints 295 src/simh/sim_sock.c ai->ai_socktype = hints->ai_socktype; hints 296 src/simh/sim_sock.c ai->ai_protocol = hints->ai_protocol; hints 796 src/simh/sim_sock.c struct addrinfo hints; hints 805 src/simh/sim_sock.c memset(&hints, 0, sizeof(hints)); hints 806 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 807 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 808 src/simh/sim_sock.c hints.ai_protocol = IPPROTO_TCP; hints 809 src/simh/sim_sock.c hints.ai_socktype = SOCK_STREAM; hints 810 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { hints 886 src/simh/sim_sock.c struct addrinfo hints; hints 892 src/simh/sim_sock.c memset(&hints, 0, sizeof(hints)); hints 893 src/simh/sim_sock.c hints.ai_family = AF_UNSPEC; hints 894 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 895 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 896 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) hints 907 src/simh/sim_sock.c memset(&hints, 0, sizeof(hints)); hints 908 src/simh/sim_sock.c hints.ai_flags = AI_PASSIVE; hints 909 src/simh/sim_sock.c hints.ai_family = result->ai_family; /* Same family as connect destination */ hints 910 src/simh/sim_sock.c hints.ai_protocol = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? IPPROTO_UDP : IPPROTO_TCP); hints 911 src/simh/sim_sock.c hints.ai_socktype = ((opt_flags & SIM_SOCK_OPT_DATAGRAM) ? SOCK_DGRAM : SOCK_STREAM); hints 912 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &source)) {