mp               1218 src/dps8/dps8_utils.c     char * sp, * mp, * reset_string, * reset_mask, * sn;
mp               1222 src/dps8/dps8_utils.c     mp = mask;
mp               1226 src/dps8/dps8_utils.c         switch (* mp)
mp               1233 src/dps8/dps8_utils.c               mp ++;
mp               1237 src/dps8/dps8_utils.c               if (* mp == * sp)
mp               1240 src/dps8/dps8_utils.c                   mp ++;
mp               1249 src/dps8/dps8_utils.c               if (* (mp + 1) == '\0')
mp               1253 src/dps8/dps8_utils.c               if ((sn = strchr (sp, * (mp + 1))) == NULL)
mp               1260 src/dps8/dps8_utils.c               reset_mask = mp;
mp               1263 src/dps8/dps8_utils.c               mp = mp + 2;
mp               1268 src/dps8/dps8_utils.c                   switch (* mp)
mp               1278 src/dps8/dps8_utils.c                         mp ++;
mp               1281 src/dps8/dps8_utils.c                         if (* mp == * sp)
mp               1284 src/dps8/dps8_utils.c                             mp ++;
mp               1298 src/dps8/dps8_utils.c                   mp = reset_mask;
mp               1907 src/simh/sim_console.c sim_con_tmxr.ldsc->mp = &sim_con_tmxr;
mp                250 src/simh/sim_tmxr.c if ((!lp->mp->buffered) && (!lp->txbfd)) {
mp                338 src/simh/sim_tmxr.c static void tmxr_report_connection (TMXR *mp, TMLN *lp)
mp                349 src/simh/sim_tmxr.c     if (mp->dptr) {                                     /* device defined? */
mp                351 src/simh/sim_tmxr.c                        sim_dname (mp->dptr));
mp                353 src/simh/sim_tmxr.c         if (mp->lines > 1)                              /* more than one line? */
mp                354 src/simh/sim_tmxr.c             (void)sprintf (lmsg, ", line %d", (int)(lp-mp->ldsc));/* report the line number */
mp                360 src/simh/sim_tmxr.c if (!mp->buffered) {
mp                564 src/simh/sim_tmxr.c static TMLN *tmxr_find_ldsc (UNIT *uptr, int32 val, const TMXR *mp)
mp                566 src/simh/sim_tmxr.c if (mp == NULL)                                         /* invalid multiplexer descriptor? */
mp                574 src/simh/sim_tmxr.c if ((val < 0) || (val >= mp->lines))                    /* invalid line? */
mp                576 src/simh/sim_tmxr.c return mp->ldsc + val;                                  /* line descriptor */
mp                595 src/simh/sim_tmxr.c static TMLN *tmxr_get_ldsc (UNIT *uptr, const char *cptr, TMXR *mp, t_stat *status)
mp                601 src/simh/sim_tmxr.c if (mp == NULL)                                         /* missing mux descriptor? */
mp                605 src/simh/sim_tmxr.c     lp = tmxr_find_ldsc (uptr, mp->lines, mp);          /* determine line from unit */
mp                615 src/simh/sim_tmxr.c     ln = get_uint (cptr, 10, mp->lines - 1, &code);     /* get line number */
mp                618 src/simh/sim_tmxr.c         lp = mp->ldsc + (int32) ln;                     /* use as index to determine line */
mp                667 src/simh/sim_tmxr.c static char *tmxr_mux_attach_string(char *old, TMXR *mp)
mp                678 src/simh/sim_tmxr.c if (mp->port)                                           /* copy port */
mp                679 src/simh/sim_tmxr.c     (void)sprintf (growstring(&tptr, 33 + strlen (mp->port)), "%s%s",
mp                680 src/simh/sim_tmxr.c                    mp->port, mp->notelnet ? ";notelnet" : "");
mp                681 src/simh/sim_tmxr.c if (mp->logfiletmpl[0])                                 /* logfile info */
mp                682 src/simh/sim_tmxr.c     (void)sprintf (growstring(&tptr, 7 + strlen (mp->logfiletmpl)), ",Log=%s",
mp                683 src/simh/sim_tmxr.c                    mp->logfiletmpl);
mp                686 src/simh/sim_tmxr.c for (i=0; i<mp->lines; ++i) {
mp                688 src/simh/sim_tmxr.c     lp = mp->ldsc + i;
mp                697 src/simh/sim_tmxr.c if (mp->lines == 1)
mp                731 src/simh/sim_tmxr.c     if ((lp->mp->lines > 1) || (lp->port))
mp                732 src/simh/sim_tmxr.c         (void)sprintf (growstring(&tptr, 32), "Line=%d", (int)(lp-lp->mp->ldsc));
mp                733 src/simh/sim_tmxr.c     if (lp->modem_control != lp->mp->modem_control)
mp                735 src/simh/sim_tmxr.c     if (lp->txbfd && (lp->txbsz != lp->mp->buffered))
mp                737 src/simh/sim_tmxr.c     if (!lp->txbfd && (lp->mp->buffered > 0))
mp                739 src/simh/sim_tmxr.c     if (lp->mp->datagram != lp->datagram)
mp                741 src/simh/sim_tmxr.c     if (lp->mp->packet != lp->packet)
mp                745 src/simh/sim_tmxr.c                        lp->port, ((lp->mp->notelnet != lp->notelnet) && \
mp                750 src/simh/sim_tmxr.c                            ((lp->mp->notelnet != lp->notelnet) && \
mp                798 src/simh/sim_tmxr.c int32 tmxr_poll_conn (TMXR *mp)
mp                812 src/simh/sim_tmxr.c if (mp->last_poll_time == 0) {                          /* first poll initializations */
mp                813 src/simh/sim_tmxr.c     UNIT *uptr = mp->uptr;
mp                818 src/simh/sim_tmxr.c     if (mp->poll_interval == 0)                         /* Assure reasonable polling interval */
mp                819 src/simh/sim_tmxr.c         mp->poll_interval = TMXR_DEFAULT_CONNECT_POLL_INTERVAL;
mp                825 src/simh/sim_tmxr.c     for (i=0; i < mp->lines; i++) {
mp                826 src/simh/sim_tmxr.c         uptr = mp->ldsc[i].uptr ? mp->ldsc[i].uptr : mp->uptr;
mp                828 src/simh/sim_tmxr.c         if (!(mp->uptr->dynflags & TMUF_NOASYNCH)) {    /* if asynch not disabled */
mp                835 src/simh/sim_tmxr.c if ((poll_time - mp->last_poll_time) < mp->poll_interval*1000)
mp                899 src/simh/sim_tmxr.c mp->last_poll_time = poll_time;
mp                903 src/simh/sim_tmxr.c if (mp->master) {
mp                904 src/simh/sim_tmxr.c     if (mp->ring_sock != INVALID_SOCKET) {  /* Use currently 'ringing' socket if one is active */
mp                905 src/simh/sim_tmxr.c         newsock       = mp->ring_sock;
mp                906 src/simh/sim_tmxr.c         mp->ring_sock = INVALID_SOCKET;
mp                907 src/simh/sim_tmxr.c         address       = mp->ring_ipad;
mp                908 src/simh/sim_tmxr.c         mp->ring_ipad = NULL;
mp                911 src/simh/sim_tmxr.c         newsock = sim_accept_conn_ex (mp->master, &address, (mp->packet ? SIM_SOCK_OPT_NODELAY : 0));/* poll connect */
mp                915 src/simh/sim_tmxr.c         op = mp->lnorder;                               /* get line connection order list pointer */
mp                916 src/simh/sim_tmxr.c         i = mp->lines;                                  /* play it safe in case lines == 0 */
mp                917 src/simh/sim_tmxr.c         ++mp->sessions;                                 /* count the new session */
mp                919 src/simh/sim_tmxr.c         for (j = 0; j < mp->lines; j++, i++) {          /* find next avail line */
mp                920 src/simh/sim_tmxr.c             if (op && (*op >= 0) && (*op < mp->lines))  /* order list present and valid? */
mp                925 src/simh/sim_tmxr.c             lp = mp->ldsc + i;                          /* get pointer to line descriptor */
mp                934 src/simh/sim_tmxr.c         if (i >= mp->lines) {                           /* all busy? */
mp                937 src/simh/sim_tmxr.c             for (j = 0; j < mp->lines; j++, i++) {      /* find next avail line */
mp                938 src/simh/sim_tmxr.c                 lp = mp->ldsc + j;                      /* get pointer to line descriptor */
mp                949 src/simh/sim_tmxr.c                 if (mp->ring_start_time == 0) {
mp                950 src/simh/sim_tmxr.c                     mp->ring_start_time = poll_time;
mp                951 src/simh/sim_tmxr.c                     mp->ring_sock = newsock;
mp                952 src/simh/sim_tmxr.c                     mp->ring_ipad = address;
mp                955 src/simh/sim_tmxr.c                     if ((poll_time - mp->ring_start_time) < TMXR_MODEM_RING_TIME*1000) {
mp                956 src/simh/sim_tmxr.c                         mp->ring_sock = newsock;
mp                957 src/simh/sim_tmxr.c                         mp->ring_ipad = address;
mp                963 src/simh/sim_tmxr.c                         for (ln = 0; ln < lp->mp->lines; ln++) {
mp                964 src/simh/sim_tmxr.c                             TMLN *tlp = lp->mp->ldsc + ln;
mp                969 src/simh/sim_tmxr.c                         mp->ring_start_time = 0;
mp                983 src/simh/sim_tmxr.c             lp = mp->ldsc + i;                          /* get line desc */
mp                988 src/simh/sim_tmxr.c             lp->notelnet = mp->notelnet;                /* apply mux default telnet setting */
mp               1006 src/simh/sim_tmxr.c             tmxr_report_connection (mp, lp);
mp               1014 src/simh/sim_tmxr.c for (i = 0; i < mp->lines; i++) {                       /* check each line in sequence */
mp               1016 src/simh/sim_tmxr.c     lp = mp->ldsc + i;                                  /* get pointer to line descriptor */
mp               1096 src/simh/sim_tmxr.c                         ++mp->sessions;                             /* count the new session */
mp               1139 src/simh/sim_tmxr.c                                 tmxr_report_connection (mp, lp);
mp               1167 src/simh/sim_tmxr.c                                                         (lp->mp->packet ? SIM_SOCK_OPT_NODELAY  : 0) |
mp               1276 src/simh/sim_tmxr.c             (lp->mp && (lp->mp->ring_sock))) {
mp               1280 src/simh/sim_tmxr.c             lp->sock = lp->mp->ring_sock;               /* save socket */
mp               1281 src/simh/sim_tmxr.c             lp->mp->ring_sock = INVALID_SOCKET;
mp               1282 src/simh/sim_tmxr.c             lp->ipad = lp->mp->ring_ipad;               /* ip address */
mp               1283 src/simh/sim_tmxr.c             lp->mp->ring_ipad = NULL;
mp               1284 src/simh/sim_tmxr.c             lp->mp->ring_start_time = 0;
mp               1286 src/simh/sim_tmxr.c             lp->notelnet = lp->mp->notelnet;            /* apply mux default telnet setting */
mp               1304 src/simh/sim_tmxr.c             tmxr_report_connection (lp->mp, lp);
mp               1308 src/simh/sim_tmxr.c             for (ln = 0; ln < lp->mp->lines; ln++) {
mp               1309 src/simh/sim_tmxr.c                 TMLN *tlp = lp->mp->ldsc + ln;
mp               1316 src/simh/sim_tmxr.c     if ((lp->master) || (lp->mp && lp->mp->master) ||
mp               1323 src/simh/sim_tmxr.c dptr = (lp->dptr ? lp->dptr : (lp->mp ? lp->mp->dptr : NULL));
mp               1331 src/simh/sim_tmxr.c if (lp->mp && lp->modem_control) {                  /* This API ONLY works on modem_control enabled multiplexer lines */
mp               1581 src/simh/sim_tmxr.c void tmxr_poll_rx (TMXR *mp)
mp               1586 src/simh/sim_tmxr.c for (i = 0; i < mp->lines; i++) {                       /* loop thru lines */
mp               1587 src/simh/sim_tmxr.c     lp = mp->ldsc + i;                                  /* get line desc */
mp               1807 src/simh/sim_tmxr.c for (i = 0; i < mp->lines; i++) {                       /* loop thru lines */
mp               1808 src/simh/sim_tmxr.c     lp = mp->ldsc + i;                                  /* get line desc */
mp               1952 src/simh/sim_tmxr.c void tmxr_poll_tx (TMXR *mp)
mp               1957 src/simh/sim_tmxr.c for (i = 0; i < mp->lines; i++) {                       /* loop thru lines */
mp               1958 src/simh/sim_tmxr.c     lp = mp->ldsc + i;                                  /* get line desc */
mp               2074 src/simh/sim_tmxr.c if (lp->mp) {
mp               2078 src/simh/sim_tmxr.c         uptr = lp->mp->uptr;
mp               2082 src/simh/sim_tmxr.c     uptr->filename = tmxr_mux_attach_string (uptr->filename, lp->mp);
mp               2085 src/simh/sim_tmxr.c         tmxr_detach (lp->mp, uptr);
mp               2158 src/simh/sim_tmxr.c if ((!uptr) && (lp->mp))
mp               2159 src/simh/sim_tmxr.c     uptr = lp->mp->uptr;
mp               2177 src/simh/sim_tmxr.c t_stat tmxr_open_master (TMXR *mp, CONST char *cptr)
mp               2191 src/simh/sim_tmxr.c for (i = 0; i < mp->lines; i++) {               /* initialize lines */
mp               2192 src/simh/sim_tmxr.c     lp = mp->ldsc + i;
mp               2193 src/simh/sim_tmxr.c     lp->mp = mp;                                /* set the back pointer */
mp               2194 src/simh/sim_tmxr.c     lp->modem_control = mp->modem_control;
mp               2198 src/simh/sim_tmxr.c mp->ring_sock = INVALID_SOCKET;
mp               2199 src/simh/sim_tmxr.c FREE (mp->ring_ipad);
mp               2200 src/simh/sim_tmxr.c mp->ring_ipad = NULL;
mp               2201 src/simh/sim_tmxr.c mp->ring_start_time = 0;
mp               2212 src/simh/sim_tmxr.c     datagram = mp->datagram;
mp               2213 src/simh/sim_tmxr.c     packet = mp->packet;
mp               2214 src/simh/sim_tmxr.c     if (mp->buffered)
mp               2215 src/simh/sim_tmxr.c         (void)sprintf(buffered, "%d", mp->buffered);
mp               2217 src/simh/sim_tmxr.c         notelnet = listennotelnet = mp->notelnet;
mp               2218 src/simh/sim_tmxr.c     modem_control = mp->modem_control;
mp               2232 src/simh/sim_tmxr.c                 nextline = (int32) get_uint (cptr, 10, mp->lines-1, &r);
mp               2384 src/simh/sim_tmxr.c         if (modem_control != mp->modem_control)
mp               2397 src/simh/sim_tmxr.c             strncpy(mp->logfiletmpl, logfiletmpl, sizeof(mp->logfiletmpl)-1);
mp               2407 src/simh/sim_tmxr.c             for (i = 0; i < mp->lines; i++) {
mp               2408 src/simh/sim_tmxr.c                 lp = mp->ldsc + i;
mp               2424 src/simh/sim_tmxr.c                 if (mp->lines > 1)
mp               2425 src/simh/sim_tmxr.c                     (void)sprintf(lp->txlogname, "%s_%d", mp->logfiletmpl, i);
mp               2427 src/simh/sim_tmxr.c                     (void)strcpy (lp->txlogname, mp->logfiletmpl);
mp               2438 src/simh/sim_tmxr.c         mp->buffered = atoi(buffered);
mp               2439 src/simh/sim_tmxr.c         for (i = 0; i < mp->lines; i++) { /* initialize line buffers */
mp               2440 src/simh/sim_tmxr.c             lp = mp->ldsc + i;
mp               2441 src/simh/sim_tmxr.c             if (mp->buffered) {
mp               2442 src/simh/sim_tmxr.c                 lp->txbsz = mp->buffered;
mp               2444 src/simh/sim_tmxr.c                 lp->rxbsz = mp->buffered;
mp               2493 src/simh/sim_tmxr.c             mp->logfiletmpl[0] = '\0';
mp               2494 src/simh/sim_tmxr.c             for (i = 0; i < mp->lines; i++) { /* close line logs */
mp               2495 src/simh/sim_tmxr.c                 lp = mp->ldsc + i;
mp               2510 src/simh/sim_tmxr.c             if (mp->port) {                                 /* close prior listener */
mp               2511 src/simh/sim_tmxr.c                 sim_close_sock (mp->master);
mp               2512 src/simh/sim_tmxr.c                 mp->master = 0;
mp               2513 src/simh/sim_tmxr.c                 FREE (mp->port);
mp               2514 src/simh/sim_tmxr.c                 mp->port = NULL;
mp               2517 src/simh/sim_tmxr.c             mp->port = (char *)realloc (mp->port, 1 + strlen (listen));
mp               2518 src/simh/sim_tmxr.c             if (!mp->port)
mp               2530 src/simh/sim_tmxr.c             (void)strcpy (mp->port, listen);                /* save port */
mp               2531 src/simh/sim_tmxr.c             mp->master = sock;                              /* save master socket */
mp               2532 src/simh/sim_tmxr.c             mp->ring_sock = INVALID_SOCKET;
mp               2533 src/simh/sim_tmxr.c             if (mp->ring_ipad) FREE (mp->ring_ipad);
mp               2534 src/simh/sim_tmxr.c             mp->ring_ipad = NULL;
mp               2535 src/simh/sim_tmxr.c             mp->ring_start_time = 0;
mp               2536 src/simh/sim_tmxr.c             mp->notelnet = listennotelnet;                  /* save desired telnet behavior flag */
mp               2537 src/simh/sim_tmxr.c             for (i = 0; i < mp->lines; i++) {               /* initialize lines */
mp               2538 src/simh/sim_tmxr.c                 lp = mp->ldsc + i;
mp               2539 src/simh/sim_tmxr.c                 lp->mp = mp;                                /* set the back pointer */
mp               2540 src/simh/sim_tmxr.c                 lp->packet = mp->packet;
mp               2548 src/simh/sim_tmxr.c             if (mp->lines > 1)
mp               2551 src/simh/sim_tmxr.c             for (i = 0; i < mp->lines; i++) { //-V1008
mp               2552 src/simh/sim_tmxr.c                 lp = mp->ldsc + i;
mp               2559 src/simh/sim_tmxr.c             if (mp->lines > 1)
mp               2561 src/simh/sim_tmxr.c             lp = &mp->ldsc[0];
mp               2604 src/simh/sim_tmxr.c                     lp->mp = mp;
mp               2637 src/simh/sim_tmxr.c         lp = &mp->ldsc[line];
mp               2638 src/simh/sim_tmxr.c         lp->mp = mp;
mp               2723 src/simh/sim_tmxr.c             if ((mp->lines == 1) && (mp->master))
mp               2747 src/simh/sim_tmxr.c             if (listennotelnet != mp->notelnet)
mp               2750 src/simh/sim_tmxr.c                 lp->notelnet = mp->notelnet;
mp               2833 src/simh/sim_tmxr.c     tmxr_add_to_open_list (mp);
mp               2856 src/simh/sim_tmxr.c t_stat tmxr_set_line_unit (TMXR *mp, int line, UNIT *uptr_poll)
mp               2858 src/simh/sim_tmxr.c if ((line < 0) || (line >= mp->lines))
mp               2860 src/simh/sim_tmxr.c mp->ldsc[line].uptr = uptr_poll;
mp               2883 src/simh/sim_tmxr.c t_stat tmxr_set_line_output_unit (TMXR *mp, int line, UNIT *uptr_poll)
mp               2885 src/simh/sim_tmxr.c if ((line < 0) || (line >= mp->lines))
mp               2887 src/simh/sim_tmxr.c mp->ldsc[line].o_uptr = uptr_poll;
mp               2995 src/simh/sim_tmxr.c t_stat tmxr_attach_ex (TMXR *mp, UNIT *uptr, CONST char *cptr, t_bool async)
mp               3000 src/simh/sim_tmxr.c r = tmxr_open_master (mp, cptr);                        /* open master socket */
mp               3003 src/simh/sim_tmxr.c mp->uptr = uptr;                                        /* save unit for polling */
mp               3004 src/simh/sim_tmxr.c uptr->filename = tmxr_mux_attach_string (uptr->filename, mp);/* save */
mp               3006 src/simh/sim_tmxr.c uptr->tmxr = (void *)mp;
mp               3007 src/simh/sim_tmxr.c if ((mp->lines > 1) ||
mp               3008 src/simh/sim_tmxr.c     ((mp->master == 0) &&
mp               3009 src/simh/sim_tmxr.c      (mp->ldsc[0].connecting == 0)
mp               3015 src/simh/sim_tmxr.c if (mp->dptr == NULL)                                   /* has device been set? */
mp               3016 src/simh/sim_tmxr.c     mp->dptr = find_dev_from_unit (uptr);               /* no, so set device now */
mp               3018 src/simh/sim_tmxr.c if (mp->dptr) {
mp               3019 src/simh/sim_tmxr.c     for (i=0; i<mp->lines; i++) {
mp               3020 src/simh/sim_tmxr.c         mp->ldsc[i].expect.dptr = mp->dptr;
mp               3021 src/simh/sim_tmxr.c         mp->ldsc[i].expect.dbit = TMXR_DBG_EXP;
mp               3022 src/simh/sim_tmxr.c         mp->ldsc[i].send.dptr   = mp->dptr;
mp               3023 src/simh/sim_tmxr.c         mp->ldsc[i].send.dbit   = TMXR_DBG_SEND;
mp               3026 src/simh/sim_tmxr.c tmxr_add_to_open_list (mp);
mp               3050 src/simh/sim_tmxr.c         TMXR *mp = tmxr_open_devices[i];
mp               3054 src/simh/sim_tmxr.c         fprintf(st, "Multiplexer device: %s", (mp->dptr ? sim_dname (mp->dptr) : ""));
mp               3055 src/simh/sim_tmxr.c         if (mp->lines > 1) {
mp               3057 src/simh/sim_tmxr.c             tmxr_show_lines(st, NULL, 0, mp);
mp               3059 src/simh/sim_tmxr.c         if (mp->packet)
mp               3061 src/simh/sim_tmxr.c         if (mp->datagram)
mp               3063 src/simh/sim_tmxr.c         if (mp->notelnet)
mp               3065 src/simh/sim_tmxr.c         if (mp->modem_control)
mp               3067 src/simh/sim_tmxr.c         if (mp->buffered)
mp               3068 src/simh/sim_tmxr.c             fprintf(st, ", Buffered=%d", mp->buffered);
mp               3069 src/simh/sim_tmxr.c         attach = tmxr_mux_attach_string (NULL, mp);
mp               3073 src/simh/sim_tmxr.c         tmxr_show_summ(st, NULL, 0, mp);
mp               3074 src/simh/sim_tmxr.c         fprintf(st, ", sessions=%d", mp->sessions);
mp               3075 src/simh/sim_tmxr.c         if (mp->lines == 1) {
mp               3076 src/simh/sim_tmxr.c             if (mp->ldsc->rxbps) {
mp               3077 src/simh/sim_tmxr.c                 fprintf(st, ", Speed=%lu", (unsigned long)mp->ldsc->rxbps);
mp               3078 src/simh/sim_tmxr.c                 if (mp->ldsc->rxbpsfactor != TMXR_RX_BPS_UNIT_SCALE)
mp               3079 src/simh/sim_tmxr.c                     fprintf(st, "*%.0f", mp->ldsc->rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE);
mp               3084 src/simh/sim_tmxr.c         if (mp->ring_start_time) {
mp               3086 src/simh/sim_tmxr.c                      mp->ring_ipad, (unsigned long)sim_os_msec () - (unsigned long)mp->ring_start_time);
mp               3088 src/simh/sim_tmxr.c         for (j = 0; j < mp->lines; j++) {
mp               3089 src/simh/sim_tmxr.c             lp = mp->ldsc + j;
mp               3090 src/simh/sim_tmxr.c             if (mp->lines > 1) {
mp               3091 src/simh/sim_tmxr.c                 if (lp->dptr && (mp->dptr != lp->dptr))
mp               3094 src/simh/sim_tmxr.c                 if (mp->notelnet != lp->notelnet)
mp               3096 src/simh/sim_tmxr.c                 if (lp->uptr && (lp->uptr != lp->mp->uptr))
mp               3098 src/simh/sim_tmxr.c                 if (mp->modem_control != lp->modem_control)
mp               3131 src/simh/sim_tmxr.c t_stat tmxr_close_master (TMXR *mp)
mp               3136 src/simh/sim_tmxr.c for (i = 0; i < mp->lines; i++) {  /* loop thru conn */
mp               3137 src/simh/sim_tmxr.c     lp = mp->ldsc + i;
mp               3173 src/simh/sim_tmxr.c if (mp->master)
mp               3174 src/simh/sim_tmxr.c     sim_close_sock (mp->master);                        /* close master socket */
mp               3175 src/simh/sim_tmxr.c mp->master = 0;
mp               3176 src/simh/sim_tmxr.c FREE (mp->port);
mp               3177 src/simh/sim_tmxr.c mp->port = NULL;
mp               3178 src/simh/sim_tmxr.c if (mp->ring_sock != INVALID_SOCKET) {
mp               3179 src/simh/sim_tmxr.c     sim_close_sock (mp->ring_sock);
mp               3180 src/simh/sim_tmxr.c     mp->ring_sock = INVALID_SOCKET;
mp               3181 src/simh/sim_tmxr.c     FREE (mp->ring_ipad);
mp               3182 src/simh/sim_tmxr.c     mp->ring_ipad = NULL;
mp               3183 src/simh/sim_tmxr.c     mp->ring_start_time = 0;
mp               3185 src/simh/sim_tmxr.c _tmxr_remove_from_open_list (mp);
mp               3194 src/simh/sim_tmxr.c t_stat tmxr_detach (TMXR *mp, UNIT *uptr)
mp               3200 src/simh/sim_tmxr.c tmxr_close_master (mp);                                 /* close master socket */
mp               3204 src/simh/sim_tmxr.c mp->last_poll_time = 0;
mp               3205 src/simh/sim_tmxr.c for (i=0; i < mp->lines; i++) {
mp               3206 src/simh/sim_tmxr.c     UNIT *uptr = mp->ldsc[i].uptr ? mp->ldsc[i].uptr : mp->uptr;
mp               3207 src/simh/sim_tmxr.c     UNIT *o_uptr = mp->ldsc[i].o_uptr ? mp->ldsc[i].o_uptr : mp->uptr;
mp               3663 src/simh/sim_tmxr.c TMXR *mp = (TMXR *) desc;
mp               3670 src/simh/sim_tmxr.c lp = tmxr_get_ldsc (uptr, cptr, mp, &status);                   /* get referenced line */
mp               3689 src/simh/sim_tmxr.c TMXR *mp = (TMXR *) desc;
mp               3695 src/simh/sim_tmxr.c lp = tmxr_find_ldsc (uptr, val, mp);                    /* find line desc */
mp               3713 src/simh/sim_tmxr.c if (mp->uptr)                                           /* attached?, then update attach string */
mp               3714 src/simh/sim_tmxr.c     lp->mp->uptr->filename = tmxr_mux_attach_string (lp->mp->uptr->filename, lp->mp);
mp               3722 src/simh/sim_tmxr.c TMXR *mp = (TMXR *) desc;
mp               3727 src/simh/sim_tmxr.c lp = tmxr_find_ldsc (uptr, val, mp);                    /* find line desc */
mp               3736 src/simh/sim_tmxr.c if (mp->uptr)
mp               3737 src/simh/sim_tmxr.c     lp->mp->uptr->filename = tmxr_mux_attach_string (lp->mp->uptr->filename, lp->mp);
mp               3745 src/simh/sim_tmxr.c const TMXR *mp = (const TMXR *) desc;
mp               3748 src/simh/sim_tmxr.c lp = tmxr_find_ldsc (uptr, val, mp);                    /* find line desc */
mp               3787 src/simh/sim_tmxr.c TMXR *mp = (TMXR *) desc;
mp               3791 src/simh/sim_tmxr.c t_addr low, high, max = (t_addr) mp->lines - 1;
mp               3797 src/simh/sim_tmxr.c if (mp->lnorder == NULL)                                /* line connection order undefined? */
mp               3803 src/simh/sim_tmxr.c list = (int32 *) calloc (mp->lines, sizeof (int32));    /* allocate new line order array */
mp               3807 src/simh/sim_tmxr.c set = (t_bool *) calloc (mp->lines, sizeof (t_bool));   /* allocate line set tracking array */
mp               3861 src/simh/sim_tmxr.c     memcpy (mp->lnorder, list, mp->lines * sizeof (int32)); /* copy working array to connection array */
mp               3889 src/simh/sim_tmxr.c const TMXR *mp = (const TMXR *) desc;
mp               3890 src/simh/sim_tmxr.c int32 *iptr = mp->lnorder;
mp               3897 src/simh/sim_tmxr.c     fprintf (st, "Order=0-%d\n", mp->lines - 1);        /* print full line range */
mp               3902 src/simh/sim_tmxr.c     for (j = 1; j <= mp->lines; j++) {                  /* print remaining lines in order list */
mp               3903 src/simh/sim_tmxr.c         if (j < mp->lines)                              /* more lines to process? */
mp               3940 src/simh/sim_tmxr.c const TMXR *mp = (const TMXR *) desc;
mp               3943 src/simh/sim_tmxr.c if (mp == NULL)
mp               3945 src/simh/sim_tmxr.c for (i = t = 0; i < mp->lines; i++)
mp               3946 src/simh/sim_tmxr.c     if ((mp->ldsc[i].sock != 0)
mp               3949 src/simh/sim_tmxr.c if (mp->lines > 1)
mp               3960 src/simh/sim_tmxr.c const TMXR *mp = (const TMXR *) desc;
mp               3963 src/simh/sim_tmxr.c if (mp == NULL)
mp               3965 src/simh/sim_tmxr.c for (i = any = 0; i < mp->lines; i++) {
mp               3966 src/simh/sim_tmxr.c     if ((mp->ldsc[i].sock != 0)
mp               3967 src/simh/sim_tmxr.c       || mp->ldsc[i].modem_control) {
mp               3968 src/simh/sim_tmxr.c         if ((mp->ldsc[i].sock != 0)
mp               3972 src/simh/sim_tmxr.c             tmxr_fconns (st, &mp->ldsc[i], i);
mp               3974 src/simh/sim_tmxr.c             if ((mp->ldsc[i].sock != 0)
mp               3976 src/simh/sim_tmxr.c                 tmxr_fstats (st, &mp->ldsc[i], i);
mp               3980 src/simh/sim_tmxr.c     fprintf (st, (mp->lines == 1? "disconnected\n": "all disconnected\n"));
mp               3988 src/simh/sim_tmxr.c const TMXR *mp = (const TMXR *) desc;
mp               3990 src/simh/sim_tmxr.c if (mp == NULL)
mp               3992 src/simh/sim_tmxr.c fprintf (st, "lines=%d", mp->lines);
mp                172 src/simh/sim_tmxr.h     TMXR                *mp;                            /* back pointer to mux */
mp                217 src/simh/sim_tmxr.h int32 tmxr_poll_conn (TMXR *mp);
mp                224 src/simh/sim_tmxr.h void tmxr_poll_rx (TMXR *mp);
mp                228 src/simh/sim_tmxr.h void tmxr_poll_tx (TMXR *mp);
mp                230 src/simh/sim_tmxr.h t_stat tmxr_open_master (TMXR *mp, CONST char *cptr);
mp                231 src/simh/sim_tmxr.h t_stat tmxr_close_master (TMXR *mp);
mp                232 src/simh/sim_tmxr.h t_stat tmxr_attach_ex (TMXR *mp, UNIT *uptr, CONST char *cptr, t_bool async);
mp                233 src/simh/sim_tmxr.h t_stat tmxr_detach (TMXR *mp, UNIT *uptr);
mp                242 src/simh/sim_tmxr.h t_stat tmxr_set_line_unit (TMXR *mp, int line, UNIT *uptr_poll);
mp                243 src/simh/sim_tmxr.h t_stat tmxr_set_line_output_unit (TMXR *mp, int line, UNIT *uptr_poll);
mp                278 src/simh/sim_tmxr.h     do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && ((dbits) & (lp)->mp->dptr->dctrl)) \
mp                282 src/simh/sim_tmxr.h     do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && ((dbits) & (lp)->mp->dptr->dctrl)) \
mp                283 src/simh/sim_tmxr.h         sim_debug (dbits, (lp)->mp->dptr, "%s", msg); } while (0)
mp                286 src/simh/sim_tmxr.h     do { if (sim_deb && (val) && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_RET & (lp)->mp->dptr->dctrl)) \
mp                287 src/simh/sim_tmxr.h         { if ((lp)->rxbps) sim_debug (TMXR_DBG_RET, (lp)->mp->dptr, "Ln%d: 0x%x - Next after: %.0f\n", \
mp                288 src/simh/sim_tmxr.h                 (int)((lp)-(lp)->mp->ldsc), val, (lp)->rxnexttime); \
mp                289 src/simh/sim_tmxr.h           else sim_debug (TMXR_DBG_RET, (lp)->mp->dptr, "Ln%d: 0x%x\n", (int)((lp)-(lp)->mp->ldsc), val); \
mp                292 src/simh/sim_tmxr.h # define tmxr_debug_trace(mp, msg) \
mp                293 src/simh/sim_tmxr.h     do { if (sim_deb && (mp)->dptr && (TMXR_DBG_TRC & (mp)->dptr->dctrl)) \
mp                294 src/simh/sim_tmxr.h         sim_debug (TMXR_DBG_TRC, mp->dptr, "%s\n", (msg)); } while (0)
mp                297 src/simh/sim_tmxr.h     do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_TRC & (lp)->mp->dptr->dctrl)) \
mp                298 src/simh/sim_tmxr.h         sim_debug (TMXR_DBG_TRC, (lp)->mp->dptr, "Ln%d:%s\n", (int)((lp)-(lp)->mp->ldsc), (msg)); } while (0)
mp                300 src/simh/sim_tmxr.h # define tmxr_debug_connect(mp, msg) \
mp                301 src/simh/sim_tmxr.h     do { if (sim_deb && (mp)->dptr && (TMXR_DBG_CON & (mp)->dptr->dctrl)) \
mp                302 src/simh/sim_tmxr.h         sim_debug (TMXR_DBG_CON, mp->dptr, "%s\n", (msg)); } while (0)
mp                305 src/simh/sim_tmxr.h     do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_CON & (lp)->mp->dptr->dctrl)) \
mp                306 src/simh/sim_tmxr.h         sim_debug (TMXR_DBG_CON, (lp)->mp->dptr, "Ln%d:%s\n", (int)((lp)-(lp)->mp->ldsc), (msg)); } while (0)
mp                308 src/simh/sim_tmxr.h # define tmxr_attach(mp, uptr, cptr) tmxr_attach_ex(mp, uptr, cptr, FALSE)