iPXE
ftp_request Struct Reference

An FTP request. More...

Data Fields

struct refcnt refcnt
 Reference counter.
struct interface xfer
 Data transfer interface.
struct uri * uri
 URI being fetched.
struct interface control
 FTP control channel interface.
struct interface data
 FTP data channel interface.
enum ftp_state state
 Current state.
char * recvbuf
 Buffer to be filled with data received via the control channel.
size_t recvsize
 Remaining size of recvbuf.
char status_text [5]
 FTP status code, as text.
char passive_text [24]
 Passive-mode parameters, as text.
char filesize [20]
 File size, as text.

Detailed Description

An FTP request.

Definition at line 69 of file ftp.c.

Field Documentation

◆ refcnt

struct refcnt ftp_request::refcnt

Reference counter.

Definition at line 71 of file ftp.c.

Referenced by ftp_open().

◆ xfer

struct interface ftp_request::xfer

Data transfer interface.

Definition at line 73 of file ftp.c.

Referenced by ftp_done(), ftp_open(), and ftp_reply().

◆ uri

struct uri* ftp_request::uri

URI being fetched.

Definition at line 76 of file ftp.c.

Referenced by ftp_free(), ftp_open(), ftp_password(), ftp_uri_path(), and ftp_user().

◆ control

struct interface ftp_request::control

FTP control channel interface.

Definition at line 78 of file ftp.c.

Referenced by ftp_done(), ftp_next_state(), and ftp_open().

◆ data

struct interface ftp_request::data

FTP data channel interface.

Definition at line 80 of file ftp.c.

Referenced by ftp_done(), ftp_open(), and ftp_reply().

◆ state

enum ftp_state ftp_request::state

Current state.

Definition at line 83 of file ftp.c.

Referenced by ftp_control_deliver(), ftp_next_state(), and ftp_reply().

◆ recvbuf

char* ftp_request::recvbuf

Buffer to be filled with data received via the control channel.

Definition at line 85 of file ftp.c.

Referenced by ftp_control_deliver(), and ftp_open().

◆ recvsize

size_t ftp_request::recvsize

Remaining size of recvbuf.

Definition at line 87 of file ftp.c.

Referenced by ftp_control_deliver(), and ftp_open().

◆ status_text

char ftp_request::status_text[5]

FTP status code, as text.

Definition at line 89 of file ftp.c.

Referenced by ftp_control_deliver(), ftp_open(), and ftp_reply().

◆ passive_text

char ftp_request::passive_text[24]

Passive-mode parameters, as text.

Definition at line 91 of file ftp.c.

Referenced by ftp_control_deliver(), and ftp_reply().

◆ filesize

char ftp_request::filesize[20]

File size, as text.

Definition at line 93 of file ftp.c.

Referenced by ftp_control_deliver(), and ftp_reply().


The documentation for this struct was generated from the following file: