telopt 93 src/dps8/fnptelnet.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 97 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_SGA) telopt 101 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_ECHO) telopt 105 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_EOR) telopt 114 src/dps8/fnptelnet.c sim_printf ("evHandler DO %d\r\n", event->neg.telopt); telopt 123 src/dps8/fnptelnet.c sim_printf ("evHandler DONT %d\r\n", event->neg.telopt); telopt 130 src/dps8/fnptelnet.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 134 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_TTYPE) telopt 138 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_EOR) telopt 145 src/dps8/fnptelnet.c if (event->neg.telopt != 3) telopt 146 src/dps8/fnptelnet.c sim_printf ("evHandler WILL %d\r\n", event->neg.telopt); telopt 155 src/dps8/fnptelnet.c sim_printf ("evHandler WONT %d\r\n", event->neg.telopt); telopt 260 src/dps8/fnptelnet.c while (q->telopt != -1) telopt 262 src/dps8/fnptelnet.c telnet_negotiate (p, q->us, (unsigned char) q->telopt); telopt 97 src/dps8/libtelnet.c ev.neg.telopt = (opt); \ telopt 147 src/dps8/libtelnet.c unsigned char telopt; telopt 216 src/dps8/libtelnet.c static __inline__ int _check_telopt(telnet_t *telnet, unsigned char telopt, telopt 229 src/dps8/libtelnet.c for (i = 0; telnet->telopts[i].telopt != -1; ++i) { telopt 230 src/dps8/libtelnet.c if (telnet->telopts[i].telopt == telopt) { telopt 246 src/dps8/libtelnet.c unsigned char telopt) { telopt 252 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 258 src/dps8/libtelnet.c empty.telopt = telopt; telopt 264 src/dps8/libtelnet.c static __inline__ void _set_rfc1143(telnet_t *telnet, unsigned char telopt, telopt 271 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 273 src/dps8/libtelnet.c if (telopt != TELNET_TELOPT_BINARY) telopt 309 src/dps8/libtelnet.c telnet->q[telnet->q_cnt].telopt = telopt; telopt 316 src/dps8/libtelnet.c unsigned char telopt) { telopt 320 src/dps8/libtelnet.c bytes[2] = telopt; telopt 325 src/dps8/libtelnet.c static void _negotiate(telnet_t *telnet, unsigned char telopt) { telopt 336 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 339 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 342 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 345 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 352 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 360 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 0)) { telopt 361 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 362 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 363 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 365 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 368 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 369 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 374 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 375 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 380 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 381 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 384 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 385 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 386 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 395 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 396 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 397 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 400 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); //-V1037 telopt 401 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 404 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 405 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 406 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 410 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 411 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 420 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 1)) { telopt 421 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 422 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 423 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 425 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 428 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 429 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 434 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 439 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 440 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 443 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 444 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 445 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 454 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 455 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 456 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 459 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); //-V1037 telopt 460 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 463 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 464 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 465 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 469 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 470 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 691 src/dps8/libtelnet.c ev.sub.telopt = telnet->sb_telopt; telopt 1012 src/dps8/libtelnet.c unsigned char telopt) { telopt 1020 src/dps8/libtelnet.c bytes[2] = telopt; telopt 1026 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 1033 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1034 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 1037 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO_OP, Q_HIM(q)); telopt 1040 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1049 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1050 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 1053 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES_OP, Q_HIM(q)); telopt 1056 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1065 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1066 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 1069 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO_OP); telopt 1072 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1081 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1082 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 1085 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES_OP); telopt 1088 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1164 src/dps8/libtelnet.c void telnet_begin_sb(telnet_t *telnet, unsigned char telopt) { telopt 1168 src/dps8/libtelnet.c sb[2] = telopt; telopt 291 src/dps8/libtelnet.h unsigned char telopt; /* option being negotiated */ telopt 301 src/dps8/libtelnet.h unsigned char telopt; /* option code for negotiation */ telopt 343 src/dps8/libtelnet.h short telopt; /* one of the TELOPT codes or -1 */ telopt 450 src/dps8/libtelnet.h unsigned char telopt); telopt 497 src/dps8/uvutil.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 501 src/dps8/uvutil.c else if (event->neg.telopt == TELNET_TELOPT_SGA) telopt 505 src/dps8/uvutil.c else if (event->neg.telopt == TELNET_TELOPT_ECHO) telopt 512 src/dps8/uvutil.c sim_printf ("evHandler DO %d\r\n", event->neg.telopt); telopt 521 src/dps8/uvutil.c sim_printf ("evHandler DONT %d\r\n", event->neg.telopt); telopt 529 src/dps8/uvutil.c if (event->neg.telopt != 3) { telopt 530 src/dps8/uvutil.c sim_printf ("evHandler WILL %d\r\n", event->neg.telopt); telopt 539 src/dps8/uvutil.c sim_printf ("evHandler WONT %d\r\n", event->neg.telopt); telopt 600 src/dps8/uvutil.c while (q->telopt != -1) telopt 602 src/dps8/uvutil.c telnet_negotiate (p, q->us, (unsigned char) q->telopt);