telopt 84 src/dps8/fnptelnet.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 88 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_SGA) telopt 92 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_ECHO) telopt 96 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_EOR) telopt 104 src/dps8/fnptelnet.c sim_printf ("evHandler DO %d\n", event->neg.telopt); telopt 111 src/dps8/fnptelnet.c sim_printf ("evHandler DONT %d\n", event->neg.telopt); telopt 117 src/dps8/fnptelnet.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 121 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_TTYPE) telopt 125 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_EOR) telopt 131 src/dps8/fnptelnet.c if (event->neg.telopt != 3) telopt 132 src/dps8/fnptelnet.c sim_printf ("evHandler WILL %d\n", event->neg.telopt); telopt 139 src/dps8/fnptelnet.c sim_printf ("evHandler WONT %d\n", event->neg.telopt); telopt 230 src/dps8/fnptelnet.c while (q->telopt != -1) telopt 232 src/dps8/fnptelnet.c telnet_negotiate (p, q->us, (unsigned char) q->telopt); telopt 104 src/dps8/libtelnet.c ev.neg.telopt = (opt); \ telopt 152 src/dps8/libtelnet.c unsigned char telopt; telopt 217 src/dps8/libtelnet.c static __inline__ int _check_telopt(telnet_t *telnet, unsigned char telopt, telopt 226 src/dps8/libtelnet.c for (i = 0; telnet->telopts[i].telopt != -1; ++i) { telopt 227 src/dps8/libtelnet.c if (telnet->telopts[i].telopt == telopt) { telopt 243 src/dps8/libtelnet.c unsigned char telopt) { telopt 249 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 255 src/dps8/libtelnet.c empty.telopt = telopt; telopt 261 src/dps8/libtelnet.c static __inline__ void _set_rfc1143(telnet_t *telnet, unsigned char telopt, telopt 268 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 270 src/dps8/libtelnet.c if (telopt != TELNET_TELOPT_BINARY) telopt 306 src/dps8/libtelnet.c telnet->q[telnet->q_cnt].telopt = telopt; telopt 313 src/dps8/libtelnet.c unsigned char telopt) { telopt 317 src/dps8/libtelnet.c bytes[2] = telopt; telopt 322 src/dps8/libtelnet.c static void _negotiate(telnet_t *telnet, unsigned char telopt) { telopt 330 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 333 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 336 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 339 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 346 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 354 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 0)) { telopt 355 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 356 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 357 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 359 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 362 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 363 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 368 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 373 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 374 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 377 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 378 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 379 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 388 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 389 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 390 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 393 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 394 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 397 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 398 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 399 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 403 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 412 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 1)) { telopt 413 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 414 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 415 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 417 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 420 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 421 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 426 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 431 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 432 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 435 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 436 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 437 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 446 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 447 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 448 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 451 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 452 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 455 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 456 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 457 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 461 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 682 src/dps8/libtelnet.c ev.sub.telopt = telnet->sb_telopt; telopt 993 src/dps8/libtelnet.c unsigned char telopt) { telopt 1001 src/dps8/libtelnet.c bytes[2] = telopt; telopt 1007 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 1014 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1015 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 1018 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO_OP, Q_HIM(q)); telopt 1021 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1030 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1031 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 1034 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES_OP, Q_HIM(q)); telopt 1037 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1046 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1047 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 1050 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO_OP); telopt 1053 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1062 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1063 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 1066 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES_OP); telopt 1069 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1145 src/dps8/libtelnet.c void telnet_begin_sb(telnet_t *telnet, unsigned char telopt) { telopt 1149 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 449 src/dps8/libtelnet.h unsigned char telopt); telopt 451 src/dps8/uvutil.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 455 src/dps8/uvutil.c else if (event->neg.telopt == TELNET_TELOPT_SGA) telopt 459 src/dps8/uvutil.c else if (event->neg.telopt == TELNET_TELOPT_ECHO) telopt 465 src/dps8/uvutil.c sim_printf ("evHandler DO %d\n", event->neg.telopt); telopt 472 src/dps8/uvutil.c sim_printf ("evHandler DONT %d\n", event->neg.telopt); telopt 478 src/dps8/uvutil.c if (event->neg.telopt != 3) telopt 479 src/dps8/uvutil.c sim_printf ("evHandler WILL %d\n", event->neg.telopt); telopt 485 src/dps8/uvutil.c sim_printf ("evHandler WONT %d\n", event->neg.telopt); telopt 536 src/dps8/uvutil.c while (q->telopt != -1) telopt 538 src/dps8/uvutil.c telnet_negotiate (p, q->us, (unsigned char) q->telopt);