telopt 81 src/dps8/fnptelnet.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 85 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_SGA) telopt 89 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_ECHO) telopt 93 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_EOR) telopt 101 src/dps8/fnptelnet.c sim_printf ("evHandler DO %d\n", event->neg.telopt); telopt 108 src/dps8/fnptelnet.c sim_printf ("evHandler DONT %d\n", event->neg.telopt); telopt 114 src/dps8/fnptelnet.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 118 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_TTYPE) telopt 122 src/dps8/fnptelnet.c else if (event->neg.telopt == TELNET_TELOPT_EOR) telopt 128 src/dps8/fnptelnet.c if (event->neg.telopt != 3) telopt 129 src/dps8/fnptelnet.c sim_printf ("evHandler WILL %d\n", event->neg.telopt); telopt 136 src/dps8/fnptelnet.c sim_printf ("evHandler WONT %d\n", event->neg.telopt); telopt 227 src/dps8/fnptelnet.c while (q->telopt != -1) telopt 229 src/dps8/fnptelnet.c telnet_negotiate (p, q->us, (unsigned char) q->telopt); telopt 91 src/dps8/libtelnet.c ev.neg.telopt = (opt); \ telopt 139 src/dps8/libtelnet.c unsigned char telopt; telopt 204 src/dps8/libtelnet.c static __inline__ int _check_telopt(telnet_t *telnet, unsigned char telopt, telopt 213 src/dps8/libtelnet.c for (i = 0; telnet->telopts[i].telopt != -1; ++i) { telopt 214 src/dps8/libtelnet.c if (telnet->telopts[i].telopt == telopt) { telopt 230 src/dps8/libtelnet.c unsigned char telopt) { telopt 236 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 242 src/dps8/libtelnet.c empty.telopt = telopt; telopt 248 src/dps8/libtelnet.c static __inline__ void _set_rfc1143(telnet_t *telnet, unsigned char telopt, telopt 255 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 257 src/dps8/libtelnet.c if (telopt != TELNET_TELOPT_BINARY) telopt 293 src/dps8/libtelnet.c telnet->q[telnet->q_cnt].telopt = telopt; telopt 300 src/dps8/libtelnet.c unsigned char telopt) { telopt 304 src/dps8/libtelnet.c bytes[2] = telopt; telopt 309 src/dps8/libtelnet.c static void _negotiate(telnet_t *telnet, unsigned char telopt) { telopt 317 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 320 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 323 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 326 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 333 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 341 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 0)) { telopt 342 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 343 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 344 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 346 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 349 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 350 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 355 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 360 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 361 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 364 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 365 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 366 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 375 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 376 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 377 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 380 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 381 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 384 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 385 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 386 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 390 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 399 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 1)) { telopt 400 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 401 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 402 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 404 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 407 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 408 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 413 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 418 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 419 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 422 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 423 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 424 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 433 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 434 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 435 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 438 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 439 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 442 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 443 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 444 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 448 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 669 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 450 src/dps8/libtelnet.h unsigned char telopt); telopt 445 src/dps8/uvutil.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 449 src/dps8/uvutil.c else if (event->neg.telopt == TELNET_TELOPT_SGA) telopt 453 src/dps8/uvutil.c else if (event->neg.telopt == TELNET_TELOPT_ECHO) telopt 459 src/dps8/uvutil.c sim_printf ("evHandler DO %d\n", event->neg.telopt); telopt 466 src/dps8/uvutil.c sim_printf ("evHandler DONT %d\n", event->neg.telopt); telopt 472 src/dps8/uvutil.c if (event->neg.telopt != 3) telopt 473 src/dps8/uvutil.c sim_printf ("evHandler WILL %d\n", event->neg.telopt); telopt 479 src/dps8/uvutil.c sim_printf ("evHandler WONT %d\n", event->neg.telopt); telopt 530 src/dps8/uvutil.c while (q->telopt != -1) telopt 532 src/dps8/uvutil.c telnet_negotiate (p, q->us, (unsigned char) q->telopt);