port             1801 src/dps8/dps8_console.c         int port = atoi (cptr);
port             1802 src/dps8/dps8_console.c         if (port < 0 || port > 65535) // 0 is 'disable'
port             1804 src/dps8/dps8_console.c         console_state[dev_idx].console_access.port = port;
port             1805 src/dps8/dps8_console.c         if (port != 0)
port             1806 src/dps8/dps8_console.c           sim_msg ("[OPC emulation: TELNET server port set to %d]\r\n", (int)port);
port             1809 src/dps8/dps8_console.c       console_state[dev_idx].console_access.port = 0;
port             1819 src/dps8/dps8_console.c     if (console_state[dev_idx].console_access.port)
port             1820 src/dps8/dps8_console.c       sim_printf("port     : %d", console_state[dev_idx].console_access.port);
port             1984 src/dps8/dps8_cpu.h     word2 port = (a >> 22) & MASK2;
port             1985 src/dps8/dps8_cpu.h     cpu.portSelect = port;
port             1986 src/dps8/dps8_cpu.h     cpu.portAddr [port] = a;
port             1987 src/dps8/dps8_cpu.h     cpu.portData [port] = d;
port             1879 src/dps8/dps8_fnp2.c         fnpData.fnpUnitData[devnum].MState.line[linenum].port    = (int) pn;
port             2187 src/dps8/dps8_fnp2.c         sim_printf ("\tport:                        %d\n", fudp->MState.line[l].port);
port             2329 src/dps8/dps8_fnp2.c 
port             2330 src/dps8/dps8_fnp2.c 
port             2336 src/dps8/dps8_fnp2.c 
port              156 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             1371 src/dps8/dps8_scu.c             uint port = scu [scu_unit_idx].mask_assignment [pima];
port             1376 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].ports [port].type != ADEV_CPU)
port             1381 src/dps8/dps8_scu.c                 if (scu[scu_unit_idx].ports[port].is_exp)
port             1383 src/dps8/dps8_scu.c                     sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval;
port             1390 src/dps8/dps8_scu.c                 if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use)
port             1395 src/dps8/dps8_scu.c                 uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx;
port             1438 src/dps8/dps8_scu.c             uint port = scu [scu_unit_idx].mask_assignment [pima];
port             1443 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].ports [port].type != ADEV_CPU)
port             1448 src/dps8/dps8_scu.c                 if (scu[scu_unit_idx].ports[port].is_exp)
port             1450 src/dps8/dps8_scu.c                     sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval;
port             1457 src/dps8/dps8_scu.c                 if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use)
port             1462 src/dps8/dps8_scu.c                 uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx;
port             2403 src/dps8/dps8_scu.c             uint port = scu [scu_unit_idx].mask_assignment [pima];
port             2406 src/dps8/dps8_scu.c             if (scu[scu_unit_idx].ports[port].type != ADEV_CPU ||
port             2407 src/dps8/dps8_scu.c                 cpus[current_running_cpu_idx].scu_port[scu_unit_idx] != port)
port             2412 src/dps8/dps8_scu.c                 sim_debug (DBG_TRACE, & scu_dev, "scu_get_highest_intr inum %d pima %u mask 0%011o port %u cells 0%011o\n", inum, pima, mask, port, scu [scu_unit_idx].cells [inum]);
port             1169 src/dps8/dps8_socket_dev.c     uint16_t port = ntohs (from.sin_port);
port             1170 src/dps8/dps8_socket_dev.c     putbits36_16 (& buffer[3], 0, port);
port             1038 src/dps8/fnpuv.c     uint port  = ((((p1 * 10) + p2) * 10 + p3) * 10 + p4) * 10 + p5;
port             1105 src/dps8/fnpuv.c     sim_printf ("calling %s:%d\n", ipaddr,port);
port             1108 src/dps8/fnpuv.c     uv_ip4_addr(ipaddr, (int) port, &dest);
port             1231 src/dps8/fnpuv.c     uv_ip4_addr (fnpData.telnet_address, linep->port, & addr);
port             1237 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             1239 src/dps8/fnpuv.c     sim_printf ("\r[FNP emulation: listening on %s:%ld]\r\n", fnpData.telnet_address, (long) linep->port);
port             1282 src/dps8/fnpuv.c 
port             1284 src/dps8/fnpuv.c 
port              130 src/dps8/udplib.c                     char * port, size_t port_len, const char * default_port,
port              154 src/dps8/udplib.c     char host [64], port [16];
port              182 src/dps8/udplib.c     if (sim_parse_addr (premote, host, sizeof (host), "localhost", port,
port              183 src/dps8/udplib.c                         sizeof (port), NULL, NULL) != -1 /* SCPE_OK */)
port              186 src/dps8/udplib.c     sprintf (udp_links [link] . rport, "%s", port);
port              187 src/dps8/udplib.c     udp_links [link] . rportno = atoi (port);
port              190 src/dps8/udplib.c         strcpy (udp_links [link] . lport, port);
port              191 src/dps8/udplib.c         udp_links [link] . lportno =  atoi (port);
port              193 src/dps8/udplib.c     if ((strcmp (udp_links [link] . lport, port) == 0) &&
port              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)
port              559 src/dps8/udplib.c if ((port != NULL) && (port_len != 0))
port              560 src/dps8/udplib.c     memset (port, 0, port_len);
port              586 src/dps8/udplib.c if (port)                                               /* port wanted? */
port              591 src/dps8/udplib.c             strcpy (port, portp);
port              634 src/dps8/uvutil.c     if (! access->port)
port              650 src/dps8/uvutil.c     uv_ip4_addr (access->address, access->port, & addr);
port              658 src/dps8/uvutil.c         fprintf (stderr, "\r[OPC emulation: listen error: %s:%ld: %s]\r\n", access->address, (long) access->port, uv_strerror (r));
port              662 src/dps8/uvutil.c       sim_printf ("\r[OPC emulation: TELNET server listening on %s:%ld]\r\n", access->address, (long) access->port);
port              664 src/dps8/uvutil.c       sim_printf ("\r[OPC emulation: TELNET server listening on 0.0.0.0:%ld]\r\n", (long) access->port);
port               29 src/dps8/uvutil.h     int port;
port             1554 src/simh/sim_console.c             fprintf (st, "Listening on port %s\n", sim_con_tmxr.port);
port             1557 src/simh/sim_console.c                 sim_con_tmxr.port, sim_con_ldsc.ipad);
port              191 src/simh/sim_sock.c int port = 0;
port              218 src/simh/sim_sock.c     port = strtoul(service, &c, 10);
port              219 src/simh/sim_sock.c     if ((port == 0) || (*c != '\0')) {
port              232 src/simh/sim_sock.c         port = se->s_port;
port              310 src/simh/sim_sock.c     sin->sin_port = (unsigned short)port;
port              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)
port              498 src/simh/sim_sock.c if ((port != NULL) && (port_len != 0))
port              499 src/simh/sim_sock.c     memset (port, 0, port_len);
port              503 src/simh/sim_sock.c     if ((host == NULL) || (port == NULL))
port              508 src/simh/sim_sock.c     strcpy (port, default_port);
port              540 src/simh/sim_sock.c if (port)                                               /* port wanted? */
port              545 src/simh/sim_sock.c             strcpy (port, portp);
port              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)
port              666 src/simh/sim_sock.c     return sim_parse_addr (hostp+1, host, hostlen, default_host, port, port_len, default_port, NULL);
port              668 src/simh/sim_sock.c return sim_parse_addr (cptr, host, hostlen, default_host, port, port_len, default_port, NULL);
port              795 src/simh/sim_sock.c char host[CBUFSIZE], port[CBUFSIZE];
port              800 src/simh/sim_sock.c r = sim_parse_addr (hostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL);
port              811 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) {
port              886 src/simh/sim_sock.c char host[CBUFSIZE], port[CBUFSIZE];
port              890 src/simh/sim_sock.c if (sim_parse_addr (hostport, host, sizeof(host), default_host, port, sizeof(port), default_port, NULL))
port              897 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result))
port              903 src/simh/sim_sock.c     if (sim_parse_addr (sourcehostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL)) {
port              913 src/simh/sim_sock.c     if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &source)) {
port               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);
port               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);
port              687 src/simh/sim_tmxr.c if (mp->port)                                           /* copy port */
port              688 src/simh/sim_tmxr.c     sprintf (growstring(&tptr, 33 + strlen (mp->port)), "%s%s", mp->port, mp->notelnet ? ";notelnet" : "");
port              736 src/simh/sim_tmxr.c if (lp->destination || lp->port || lp->txlogname) {
port              737 src/simh/sim_tmxr.c     if ((lp->mp->lines > 1) || (lp->port))
port              749 src/simh/sim_tmxr.c     if (lp->port)
port              750 src/simh/sim_tmxr.c         sprintf (growstring(&tptr, 32 + strlen (lp->port)), ",%s%s", lp->port, ((lp->mp->notelnet != lp->notelnet) && (!lp->datagram)) ? (lp->notelnet ? ";notelnet" : ";telnet") : "");
port             1175 src/simh/sim_tmxr.c         lp->connecting = sim_connect_sock_ex (lp->datagram ? lp->port : NULL, lp->destination, "localhost", NULL, (lp->datagram ? SIM_SOCK_OPT_DATAGRAM : 0)  |
port             1217 src/simh/sim_tmxr.c         lp->connecting = sim_connect_sock_ex (lp->datagram ? lp->port : NULL, lp->destination, "localhost", NULL, (lp->datagram ? SIM_SOCK_OPT_DATAGRAM : 0) |
port             1324 src/simh/sim_tmxr.c         (lp->port && lp->destination))
port             1360 src/simh/sim_tmxr.c                 lp->connecting = sim_connect_sock_ex (lp->datagram ? lp->port : NULL, lp->destination, "localhost", NULL, (lp->datagram ? SIM_SOCK_OPT_DATAGRAM : 0) |
port             2054 src/simh/sim_tmxr.c     FREE (lp->port);
port             2055 src/simh/sim_tmxr.c     lp->port = NULL;
port             2186 src/simh/sim_tmxr.c      port[CBUFSIZE], option[CBUFSIZE], speed[CBUFSIZE];
port             2212 src/simh/sim_tmxr.c     memset(port,        '\0', sizeof(port));
port             2319 src/simh/sim_tmxr.c             cptr = get_glyph (gbuf, port, ';');
port             2320 src/simh/sim_tmxr.c             if (sim_parse_addr (port, NULL, 0, NULL, NULL, 0, NULL, NULL))
port             2321 src/simh/sim_tmxr.c                 return sim_messagef (SCPE_ARG, "Invalid Port Specifier: %s\n", port);
port             2335 src/simh/sim_tmxr.c         cptr = get_glyph_nc (cptr, port, ';');
port             2336 src/simh/sim_tmxr.c         sock = sim_master_sock (port, &r);                      /* make master socket to validate port */
port             2338 src/simh/sim_tmxr.c             return sim_messagef (SCPE_ARG, "Invalid Port Specifier: %s\n", port);
port             2340 src/simh/sim_tmxr.c             return sim_messagef (SCPE_OPENERR, "Can't open network port: %s\n", port);
port             2343 src/simh/sim_tmxr.c         (void)strcpy (listen, port);
port             2514 src/simh/sim_tmxr.c             if (mp->port) {                                 /* close prior listener */
port             2517 src/simh/sim_tmxr.c                 FREE (mp->port);
port             2518 src/simh/sim_tmxr.c                 mp->port = NULL;
port             2521 src/simh/sim_tmxr.c             mp->port = (char *)realloc (mp->port, 1 + strlen (listen));
port             2522 src/simh/sim_tmxr.c             if (!mp->port)
port             2534 src/simh/sim_tmxr.c             (void)strcpy (mp->port, listen);                /* save port */
port             2569 src/simh/sim_tmxr.c                         lp->port = (char *)realloc (lp->port, 1 + strlen (listen));
port             2570 src/simh/sim_tmxr.c                         if (!lp->port)
port             2582 src/simh/sim_tmxr.c                         (void)strcpy (lp->port, listen);           /* save port */
port             2733 src/simh/sim_tmxr.c             lp->port = (char *)realloc (lp->port, 1 + strlen (listen));
port             2734 src/simh/sim_tmxr.c             if (!lp->port)
port             2746 src/simh/sim_tmxr.c             (void)strcpy (lp->port, listen);                /* save port */
port             2757 src/simh/sim_tmxr.c                         lp->port = (char *)realloc (lp->port, 1 + strlen (listen));
port             2758 src/simh/sim_tmxr.c                         if (!lp->port)
port             2770 src/simh/sim_tmxr.c                         (void)strcpy (lp->port, listen);          /* save port */
port             3157 src/simh/sim_tmxr.c         FREE (lp->port);
port             3158 src/simh/sim_tmxr.c         lp->port = NULL;
port             3173 src/simh/sim_tmxr.c FREE (mp->port);
port             3174 src/simh/sim_tmxr.c mp->port = NULL;
port             3540 src/simh/sim_tmxr.c             fprintf (st, "Datagram Connection from %s to remote port %s\n", lp->port, lp->destination);/* print port name */
port             3558 src/simh/sim_tmxr.c if ((lp->port) && (!lp->datagram))
port             3559 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 */