RTEMS CPU Kit with SuperCore
4.11.2
|
#include <rtems.h>
#include <rtems/error.h>
#include <rtems/pty.h>
#include <rtems/shell.h>
#include <rtems/telnetd.h>
#include <rtems/bspIo.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <syslog.h>
#include <rtems/userenv.h>
#include <rtems/rtems_bsdnet.h>
Data Structures | |
struct | shell_args |
union | uni_sa |
struct | wrap_delete_args |
Typedefs | |
typedef union uni_sa | uni_sa |
Functions | |
char * | telnet_get_pty (int socket) |
int | telnet_pty_initialize (void) |
rtems_id | telnetd_dflt_spawn (const char *name, unsigned priority, unsigned stackSize, void(*fn)(void *), void *fnarg) |
rtems_status_code | rtems_telnetd_initialize (void) |
Initializes the Telnet subsystem. More... | |
rtems_id | telnetd_dflt_spawn (const char *name, unsigned int priority, unsigned int stackSize, void(*fn)(void *), void *fnarg) |
Variables | |
rtems_id(* | telnetd_spawn_task )(const char *, unsigned, unsigned, void(*)(void *), void *) = telnetd_dflt_spawn |
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.