host 129 src/dps8/udplib.c int sim_parse_addr (const char * cptr, char * host, size_t hostlen, const char * default_host, host 154 src/dps8/udplib.c char host [64], port [16]; host 182 src/dps8/udplib.c if (sim_parse_addr (premote, host, sizeof (host), "localhost", port, host 185 src/dps8/udplib.c sprintf (udp_links [link] . rhost, "%s", host); host 194 src/dps8/udplib.c (strcmp ("localhost", host) == 0)) host 548 src/dps8/udplib.c int sim_parse_addr (const char *cptr, char *host, size_t host_len, const char *default_host, char *port, size_t port_len, const char *default_port, const char *validate_addr) host 557 src/dps8/udplib.c if ((host != NULL) && (host_len != 0)) host 558 src/dps8/udplib.c memset (host, 0, host_len); host 603 src/dps8/udplib.c if (host) /* host wanted? */ host 608 src/dps8/udplib.c strcpy (host, hostp); host 158 src/simh/sim_sock.c typedef int (WSAAPI *getnameinfo_func) (const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags); host 334 src/simh/sim_sock.c char *host, size_t hostlen, host 344 src/simh/sim_sock.c if ((NULL == host) && (NULL == serv)) host 368 src/simh/sim_sock.c if ((host) && (hostlen > 0)) { host 376 src/simh/sim_sock.c strcpy(host, he->h_name); host 383 src/simh/sim_sock.c strcpy(host, inet_ntoa(sin->sin_addr)); host 487 src/simh/sim_sock.c int sim_parse_addr (const char *cptr, char *host, size_t host_len, const char *default_host, char *port, size_t port_len, const char *default_port, const char *validate_addr) host 495 src/simh/sim_sock.c if ((host != NULL) && (host_len != 0)) host 496 src/simh/sim_sock.c memset (host, 0, host_len); host 502 src/simh/sim_sock.c if ((host == NULL) || (port == NULL)) host 506 src/simh/sim_sock.c strcpy (host, default_host); host 556 src/simh/sim_sock.c if (host) { /* host wanted? */ host 562 src/simh/sim_sock.c strcpy (host, hostp); host 567 src/simh/sim_sock.c strcpy (host, default_host); host 574 src/simh/sim_sock.c strcpy (host, default_host); host 651 src/simh/sim_sock.c int sim_parse_addr_ex (const char *cptr, char *host, size_t hostlen, const char *default_host, char *port, size_t port_len, char *localport, size_t localport_len, const char *default_port) host 665 src/simh/sim_sock.c return sim_parse_addr (hostp+1, host, hostlen, default_host, port, port_len, default_port, NULL); host 667 src/simh/sim_sock.c return sim_parse_addr (cptr, host, hostlen, default_host, port, port_len, default_port, NULL); host 794 src/simh/sim_sock.c char host[CBUFSIZE], port[CBUFSIZE]; host 799 src/simh/sim_sock.c r = sim_parse_addr (hostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL); host 810 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { host 885 src/simh/sim_sock.c char host[CBUFSIZE], port[CBUFSIZE]; host 889 src/simh/sim_sock.c if (sim_parse_addr (hostport, host, sizeof(host), default_host, port, sizeof(port), default_port, NULL)) host 896 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) host 902 src/simh/sim_sock.c if (sim_parse_addr (sourcehostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL)) { host 912 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &source)) { host 86 src/simh/sim_sock.h int sim_parse_addr (const char *cptr, char *host, size_t hostlen, const char *default_host, char *port, size_t port_len, const char *default_port, const char *validate_addr); host 88 src/simh/sim_sock.h int sim_parse_addr_ex (const char *cptr, char *host, size_t hostlen, const char *default_host, char *port, size_t port_len, char *localport, size_t local_port_len, const char *default_port); host 1018 src/simh/sim_tmxr.c char host[sizeof(msg) - 64]; host 1020 src/simh/sim_tmxr.c if (sim_parse_addr (lp->destination, host, sizeof(host), NULL, NULL, 0, NULL, address)) { host 1022 src/simh/sim_tmxr.c snprintf (msg, sizeof(msg)-1, "tmxr_poll_conn() - Rejecting line connection from: %s, Expected: %s", address, host);