port 1810 src/dps8/dps8_console.c int port = atoi (cptr); port 1811 src/dps8/dps8_console.c if (port < 0 || port > 65535) // 0 is 'disable' port 1813 src/dps8/dps8_console.c console_state[dev_idx].console_access.port = port; port 1814 src/dps8/dps8_console.c if (port != 0) port 1815 src/dps8/dps8_console.c sim_msg ("[OPC emulation: TELNET server port set to %d]\r\n", (int)port); port 1818 src/dps8/dps8_console.c console_state[dev_idx].console_access.port = 0; port 1828 src/dps8/dps8_console.c if (console_state[dev_idx].console_access.port) port 1829 src/dps8/dps8_console.c sim_printf("port : %d", console_state[dev_idx].console_access.port); port 1996 src/dps8/dps8_cpu.h word2 port = (a >> 22) & MASK2; port 1997 src/dps8/dps8_cpu.h cpu.portSelect = port; port 1998 src/dps8/dps8_cpu.h cpu.portAddr [port] = a; port 1999 src/dps8/dps8_cpu.h cpu.portData [port] = d; port 1917 src/dps8/dps8_fnp2.c fnpData.fnpUnitData[devnum].MState.line[linenum].port = (int) pn; port 2270 src/dps8/dps8_fnp2.c fudp->MState.line[l].port); port 2415 src/dps8/dps8_fnp2.c port 2416 src/dps8/dps8_fnp2.c port 2422 src/dps8/dps8_fnp2.c port 153 src/dps8/dps8_fnp2.h int port; port 1503 src/dps8/dps8_iom.c word3 port = iom_unit_data[iom_unit_idx].configSwBootloadPort; // 3 bits; port 1526 src/dps8/dps8_iom.c M[1] = ((word36) (bootchan) << 27) | port; port 1382 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; port 1387 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) port 1392 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) port 1394 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; port 1401 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) port 1406 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; port 1449 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; port 1454 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) port 1459 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) port 1461 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; port 1468 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) port 1473 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; port 2424 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; port 2427 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].type != ADEV_CPU || port 2428 src/dps8/dps8_scu.c cpus[current_running_cpu_idx].scu_port[scu_unit_idx] != port) port 2435 src/dps8/dps8_scu.c inum, pima, mask, port, scu [scu_unit_idx].cells [inum]); port 1171 src/dps8/dps8_socket_dev.c uint16_t port = ntohs (from.sin_port); port 1172 src/dps8/dps8_socket_dev.c putbits36_16 (& buffer[3], 0, port); port 987 src/dps8/fnpuv.c uint port = ((((p1 * 10) + p2) * 10 + p3) * 10 + p4) * 10 + p5; port 1052 src/dps8/fnpuv.c sim_printf ("calling %s:%d\n", ipaddr,port); port 1055 src/dps8/fnpuv.c uv_ip4_addr(ipaddr, (int) port, &dest); port 1178 src/dps8/fnpuv.c uv_ip4_addr (fnpData.telnet_address, linep->port, & addr); port 1184 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: listen error: %s:%ld: %s]\r\n", fnpData.telnet_address, (long) linep->port, uv_strerror(r)); port 1186 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: listening on %s:%ld]\r\n", fnpData.telnet_address, (long) linep->port); port 133 src/dps8/udplib.c char * port, size_t port_len, const char * default_port, port 157 src/dps8/udplib.c char host [64], port [16]; port 185 src/dps8/udplib.c if (sim_parse_addr (premote, host, sizeof (host), "localhost", port, port 186 src/dps8/udplib.c sizeof (port), NULL, NULL) != -1 /* SCPE_OK */) port 189 src/dps8/udplib.c (void)sprintf (udp_links [link] . rport, "%s", port); port 190 src/dps8/udplib.c udp_links [link] . rportno = atoi (port); port 193 src/dps8/udplib.c strcpy (udp_links [link] . lport, port); port 194 src/dps8/udplib.c udp_links [link] . lportno = atoi (port); port 196 src/dps8/udplib.c if ((strcmp (udp_links [link] . lport, port) == 0) && port 568 src/dps8/udplib.c char *port, size_t port_len, const char *default_port, const char *validate_addr) port 579 src/dps8/udplib.c if ((port != NULL) && (port_len != 0)) port 580 src/dps8/udplib.c (void)memset (port, 0, port_len); port 606 src/dps8/udplib.c if (port) /* port wanted? */ port 611 src/dps8/udplib.c strcpy (port, portp); port 628 src/dps8/uvutil.c if (! access->port) port 644 src/dps8/uvutil.c uv_ip4_addr (access->address, access->port, & addr); port 653 src/dps8/uvutil.c access->address, (long) access->port, uv_strerror(r)); port 658 src/dps8/uvutil.c access->address, (long) access->port); port 661 src/dps8/uvutil.c (long) access->port); port 26 src/dps8/uvutil.h int port; port 1557 src/simh/sim_console.c fprintf (st, "Listening on port %s\n", sim_con_tmxr.port); port 1560 src/simh/sim_console.c sim_con_tmxr.port, sim_con_ldsc.ipad); port 193 src/simh/sim_sock.c int port = 0; port 220 src/simh/sim_sock.c port = strtoul(service, &c, 10); port 221 src/simh/sim_sock.c if ((port == 0) || (*c != '\0')) { port 234 src/simh/sim_sock.c port = se->s_port; port 312 src/simh/sim_sock.c sin->sin_port = (unsigned short)port; port 492 src/simh/sim_sock.c char *port, size_t port_len, const char *default_port, const char *validate_addr) port 502 src/simh/sim_sock.c if ((port != NULL) && (port_len != 0)) port 503 src/simh/sim_sock.c (void)memset (port, 0, port_len); port 507 src/simh/sim_sock.c if ((host == NULL) || (port == NULL)) port 512 src/simh/sim_sock.c strcpy (port, default_port); port 544 src/simh/sim_sock.c if (port) /* port wanted? */ port 549 src/simh/sim_sock.c strcpy (port, portp); port 658 src/simh/sim_sock.c char *port, size_t port_len, char *localport, size_t localport_len, const char *default_port) port 672 src/simh/sim_sock.c return sim_parse_addr (hostp+1, host, hostlen, default_host, port, port_len, default_port, NULL); port 674 src/simh/sim_sock.c return sim_parse_addr (cptr, host, hostlen, default_host, port, port_len, default_port, NULL); port 801 src/simh/sim_sock.c char host[CBUFSIZE], port[CBUFSIZE]; port 806 src/simh/sim_sock.c r = sim_parse_addr (hostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL); port 817 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { port 894 src/simh/sim_sock.c char host[CBUFSIZE], port[CBUFSIZE]; port 898 src/simh/sim_sock.c if (sim_parse_addr (hostport, host, sizeof(host), default_host, port, sizeof(port), default_port, NULL)) port 905 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) port 910 src/simh/sim_sock.c if (sim_parse_addr (sourcehostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL)) { port 920 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &source)) { port 88 src/simh/sim_sock.h char *port, size_t port_len, const char *default_port, const char *validate_addr); port 92 src/simh/sim_sock.h char *port, size_t port_len, char *localport, size_t local_port_len, const char *default_port); port 678 src/simh/sim_tmxr.c if (mp->port) /* copy port */ port 679 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 33 + strlen (mp->port)), "%s%s", port 680 src/simh/sim_tmxr.c mp->port, mp->notelnet ? ";notelnet" : ""); port 730 src/simh/sim_tmxr.c if (lp->destination || lp->port || lp->txlogname) { port 731 src/simh/sim_tmxr.c if ((lp->mp->lines > 1) || (lp->port)) port 743 src/simh/sim_tmxr.c if (lp->port) port 744 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 32 + strlen (lp->port)), ",%s%s", port 745 src/simh/sim_tmxr.c lp->port, ((lp->mp->notelnet != lp->notelnet) && \ port 1164 src/simh/sim_tmxr.c lp->connecting = sim_connect_sock_ex (lp->datagram ? lp->port : NULL, port 1208 src/simh/sim_tmxr.c lp->connecting = sim_connect_sock_ex (lp->datagram ? lp->port : NULL, port 1317 src/simh/sim_tmxr.c (lp->port && lp->destination)) port 1355 src/simh/sim_tmxr.c lp->connecting = sim_connect_sock_ex (lp->datagram ? lp->port : NULL, lp->destination, "localhost", NULL, port 2050 src/simh/sim_tmxr.c FREE (lp->port); port 2051 src/simh/sim_tmxr.c lp->port = NULL; port 2182 src/simh/sim_tmxr.c port[CBUFSIZE], option[CBUFSIZE], speed[CBUFSIZE]; port 2208 src/simh/sim_tmxr.c (void)memset(port, '\0', sizeof(port)); port 2315 src/simh/sim_tmxr.c cptr = get_glyph (gbuf, port, ';'); port 2316 src/simh/sim_tmxr.c if (sim_parse_addr (port, NULL, 0, NULL, NULL, 0, NULL, NULL)) port 2317 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Port Specifier: %s\n", port); port 2331 src/simh/sim_tmxr.c cptr = get_glyph_nc (cptr, port, ';'); port 2332 src/simh/sim_tmxr.c sock = sim_master_sock (port, &r); /* make master socket to validate port */ port 2334 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Port Specifier: %s\n", port); port 2336 src/simh/sim_tmxr.c return sim_messagef (SCPE_OPENERR, "Can't open network port: %s\n", port); port 2339 src/simh/sim_tmxr.c (void)strcpy (listen, port); port 2510 src/simh/sim_tmxr.c if (mp->port) { /* close prior listener */ port 2513 src/simh/sim_tmxr.c FREE (mp->port); port 2514 src/simh/sim_tmxr.c mp->port = NULL; port 2517 src/simh/sim_tmxr.c mp->port = (char *)realloc (mp->port, 1 + strlen (listen)); port 2518 src/simh/sim_tmxr.c if (!mp->port) port 2530 src/simh/sim_tmxr.c (void)strcpy (mp->port, listen); /* save port */ port 2565 src/simh/sim_tmxr.c lp->port = (char *)realloc (lp->port, 1 + strlen (listen)); port 2566 src/simh/sim_tmxr.c if (!lp->port) port 2578 src/simh/sim_tmxr.c (void)strcpy (lp->port, listen); /* save port */ port 2732 src/simh/sim_tmxr.c lp->port = (char *)realloc (lp->port, 1 + strlen (listen)); port 2733 src/simh/sim_tmxr.c if (!lp->port) port 2745 src/simh/sim_tmxr.c (void)strcpy (lp->port, listen); /* save port */ port 2756 src/simh/sim_tmxr.c lp->port = (char *)realloc (lp->port, 1 + strlen (listen)); port 2757 src/simh/sim_tmxr.c if (!lp->port) port 2769 src/simh/sim_tmxr.c (void)strcpy (lp->port, listen); /* save port */ port 3160 src/simh/sim_tmxr.c FREE (lp->port); port 3161 src/simh/sim_tmxr.c lp->port = NULL; port 3176 src/simh/sim_tmxr.c FREE (mp->port); port 3177 src/simh/sim_tmxr.c mp->port = NULL; port 3543 src/simh/sim_tmxr.c fprintf (st, "Datagram Connection from %s to remote port %s\n", lp->port, lp->destination);/* print port name */ port 3561 src/simh/sim_tmxr.c if ((lp->port) && (!lp->datagram)) port 3562 src/simh/sim_tmxr.c fprintf (st, "Listening on port %s\n", lp->port); /* print port name */ port 128 src/simh/sim_tmxr.h char *port; /* line specific listening port */ port 196 src/simh/sim_tmxr.h char *port; /* listening port */