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 95 src/dps8/libtelnet.c ev.neg.telopt = (opt); \ telopt 143 src/dps8/libtelnet.c unsigned char telopt; telopt 208 src/dps8/libtelnet.c static __inline__ int _check_telopt(telnet_t *telnet, unsigned char telopt, telopt 217 src/dps8/libtelnet.c for (i = 0; telnet->telopts[i].telopt != -1; ++i) { telopt 218 src/dps8/libtelnet.c if (telnet->telopts[i].telopt == telopt) { telopt 234 src/dps8/libtelnet.c unsigned char telopt) { telopt 240 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 246 src/dps8/libtelnet.c empty.telopt = telopt; telopt 252 src/dps8/libtelnet.c static __inline__ void _set_rfc1143(telnet_t *telnet, unsigned char telopt, telopt 259 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { telopt 261 src/dps8/libtelnet.c if (telopt != TELNET_TELOPT_BINARY) telopt 297 src/dps8/libtelnet.c telnet->q[telnet->q_cnt].telopt = telopt; telopt 304 src/dps8/libtelnet.c unsigned char telopt) { telopt 308 src/dps8/libtelnet.c bytes[2] = telopt; telopt 313 src/dps8/libtelnet.c static void _negotiate(telnet_t *telnet, unsigned char telopt) { telopt 321 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 324 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 327 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 330 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 337 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 345 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 0)) { telopt 346 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 347 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 348 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 350 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 353 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 354 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 359 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 364 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); telopt 365 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 368 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 369 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 370 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WILL, telopt); telopt 379 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 380 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); 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_NO); 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_WANTYES); telopt 389 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 390 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_WONT, telopt); telopt 394 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); telopt 403 src/dps8/libtelnet.c if (_check_telopt(telnet, telopt, 1)) { telopt 404 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 405 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 406 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 408 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 411 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 412 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 417 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 422 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); telopt 423 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 426 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 427 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 428 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DO, telopt); telopt 437 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 438 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 439 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 442 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 443 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 446 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 447 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 448 src/dps8/libtelnet.c NEGOTIATE_EVENT(telnet, TELNET_EV_DONT, telopt); telopt 452 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); telopt 673 src/dps8/libtelnet.c ev.sub.telopt = telnet->sb_telopt; telopt 982 src/dps8/libtelnet.c unsigned char telopt) { telopt 990 src/dps8/libtelnet.c bytes[2] = telopt; telopt 996 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); telopt 1003 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1004 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WILL, telopt); telopt 1007 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO_OP, Q_HIM(q)); telopt 1010 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); telopt 1019 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1020 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_WONT, telopt); telopt 1023 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES_OP, Q_HIM(q)); telopt 1026 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); telopt 1035 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1036 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DO, telopt); telopt 1039 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO_OP); telopt 1042 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); telopt 1051 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1052 src/dps8/libtelnet.c _send_negotiate(telnet, TELNET_DONT, telopt); telopt 1055 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES_OP); telopt 1058 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); telopt 1134 src/dps8/libtelnet.c void telnet_begin_sb(telnet_t *telnet, unsigned char telopt) { telopt 1138 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 449 src/dps8/uvutil.c if (event->neg.telopt == TELNET_TELOPT_BINARY) telopt 453 src/dps8/uvutil.c else if (event->neg.telopt == TELNET_TELOPT_SGA) telopt 457 src/dps8/uvutil.c else if (event->neg.telopt == TELNET_TELOPT_ECHO) telopt 463 src/dps8/uvutil.c sim_printf ("evHandler DO %d\n", event->neg.telopt); telopt 470 src/dps8/uvutil.c sim_printf ("evHandler DONT %d\n", event->neg.telopt); telopt 476 src/dps8/uvutil.c if (event->neg.telopt != 3) telopt 477 src/dps8/uvutil.c sim_printf ("evHandler WILL %d\n", event->neg.telopt); telopt 483 src/dps8/uvutil.c sim_printf ("evHandler WONT %d\n", event->neg.telopt); telopt 534 src/dps8/uvutil.c while (q->telopt != -1) telopt 536 src/dps8/uvutil.c telnet_negotiate (p, q->us, (unsigned char) q->telopt);