LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations | Functions | Variables
telnet_console.c File Reference
#include "telnet_console.h"
#include <lwip/mem.h>
#include <lwip/memp.h>
#include <lwip/sys.h>
#include <lwip/stats.h>
#include <lwip/ip.h>
#include <lwip/udp.h>
#include <lwip/tcp.h>
#include <lwip/dhcp.h>
#include <netif/etharp.h>
#include <network/network.h>
#include <time.h>
#include <xetypes.h>
Include dependency graph for telnet_console.c:

Go to the source code of this file.

Data Structures

struct  TEL_TXST
 

Macros

#define BUFSIZE   65536
 
#define PORT_TEL   23
 

Enumerations

enum  CONNECTION_STATES { TELNET_CONNECTED = 0 , TELNET_DISCONNECTED , TELNET_CLOSING }
 

Functions

void telnet_process (void)
 
void telnet_console_init (void)
 
void telnet_console_close (void)
 
void telnet_console_tx_print (const char *buf, int bc)
 

Variables

void(* stdout_hook )(const char *buf, int len)
 
int recv_len
 
unsigned char recv_buf [512]
 

Macro Definition Documentation

◆ BUFSIZE

#define BUFSIZE   65536

Definition at line 22 of file telnet_console.c.

◆ PORT_TEL

#define PORT_TEL   23

Definition at line 23 of file telnet_console.c.

Enumeration Type Documentation

◆ CONNECTION_STATES

Enumerator
TELNET_CONNECTED 
TELNET_DISCONNECTED 
TELNET_CLOSING 

Definition at line 30 of file telnet_console.c.

Function Documentation

◆ telnet_console_close()

void telnet_console_close ( void  )

Definition at line 76 of file telnet_console.c.

◆ telnet_console_init()

void telnet_console_init ( void  )

==========================================================================

Definition at line 57 of file telnet_console.c.

◆ telnet_console_tx_print()

void telnet_console_tx_print ( const char *  buf,
int  bc 
)

Definition at line 85 of file telnet_console.c.

◆ telnet_process()

void telnet_process ( void  )

Variable Documentation

◆ recv_buf

unsigned char recv_buf[512]

Definition at line 144 of file telnet_console.c.

◆ recv_len

int recv_len

Definition at line 143 of file telnet_console.c.

◆ stdout_hook

void(* stdout_hook) (const char *buf, int len) ( const char *  buf,
int  len 
)
extern

Definition at line 19 of file newlib.c.