VSF Documented
Macros
telnet.h File Reference
#include "shell/sys/linux/vsf_linux_cfg.h"
#include "../netinet/in.h"
#include "hal/arch/vsf_arch.h"

Go to the source code of this file.

Macros

#define IAC   255
 
#define DONT   254
 
#define DO   253
 
#define WONT   252
 
#define WILL   251
 
#define SB   250
 
#define GA   249
 
#define EL   248
 
#define EC   247
 
#define AYT   246
 
#define AO   245
 
#define IP   244
 
#define BREAK   243
 
#define DM   242
 
#define NOP   241
 
#define SE   240
 
#define EOR   239
 
#define ABORT   238
 
#define SUSP   237
 
#define xEOF   236
 
#define TELOPT_BINARY   0
 
#define TELOPT_ECHO   1
 
#define TELOPT_RCP   2
 
#define TELOPT_SGA   3
 
#define TELOPT_NAMS   4
 
#define TELOPT_STATUS   5
 
#define TELOPT_TM   6
 
#define TELOPT_RCTE   7
 
#define TELOPT_NAOL   8
 
#define TELOPT_NAOP   9
 
#define TELOPT_NAOCRD   10
 
#define TELOPT_NAOHTS   11
 
#define TELOPT_NAOHTD   12
 
#define TELOPT_NAOFFD   13
 
#define TELOPT_NAOVTS   14
 
#define TELOPT_NAOVTD   15
 
#define TELOPT_NAOLFD   16
 
#define TELOPT_XASCII   17
 
#define TELOPT_LOGOUT   18
 
#define TELOPT_BM   19
 
#define TELOPT_DET   20
 
#define TELOPT_SUPDUP   21
 
#define TELOPT_SUPDUPOUTPUT   22
 
#define TELOPT_SNDLOC   23
 
#define TELOPT_TTYPE   24
 
#define TELOPT_EOR   25
 
#define TELOPT_TUID   26
 
#define TELOPT_OUTMRK   27
 
#define TELOPT_TTYLOC   28
 
#define TELOPT_3270REGIME   29
 
#define TELOPT_X3PAD   30
 
#define TELOPT_NAWS   31
 
#define TELOPT_TSPEED   32
 
#define TELOPT_LFLOW   33
 
#define TELOPT_LINEMODE   34
 
#define TELOPT_XDISPLOC   35
 
#define TELOPT_OLD_ENVIRON   36
 
#define TELOPT_AUTHENTICATION   37
 
#define TELOPT_ENCRYPT   38
 
#define TELOPT_NEW_ENVIRON   39
 
#define TELOPT_EXOPL   255
 
#define NTELOPTS   (1 + TELOPT_NEW_ENVIRON)
 
#define TELQUAL_IS   0
 
#define TELQUAL_SEND   1
 
#define TELQUAL_INFO   2
 
#define TELQUAL_REPLY   2
 
#define TELQUAL_NAME   3
 
#define LFLOW_OFF   0
 
#define LFLOW_ON   1
 
#define LFLOW_RESTART_ANY   2
 
#define LFLOW_RESTART_XON   3
 
#define SLC_NOSUPPORT   0
 
#define SLC_CANTCHANGE   1
 
#define SLC_VARIABLE   2
 
#define SLC_DEFAULT   3
 
#define SLC_LEVELBITS   0x03
 
#define SLC_FUNC   0
 
#define SLC_FLAGS   1
 
#define SLC_VALUE   2
 
#define SLC_ACK   0x80
 
#define SLC_FLUSHIN   0x40
 
#define SLC_FLUSHOUT   0x20
 
#define OLD_ENV_VAR   1
 
#define OLD_ENV_VALUE   0
 
#define NEW_ENV_VAR   0
 
#define NEW_ENV_VALUE   1
 
#define ENV_ESC   2
 
#define ENV_USERVAR   3
 

Macro Definition Documentation

◆ IAC

#define IAC   255

◆ DONT

#define DONT   254

◆ DO

#define DO   253

◆ WONT

#define WONT   252

◆ WILL

#define WILL   251

◆ SB

#define SB   250

◆ GA

#define GA   249

◆ EL

#define EL   248

◆ EC

#define EC   247

◆ AYT

#define AYT   246

◆ AO

#define AO   245

◆ IP

#define IP   244

◆ BREAK

#define BREAK   243

◆ DM

#define DM   242

◆ NOP

#define NOP   241

◆ SE

#define SE   240

◆ EOR

#define EOR   239

◆ ABORT

#define ABORT   238

◆ SUSP

#define SUSP   237

◆ xEOF

#define xEOF   236

◆ TELOPT_BINARY

#define TELOPT_BINARY   0

◆ TELOPT_ECHO

#define TELOPT_ECHO   1

◆ TELOPT_RCP

#define TELOPT_RCP   2

◆ TELOPT_SGA

#define TELOPT_SGA   3

◆ TELOPT_NAMS

#define TELOPT_NAMS   4

