TianoCore EDK2 master
Loading...
Searching...
No Matches
EFI_FTP4_CONFIG_DATA Struct Reference

#include <MdePkg/Include/Protocol/Ftp4.h>

Data Fields

UINT8 * Username
 
UINT8 * Password
 
BOOLEAN Active
 
BOOLEAN UseDefaultSetting
 
EFI_IPv4_ADDRESS StationIp
 
EFI_IPv4_ADDRESS SubnetMask
 
EFI_IPv4_ADDRESS GatewayIp
 
EFI_IPv4_ADDRESS ServerIp
 
UINT16 ServerPort
 
UINT16 AltDataPort
 
UINT8 RepType
 
UINT8 FileStruct
 
UINT8 TransMode
 

Detailed Description

EFI_FTP4_CONFIG_DATA

Definition at line 71 of file Ftp4.h.

Field Documentation

◆ Active

BOOLEAN EFI_FTP4_CONFIG_DATA::Active

Set it to TRUE to initiate an active data connection. Set it to FALSE to initiate a passive data connection.

Definition at line 86 of file Ftp4.h.

◆ AltDataPort

UINT16 EFI_FTP4_CONFIG_DATA::AltDataPort

FTPv4 server port number of data connection. If it is zero, use (ServerPort - 1) by convention.

Definition at line 116 of file Ftp4.h.

◆ FileStruct

UINT8 EFI_FTP4_CONFIG_DATA::FileStruct

Defines the file structure in FTP used. 0x00 = file, 0x01 = record, 0x02 = page.

Definition at line 130 of file Ftp4.h.

◆ GatewayIp

EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::GatewayIp

IP address of gateway if UseDefaultSetting is FALSE.

Definition at line 102 of file Ftp4.h.

◆ Password

UINT8* EFI_FTP4_CONFIG_DATA::Password

Pointer to a ASCII string that contains password. The caller is responsible for freeing Password after GetModeData() is called.

Definition at line 81 of file Ftp4.h.

◆ RepType

UINT8 EFI_FTP4_CONFIG_DATA::RepType

A byte indicate the representation type. The right 4 bit is used for first parameter, the left 4 bit is use for second parameter

  • For the first parameter, 0x0 = image, 0x1 = EBCDIC, 0x2 = ASCII, 0x3 = local
  • For the second parameter, 0x0 = Non-print, 0x1 = Telnet format effectors, 0x2 = Carriage Control.
  • If it is a local type, the second parameter is the local byte byte size.
  • If it is a image type, the second parameter is undefined.

Definition at line 126 of file Ftp4.h.

◆ ServerIp

EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::ServerIp

IP address of FTPv4 server.

Definition at line 106 of file Ftp4.h.

◆ ServerPort

UINT16 EFI_FTP4_CONFIG_DATA::ServerPort

FTPv4 server port number of control connection, and the default value is 21 as convention.

Definition at line 111 of file Ftp4.h.

◆ StationIp

EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::StationIp

IP address of station if UseDefaultSetting is FALSE.

Definition at line 94 of file Ftp4.h.

◆ SubnetMask

EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::SubnetMask

Subnet mask of station if UseDefaultSetting is FALSE.

Definition at line 98 of file Ftp4.h.

◆ TransMode

UINT8 EFI_FTP4_CONFIG_DATA::TransMode

Defines the transifer mode used in FTP. 0x00 = stream, 0x01 = Block, 0x02 = Compressed.

Definition at line 134 of file Ftp4.h.

◆ UseDefaultSetting

BOOLEAN EFI_FTP4_CONFIG_DATA::UseDefaultSetting

Boolean value indicating if default network settting used.

Definition at line 90 of file Ftp4.h.

◆ Username

UINT8* EFI_FTP4_CONFIG_DATA::Username

Pointer to a ASCII string that contains user name. The caller is responsible for freeing Username after GetModeData() is called.

Definition at line 76 of file Ftp4.h.


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