XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
EFI_FTP4_CONFIG_DATA Struct Reference

#include <Ftp4.h>

Collaboration diagram for EFI_FTP4_CONFIG_DATA:
Collaboration graph
[legend]

Public Attributes

UINT8Username
 
UINT8Password
 
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

Member Data 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.

◆ AltDataPort

UINT16 EFI_FTP4_CONFIG_DATA::AltDataPort

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

◆ FileStruct

UINT8 EFI_FTP4_CONFIG_DATA::FileStruct

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

◆ GatewayIp

EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::GatewayIp

IP address of gateway if UseDefaultSetting is FALSE.

◆ 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.

◆ 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.

◆ ServerIp

EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::ServerIp

IP address of FTPv4 server.

◆ ServerPort

UINT16 EFI_FTP4_CONFIG_DATA::ServerPort

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

◆ StationIp

EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::StationIp

IP address of station if UseDefaultSetting is FALSE.

◆ SubnetMask

EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::SubnetMask

Subnet mask of station if UseDefaultSetting is FALSE.

◆ TransMode

UINT8 EFI_FTP4_CONFIG_DATA::TransMode

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

◆ UseDefaultSetting

BOOLEAN EFI_FTP4_CONFIG_DATA::UseDefaultSetting

Boolean value indicating if default network settting used.

◆ 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.


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