FTPSESSION Struct Reference
[FTP]

Collaboration diagram for FTPSESSION:

Collaboration graph
[legend]

Detailed Description

FTP session information structure.

Definition at line 76 of file ftpd.h.

Data Fields

TCPSOCKETftp_sock
 Telnet socket of this session.
FILEftp_stream
 Stream associated to the Telnet socket.
char * ftp_cwd
 Current working directory for this session.
u_long ftp_data_ip
 Target IP for data transfer.
u_short ftp_data_port
 TCP port for data transfer.
u_short ftp_maxseg
 Maximum TCP segment size for data transfer.
reg_t ftp_login
 Login status.
reg_t ftp_tran_mode
 FTP data transfer mode.
reg_t ftp_passive
 FTP data transfer connection type.


Field Documentation

TCPSOCKET* FTPSESSION::ftp_sock

Telnet socket of this session.

Definition at line 78 of file ftpd.h.

Referenced by NutFtpProcessPassiv(), and NutFtpProcessPort().

FILE* FTPSESSION::ftp_stream

Stream associated to the Telnet socket.

Definition at line 80 of file ftpd.h.

Referenced by NutFtpCloseSession(), NutFtpProcessPassiv(), NutFtpProcessPwd(), NutFtpProcessSystem(), NutFtpRespondBad(), NutFtpRespondOk(), NutFtpSendMode(), and NutFtpServerSession().

char* FTPSESSION::ftp_cwd

Current working directory for this session.

Definition at line 82 of file ftpd.h.

Referenced by NutFtpCloseSession(), NutFtpProcessCwd(), NutFtpProcessPwd(), and NutFtpProcessRequest().

u_long FTPSESSION::ftp_data_ip

Target IP for data transfer.

Definition at line 84 of file ftpd.h.

Referenced by NutFtpDataConnect(), and NutFtpProcessPort().

u_short FTPSESSION::ftp_data_port

TCP port for data transfer.

Definition at line 86 of file ftpd.h.

Referenced by NutFtpDataConnect(), and NutFtpProcessPort().

u_short FTPSESSION::ftp_maxseg

Maximum TCP segment size for data transfer.

Definition at line 88 of file ftpd.h.

Referenced by NutFtpDataConnect().

reg_t FTPSESSION::ftp_login

Login status.

Definition at line 95 of file ftpd.h.

Referenced by NutFtpProcessPass(), NutFtpProcessRequest(), and NutFtpProcessUser().

reg_t FTPSESSION::ftp_tran_mode

FTP data transfer mode.

Definition at line 101 of file ftpd.h.

Referenced by NutFtpProcessType(), and NutFtpTransferFile().

reg_t FTPSESSION::ftp_passive

FTP data transfer connection type.

Definition at line 107 of file ftpd.h.

Referenced by NutFtpDataConnect(), and NutFtpProcessPassiv().


The documentation for this struct was generated from the following file:
© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/