telnet protocol definition More...
Data Structures | |
struct | telnet_return_type |
telnet server return structure More... | |
struct | telnet_server_type |
Macros | |
#define | TELNET_IAC 255 |
#define | TELNET_WILL 251 |
#define | TELNET_WONT 252 |
#define | TELNET_DO 253 |
#define | TELNET_DONT 254 |
#define | TELNET_OUTPUT_SCAN_INTERVAL RES_100MSECONDS |
#define | TELNET_OUTPUT_BUFFER_SIZE (TCP_MAX_PACKET_SIZE*4) |
#define | TELNET_INPUT_BUFFER_SIZE (TCP_MAX_PACKET_SIZE*1) |
#define | TELNET_NEW_CON |
#define | TELNET_UPLOAD |
#define | TELNET_CLOSE_CON |
#define | TELNET_DOWNLOAD |
#define | telnet_return_type telnet_return_type |
#define | TelnetSocketState_t TelnetSocketState_t |
#define | TelnetServerState_t TelnetServerState_t |
#define | telnet_server_type telnet_server_type |
Enumerations | |
enum | TelnetSocketState_t { TELNET_SOCKET_DISCONNECTED = (UINT32_C(0)), TELNET_SOCKET_CONNECTED } |
enum | TelnetServerState_t { TSTATE_NORMAL = (UINT32_C(0)), TSTATE_IAC, TSTATE_WILL, TSTATE_WONT, TSTATE_DO, TSTATE_DONT, TSTATE_CLOSE } |
Functions | |
int | TelnetPrintf (const char *format,...) |
Custom Telnet printf function. More... | |
int32_t | TelnetWriteChar (char c) |
append a char to telnet write buffer More... | |
void | Telnet_send_option (SOCKET *tcp_server, unsigned char option, unsigned char c) |
send a Telnet option More... | |
int | Telnet_check_message (telnet_server_type *telnet) |
Parse user commands. More... | |
uint32_t | Telnet_initialize_server (user_type *user, char *hello_msg, int16_t(*InputParser)(T_ComDevice *, char), T_Handle CmdTab) |
initialize Telnet Server More... | |
telnet_return_type * | Telnet_server (void) |
handle Telnet Server More... | |
Variables | |
uint32_t | telnet_active |
_ _ _ __| | ___(_) ____ _ __ | |_ / _` | / __| |/ _` | '_ \| __| | (_| | _ \__ \ | (_| | | | | |_ \__,_|(_) ___/_|\__, |_| |_|\__| Signalprocessing |___/ Technology
telnet definition
#define TELNET_IAC 255 |
#define TELNET_WILL 251 |
#define TELNET_WONT 252 |
#define TELNET_DO 253 |
#define TELNET_DONT 254 |
#define TELNET_OUTPUT_SCAN_INTERVAL RES_100MSECONDS |
#define TELNET_OUTPUT_BUFFER_SIZE (TCP_MAX_PACKET_SIZE*4) |
#define TELNET_INPUT_BUFFER_SIZE (TCP_MAX_PACKET_SIZE*1) |
#define TELNET_NEW_CON |
#define TELNET_UPLOAD |
#define TELNET_CLOSE_CON |
#define TELNET_DOWNLOAD |