hostp 551 src/dps8/udplib.c char *hostp, *portp; hostp 563 src/dps8/udplib.c hostp = gbuf; /* default addr */ hostp 573 src/dps8/udplib.c hostp = (char *)default_host; /* host is defaulted if provided */ hostp 593 src/dps8/udplib.c if (hostp != NULL) { hostp 594 src/dps8/udplib.c if (']' == hostp[strlen(hostp)-1]) { hostp 595 src/dps8/udplib.c if ('[' != hostp[0]) hostp 598 src/dps8/udplib.c strncpy(gbuf, hostp+1, sizeof(gbuf)-1); /* remove brackets from domain literal host */ hostp 599 src/dps8/udplib.c hostp = gbuf; hostp 600 src/dps8/udplib.c hostp[strlen(hostp)-1] = '\0'; hostp 604 src/dps8/udplib.c if (hostp != NULL) { hostp 605 src/dps8/udplib.c if (strlen(hostp) >= host_len) hostp 608 src/dps8/udplib.c strcpy (host, hostp); hostp 614 src/dps8/udplib.c if (hostp == NULL) hostp 616 src/dps8/udplib.c if (getaddrinfo(hostp, NULL, NULL, &ai_host)) hostp 633 src/dps8/udplib.c if (((0 == strcmp("127.0.0.1", hostp)) && hostp 636 src/dps8/udplib.c (0 == strcmp("::1", hostp)))) hostp 490 src/simh/sim_sock.c const char *hostp; hostp 515 src/simh/sim_sock.c hostp = gbuf; /* default addr */ hostp 526 src/simh/sim_sock.c hostp = (const char *)default_host; /* host is defaulted if provided */ hostp 546 src/simh/sim_sock.c if (hostp != NULL) { hostp 547 src/simh/sim_sock.c if (']' == hostp[strlen(hostp)-1]) { hostp 548 src/simh/sim_sock.c if ('[' != hostp[0]) hostp 551 src/simh/sim_sock.c strncpy(gbuf, hostp+1, sizeof(gbuf)-1); /* remove brackets from domain literal host */ hostp 553 src/simh/sim_sock.c hostp = gbuf; hostp 557 src/simh/sim_sock.c if (hostp != NULL) { hostp 558 src/simh/sim_sock.c if (strlen(hostp) >= host_len) hostp 561 src/simh/sim_sock.c if (('\0' != hostp[0]) || (default_host == NULL)) hostp 562 src/simh/sim_sock.c strcpy (host, hostp); hostp 582 src/simh/sim_sock.c if (hostp == NULL) hostp 584 src/simh/sim_sock.c if (p_getaddrinfo(hostp, NULL, NULL, &ai_host)) hostp 603 src/simh/sim_sock.c if (((0 == strcmp("127.0.0.1", hostp)) && hostp 606 src/simh/sim_sock.c (0 == strcmp("::1", hostp)))) hostp 653 src/simh/sim_sock.c const char *hostp; hostp 657 src/simh/sim_sock.c hostp = strchr (cptr, ':'); hostp 658 src/simh/sim_sock.c if ((hostp != NULL) && ((hostp[1] == '[') || (NULL != strchr (hostp+1, ':')))) { hostp 661 src/simh/sim_sock.c if (localport_len > (size_t)(hostp-cptr)) hostp 662 src/simh/sim_sock.c localport_len = (size_t)(hostp-cptr); hostp 665 src/simh/sim_sock.c return sim_parse_addr (hostp+1, host, hostlen, default_host, port, port_len, default_port, NULL);