host 1270 src/dps8/dps8_mgp.c make_rfc_pkt(int *len, char *host, char *contact, char *args) host 1273 src/dps8/dps8_mgp.c *len = strlen(host) + 1 + strlen(contact) + \ host 1278 src/dps8/dps8_mgp.c "%s %s%s%s", host, contact, host 1432 src/dps8/dps8_mgp.c char connect_string[256], *net, *host, *contact, *args; host 1448 src/dps8/dps8_mgp.c host = i + 1; host 1449 src/dps8/dps8_mgp.c i = index(host, ' '); host 1472 src/dps8/dps8_mgp.c "\"%s\", args \"%s\"\n", __func__, net, host, contact, args); host 1497 src/dps8/dps8_mgp.c if (( sscanf(host, "%ho", &raddr) != 1 ) || !valid_chaos_host_address(raddr)) host 1499 src/dps8/dps8_mgp.c sim_printf("%s: bad remote address %s\n", __func__, host); host 1523 src/dps8/dps8_mgp.c u_char *cbpkt = make_rfc_pkt(&cblen, host, contact, args); 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 159 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 335 src/simh/sim_sock.c char *host, size_t hostlen, host 345 src/simh/sim_sock.c if ((NULL == host) && (NULL == serv)) host 369 src/simh/sim_sock.c if ((host) && (hostlen > 0)) { host 377 src/simh/sim_sock.c strcpy(host, he->h_name); host 384 src/simh/sim_sock.c strcpy(host, inet_ntoa(sin->sin_addr)); host 488 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 496 src/simh/sim_sock.c if ((host != NULL) && (host_len != 0)) host 497 src/simh/sim_sock.c memset (host, 0, host_len); host 503 src/simh/sim_sock.c if ((host == NULL) || (port == NULL)) host 507 src/simh/sim_sock.c strcpy (host, default_host); host 557 src/simh/sim_sock.c if (host) { /* host wanted? */ host 563 src/simh/sim_sock.c strcpy (host, hostp); host 568 src/simh/sim_sock.c strcpy (host, default_host); host 575 src/simh/sim_sock.c strcpy (host, default_host); host 652 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 666 src/simh/sim_sock.c return sim_parse_addr (hostp+1, host, hostlen, default_host, port, port_len, default_port, NULL); host 668 src/simh/sim_sock.c return sim_parse_addr (cptr, host, hostlen, default_host, port, port_len, default_port, NULL); host 795 src/simh/sim_sock.c char host[CBUFSIZE], port[CBUFSIZE]; host 800 src/simh/sim_sock.c r = sim_parse_addr (hostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL); host 811 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { host 886 src/simh/sim_sock.c char host[CBUFSIZE], port[CBUFSIZE]; host 890 src/simh/sim_sock.c if (sim_parse_addr (hostport, host, sizeof(host), default_host, port, sizeof(port), default_port, NULL)) host 897 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) host 903 src/simh/sim_sock.c if (sim_parse_addr (sourcehostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL)) { host 913 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 1112 src/simh/sim_tmxr.c char host[sizeof(msg) - 64]; host 1114 src/simh/sim_tmxr.c if (sim_parse_addr (lp->destination, host, sizeof(host), NULL, NULL, 0, NULL, address)) { host 1116 src/simh/sim_tmxr.c snprintf (msg, sizeof(msg)-1, "tmxr_poll_conn() - Rejecting line connection from: %s, Expected: %s", address, host);