TELOPT_ENCRYPT
fbp->fb_feed[2] = TELOPT_ENCRYPT;
static uchar_t str_send[64] = { IAC, SB, TELOPT_ENCRYPT,
static uchar_t str_start[72] = { IAC, SB, TELOPT_ENCRYPT };
static uchar_t str_end[] = { IAC, SB, TELOPT_ENCRYPT, 0, IAC, SE };
static uchar_t str_keyid[(MAXKEYLEN*2)+5] = { IAC, SB, TELOPT_ENCRYPT };
if (my_want_state_is_wont(TELOPT_ENCRYPT))
if (my_want_state_is_wont(TELOPT_ENCRYPT))
if (my_want_state_is_wont(TELOPT_ENCRYPT))
if (my_want_state_is_dont(TELOPT_ENCRYPT))
if (my_want_state_is_wont(TELOPT_ENCRYPT))
if (my_want_state_is_dont(TELOPT_ENCRYPT))
if (my_want_state_is_wont(TELOPT_ENCRYPT))
send_do(TELOPT_ENCRYPT, 1);
send_will(TELOPT_ENCRYPT, 1);
send_do(TELOPT_ENCRYPT, 1);
send_will(TELOPT_ENCRYPT, 1);
if (my_want_state_is_dont(TELOPT_ENCRYPT) ||
my_want_state_is_wont(TELOPT_ENCRYPT)) {
case TELOPT_ENCRYPT:
if (option == TELOPT_ENCRYPT)
case TELOPT_ENCRYPT: /* encryption variable option */
case TELOPT_ENCRYPT:
if (my_want_state_is_dont(TELOPT_ENCRYPT))
if (my_want_state_is_dont(TELOPT_ENCRYPT))
if (my_want_state_is_will(TELOPT_ENCRYPT) &&
case TELOPT_ENCRYPT:
*p++ = TELOPT_ENCRYPT;
(uchar_t)TELOPT_ENCRYPT,
*p++ = TELOPT_ENCRYPT;
*p++ = TELOPT_ENCRYPT;
(uchar_t)TELOPT_ENCRYPT,
(uchar_t)TELOPT_ENCRYPT,
(uchar_t)TELOPT_ENCRYPT,
send_wont(TELOPT_ENCRYPT);
remopts[TELOPT_ENCRYPT] = OPT_NO;
*p++ = TELOPT_ENCRYPT;
if (myopts[TELOPT_ENCRYPT] != OPT_YES) {
send_will(TELOPT_ENCRYPT);
if (remopts[TELOPT_ENCRYPT] != OPT_YES) {
send_do(TELOPT_ENCRYPT);
remopts[TELOPT_ENCRYPT] =
myopts[TELOPT_ENCRYPT] = OPT_YES;
remopts[TELOPT_ENCRYPT] == OPT_YES &&
myopts[TELOPT_ENCRYPT] == OPT_YES) {
(uchar_t)TELOPT_ENCRYPT,
remopts[TELOPT_ENCRYPT] = OPT_NO;
myopts[TELOPT_ENCRYPT] = OPT_NO;
remopts[TELOPT_ENCRYPT] == OPT_YES &&
if (myopts[TELOPT_ENCRYPT] == OPT_YES)
send_wont(TELOPT_ENCRYPT);
myopts[TELOPT_ENCRYPT] = remopts[TELOPT_ENCRYPT] = OPT_NO;
myopts[TELOPT_ENCRYPT] == OPT_YES &&
remopts[TELOPT_ENCRYPT] == OPT_YES) {
case TELOPT_ENCRYPT:
case TELOPT_ENCRYPT:
(uchar_t)TELOPT_ENCRYPT,
case TELOPT_ENCRYPT:
case TELOPT_ENCRYPT:
case TELOPT_ENCRYPT: {