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 215 src/dps8/libtelnet.c static __inline__ int _check_telopt(telnet_t *telnet, unsigned char telopt, telopt 224 src/dps8/libtelnet.c for (i = 0; telnet->telopts[i].telopt != -1; ++i) { telopt 225 src/dps8/libtelnet.c if (telnet->telopts[i].telopt == telopt) { telopt 241 src/dps8/libtelnet.c unsigned char telopt) { telopt 247 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 253 src/dps8/libtelnet.c empty.telopt = telopt; telopt 259 src/dps8/libtelnet.c static __inline__ void _set_rfc1143(telnet_t *telnet, unsigned char telopt, telopt 266 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 268 src/dps8/libtelnet.c if (telopt != TELNET_TELOPT_BINARY) telopt 302 src/dps8/libtelnet.c telnet->q[telnet->q_cnt].telopt = telopt; telopt 309 src/dps8/libtelnet.c unsigned char telopt) { telopt 313 src/dps8/libtelnet.c bytes[2] = telopt; telopt 318 src/dps8/libtelnet.c static void _negotiate(telnet_t *telnet, unsigned char telopt) { telopt 326 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 329 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 332 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 335 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 342 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 350 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 0)) { telopt 351 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 352 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 353 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 355 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 358 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 359 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 364 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 369 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 370 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 373 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 374 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 375 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_NO); telopt 385 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 386 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 389 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); 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_WANTYES); telopt 394 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 395 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 399 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 408 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 1)) { telopt 409 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 410 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 411 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 413 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 416 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 417 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 422 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 427 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 428 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 431 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 432 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 433 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 442 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 443 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 444 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 447 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 448 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 451 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 452 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 453 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 457 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 674 src/dps8/libtelnet.c ev.sub.telopt = telnet->sb_telopt; telopt 978 src/dps8/libtelnet.c unsigned char telopt) { telopt 986 src/dps8/libtelnet.c bytes[2] = telopt; telopt 992 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 999 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1000 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 1003 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO_OP, Q_HIM(q)); telopt 1006 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1015 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1016 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 1019 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES_OP, Q_HIM(q)); telopt 1022 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1031 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1032 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 1035 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO_OP); telopt 1038 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1047 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1048 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 1051 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES_OP); telopt 1054 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1130 src/dps8/libtelnet.c void telnet_begin_sb(telnet_t *telnet, unsigned char telopt) { telopt 1134 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);