OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | telnet_connection |
struct | telnet_service |
Macros | |
#define | TELNET_BUFFER_SIZE (10*1024) |
#define | TELNET_LINE_HISTORY_SIZE (128) |
#define | TELNET_LINE_MAX_SIZE (10*256) |
Enumerations | |
enum | telnet_states { TELNET_STATE_DATA , TELNET_STATE_IAC , TELNET_STATE_SB , TELNET_STATE_SE , TELNET_STATE_WILL , TELNET_STATE_WONT , TELNET_STATE_DO , TELNET_STATE_DONT , TELNET_STATE_ESCAPE } |
Functions | |
int | telnet_init (char *banner) |
int | telnet_register_commands (struct command_context *command_context) |
void | telnet_service_free (void) |
#define TELNET_BUFFER_SIZE (10*1024) |
Definition at line 19 of file telnet_server.h.
#define TELNET_LINE_HISTORY_SIZE (128) |
Definition at line 21 of file telnet_server.h.
#define TELNET_LINE_MAX_SIZE (10*256) |
Definition at line 22 of file telnet_server.h.
enum telnet_states |
Enumerator | |
---|---|
TELNET_STATE_DATA | |
TELNET_STATE_IAC | |
TELNET_STATE_SB | |
TELNET_STATE_SE | |
TELNET_STATE_WILL | |
TELNET_STATE_WONT | |
TELNET_STATE_DO | |
TELNET_STATE_DONT | |
TELNET_STATE_ESCAPE |
Definition at line 24 of file telnet_server.h.
int telnet_init | ( | char * | banner | ) |
Definition at line 942 of file telnet_server.c.
References add_service(), telnet_service::banner, CONNECTION_LIMIT_UNLIMITED, ERROR_FAIL, ERROR_OK, LOG_ERROR, LOG_INFO, telnet_port, and telnet_service_driver.
Referenced by server_init().
int telnet_register_commands | ( | struct command_context * | command_context | ) |
Definition at line 1001 of file telnet_server.c.
References NULL, register_commands(), telnet_command_handlers, and telnet_port.
Referenced by server_register_commands().
void telnet_service_free | ( | void | ) |
Definition at line 1007 of file telnet_server.c.
References telnet_port.
Referenced by server_free().