|
RTEMS CPU Kit with SuperCore
4.11.3
|

Go to the source code of this file.
Data Structures | |
| struct | rtems_telnetd_config_table |
| Telnet configuration structure. More... | |
Typedefs | |
| typedef void(* | rtems_telnetd_command) (char *, void *) |
| Telnet command type. | |
Functions | |
| bool | rtems_telnetd_login_check (const char *user, const char *passphrase) |
| Standard Telnet login check that uses DES to encrypt the passphrase. More... | |
| rtems_status_code | rtems_telnetd_initialize (void) |
| Initializes the Telnet subsystem. More... | |
Variables | |
| rtems_telnetd_config_table | rtems_telnetd_config |
| Telnet configuration. More... | |
| rtems_status_code rtems_telnetd_initialize | ( | void | ) |
Initializes the Telnet subsystem.
Uses the application provided rtems_telnetd_config configuration table.
References rtems_telnetd_config_table::command, RTEMS_ID_NONE, RTEMS_IO_ERROR, RTEMS_RESOURCE_IN_USE, and rtems_telnetd_config.
| bool rtems_telnetd_login_check | ( | const char * | user, |
| const char * | passphrase | ||
| ) |
Standard Telnet login check that uses DES to encrypt the passphrase.
Takes a passphrase, encrypts it and compares it to the encrypted passphrase in the TELNETD_PASSWD environment variable. No password is required if TELNETD_PASSWD is unset. The argument user is ignored.
| rtems_telnetd_config_table rtems_telnetd_config |
Telnet configuration.
The application must provide this configuration table. It is used by rtems_telnetd_initialize() to configure the Telnet subsystem. Do not modify the entries after the intialization since it is used internally.
Referenced by rtems_telnetd_initialize().
1.8.13