TELOPT_BINARY
if (my_want_state_is_will(TELOPT_BINARY) &&
my_want_state_is_do(TELOPT_BINARY)) {
} else if (my_want_state_is_wont(TELOPT_BINARY) &&
my_want_state_is_dont(TELOPT_BINARY)) {
if (my_want_state_is_will(TELOPT_BINARY) &&
my_want_state_is_do(TELOPT_BINARY)) {
if (my_want_state_is_wont(TELOPT_BINARY) &&
my_want_state_is_dont(TELOPT_BINARY)) {
val = my_want_state_is_do(TELOPT_BINARY) ? 0 : 1;
if (my_want_state_is_do(TELOPT_BINARY)) {
if (my_want_state_is_dont(TELOPT_BINARY)) {
val = my_want_state_is_will(TELOPT_BINARY) ? 0 : 1;
if (my_want_state_is_will(TELOPT_BINARY)) {
if (my_want_state_is_wont(TELOPT_BINARY)) {
my_want_state_is_dont(TELOPT_BINARY)) {
if (my_want_state_is_wont(TELOPT_BINARY)) {
my_want_state_is_will(TELOPT_BINARY));
send_do(TELOPT_BINARY, 1);
send_will(TELOPT_BINARY, 1);
send_dont(TELOPT_BINARY, 1);
send_wont(TELOPT_BINARY, 1);
case TELOPT_BINARY:
case TELOPT_BINARY: /* binary mode */
if (my_want_state_is_will(TELOPT_BINARY))
if (my_want_state_is_do(TELOPT_BINARY))
if (binary_in != myopts[TELOPT_BINARY] ||
binary_out != remopts[TELOPT_BINARY]) {
if (myopts[TELOPT_BINARY] != OPT_NO)
if (remopts[TELOPT_BINARY] != OPT_NO)
binary_in = myopts[TELOPT_BINARY];
binary_out = remopts[TELOPT_BINARY];
if (c == '\r' && (myopts[TELOPT_BINARY] == OPT_NO)) {
case TELOPT_BINARY:
case TELOPT_BINARY:
case TELOPT_BINARY:
#define TELOPT_FIRST TELOPT_BINARY