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 99 src/dps8/libtelnet.c ev.neg.telopt = (opt); \ telopt 147 src/dps8/libtelnet.c unsigned char telopt; telopt 212 src/dps8/libtelnet.c static __inline__ int _check_telopt(telnet_t *telnet, unsigned char telopt, telopt 221 src/dps8/libtelnet.c for (i = 0; telnet->telopts[i].telopt != -1; ++i) { telopt 222 src/dps8/libtelnet.c if (telnet->telopts[i].telopt == telopt) { telopt 238 src/dps8/libtelnet.c unsigned char telopt) { telopt 244 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 250 src/dps8/libtelnet.c empty.telopt = telopt; telopt 256 src/dps8/libtelnet.c static __inline__ void _set_rfc1143(telnet_t *telnet, unsigned char telopt, telopt 263 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 265 src/dps8/libtelnet.c if (telopt != TELNET_TELOPT_BINARY) telopt 301 src/dps8/libtelnet.c telnet->q[telnet->q_cnt].telopt = telopt; telopt 308 src/dps8/libtelnet.c unsigned char telopt) { telopt 312 src/dps8/libtelnet.c bytes[2] = telopt; telopt 317 src/dps8/libtelnet.c static void _negotiate(telnet_t *telnet, unsigned char telopt) { telopt 325 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 328 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 331 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 334 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 341 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 349 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 0)) { telopt 350 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 351 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 352 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 354 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 357 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 358 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 363 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 368 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 369 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 372 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 373 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 374 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 383 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 384 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 385 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 388 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 389 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 392 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 393 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 394 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 398 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 407 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 1)) { telopt 408 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 409 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 410 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 412 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 415 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 416 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 421 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 426 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 427 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 430 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 431 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 432 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 441 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 442 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 443 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 446 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 447 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 450 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 451 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 452 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 456 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 677 src/dps8/libtelnet.c ev.sub.telopt = telnet->sb_telopt; telopt 986 src/dps8/libtelnet.c unsigned char telopt) { telopt 994 src/dps8/libtelnet.c bytes[2] = telopt; telopt 1000 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 1007 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1008 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 1011 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO_OP, Q_HIM(q)); telopt 1014 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1023 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1024 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 1027 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES_OP, Q_HIM(q)); telopt 1030 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1039 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1040 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 1043 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO_OP); telopt 1046 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1055 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1056 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 1059 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES_OP); telopt 1062 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1138 src/dps8/libtelnet.c void telnet_begin_sb(telnet_t *telnet, unsigned char telopt) { telopt 1142 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);