RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Typedefs | Functions | Variables
pty.c File Reference
#include <termios.h>
#include <rtems/termiostypes.h>
#include <sys/ttycom.h>
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/bspIo.h>
#include <errno.h>
#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Include dependency graph for pty.c:

Data Structures

struct  pty_tt
 

Macros

#define DEBUG_WH   (1<<0)
 
#define DEBUG_DETAIL   (1<<1)
 
#define IAC_ESC   255
 
#define IAC_DONT   254
 
#define IAC_DO   253
 
#define IAC_WONT   252
 
#define IAC_WILL   251
 
#define IAC_SB   250
 
#define IAC_GA   249
 
#define IAC_EL   248
 
#define IAC_EC   247
 
#define IAC_AYT   246
 
#define IAC_AO   245
 
#define IAC_IP   244
 
#define IAC_BRK   243
 
#define IAC_DMARK   242
 
#define IAC_NOP   241
 
#define IAC_SE   240
 
#define IAC_EOR   239
 
#define SB_MAX   16
 

Typedefs

typedef struct pty_tt pty_t
 

Functions

char * telnet_get_pty (int socket)
 
int telnet_pty_initialize (void)
 
int telnet_pty_finalize (void)
 

Variables

int rtems_telnetd_maximum_ptys