◆ TELOPT_STATUS

#define TELOPT_STATUS   5

◆ TELOPT_TM

#define TELOPT_TM   6

◆ TELOPT_RCTE

#define TELOPT_RCTE   7

◆ TELOPT_NAOL

#define TELOPT_NAOL   8

◆ TELOPT_NAOP

#define TELOPT_NAOP   9

◆ TELOPT_NAOCRD

#define TELOPT_NAOCRD   10

◆ TELOPT_NAOHTS

#define TELOPT_NAOHTS   11

◆ TELOPT_NAOHTD

#define TELOPT_NAOHTD   12

◆ TELOPT_NAOFFD

#define TELOPT_NAOFFD   13

◆ TELOPT_NAOVTS

#define TELOPT_NAOVTS   14

◆ TELOPT_NAOVTD

#define TELOPT_NAOVTD   15

◆ TELOPT_NAOLFD

#define TELOPT_NAOLFD   16

◆ TELOPT_XASCII

#define TELOPT_XASCII   17

◆ TELOPT_LOGOUT

#define TELOPT_LOGOUT   18

◆ TELOPT_BM

#define TELOPT_BM   19

◆ TELOPT_DET

#define TELOPT_DET   20

◆ TELOPT_SUPDUP

#define TELOPT_SUPDUP   21

◆ TELOPT_SUPDUPOUTPUT

#define TELOPT_SUPDUPOUTPUT   22

◆ TELOPT_SNDLOC

#define TELOPT_SNDLOC   23

◆ TELOPT_TTYPE

#define TELOPT_TTYPE   24

◆ TELOPT_EOR

#define TELOPT_EOR   25

◆ TELOPT_TUID

#define TELOPT_TUID   26

◆ TELOPT_OUTMRK

#define TELOPT_OUTMRK   27

◆ TELOPT_TTYLOC

#define TELOPT_TTYLOC   28

◆ TELOPT_3270REGIME

#define TELOPT_3270REGIME   29

◆ TELOPT_X3PAD

#define TELOPT_X3PAD   30

◆ TELOPT_NAWS

#define TELOPT_NAWS   31

◆ TELOPT_TSPEED

#define TELOPT_TSPEED   32

◆ TELOPT_LFLOW

#define TELOPT_LFLOW   33

◆ TELOPT_LINEMODE

#define TELOPT_LINEMODE   34

◆ TELOPT_XDISPLOC

#define TELOPT_XDISPLOC   35

◆ TELOPT_OLD_ENVIRON

#define TELOPT_OLD_ENVIRON   36

◆ TELOPT_AUTHENTICATION

#define TELOPT_AUTHENTICATION   37

◆ TELOPT_ENCRYPT

#define TELOPT_ENCRYPT   38

◆ TELOPT_NEW_ENVIRON

#define TELOPT_NEW_ENVIRON   39

◆ TELOPT_EXOPL

#define TELOPT_EXOPL   255

◆ NTELOPTS

#define NTELOPTS   (1 + TELOPT_NEW_ENVIRON)

◆ TELQUAL_IS

#define TELQUAL_IS   0

◆ TELQUAL_SEND

#define TELQUAL_SEND   1

◆ TELQUAL_INFO

#define TELQUAL_INFO   2

◆ TELQUAL_REPLY

#define TELQUAL_REPLY   2

◆ TELQUAL_NAME

#define TELQUAL_NAME   3

◆ LFLOW_OFF

#define LFLOW_OFF   0

◆ LFLOW_ON

#define LFLOW_ON   1

◆ LFLOW_RESTART_ANY

#define LFLOW_RESTART_ANY   2

◆ LFLOW_RESTART_XON

#define LFLOW_RESTART_XON   3

◆ SLC_NOSUPPORT

#define SLC_NOSUPPORT   0

◆ SLC_CANTCHANGE

#define SLC_CANTCHANGE   1

◆ SLC_VARIABLE

#define SLC_VARIABLE   2

◆ SLC_DEFAULT

#define SLC_DEFAULT   3

◆ SLC_LEVELBITS

#define SLC_LEVELBITS   0x03

◆ SLC_FUNC

#define SLC_FUNC   0

◆ SLC_FLAGS

#define SLC_FLAGS   1

◆ SLC_VALUE

#define SLC_VALUE   2

◆ SLC_ACK

#define SLC_ACK   0x80

◆ SLC_FLUSHIN

#define SLC_FLUSHIN   0x40

◆ SLC_FLUSHOUT

#define SLC_FLUSHOUT   0x20

◆ OLD_ENV_VAR

#define OLD_ENV_VAR   1

◆ OLD_ENV_VALUE

#define OLD_ENV_VALUE   0

◆ NEW_ENV_VAR

#define NEW_ENV_VAR   0

◆ NEW_ENV_VALUE

#define NEW_ENV_VALUE   1

◆ ENV_ESC

#define ENV_ESC   2

◆ ENV_USERVAR

#define ENV_USERVAR   3