TianoCore EDK2 master
Loading...
Searching...
No Matches
PxeBcMtftp.h
Go to the documentation of this file.
1
10#ifndef __EFI_PXEBC_MTFTP_H__
11#define __EFI_PXEBC_MTFTP_H__
12
13#define PXE_MTFTP_OPTION_BLKSIZE_INDEX 0
14#define PXE_MTFTP_OPTION_TIMEOUT_INDEX 1
15#define PXE_MTFTP_OPTION_TSIZE_INDEX 2
16#define PXE_MTFTP_OPTION_MULTICAST_INDEX 3
17#define PXE_MTFTP_OPTION_WINDOWSIZE_INDEX 4
18#define PXE_MTFTP_OPTION_MAXIMUM_INDEX 5
19#define PXE_MTFTP_OPTBUF_MAXNUM_INDEX 128
20
21#define PXE_MTFTP_ERROR_STRING_LENGTH 127 // refer to definition of struct EFI_PXE_BASE_CODE_TFTP_ERROR.
22#define PXE_MTFTP_DEFAULT_BLOCK_SIZE 512 // refer to rfc-1350.
23
42 IN PXEBC_PRIVATE_DATA *Private,
43 IN VOID *Config,
44 IN UINT8 *Filename,
45 IN UINTN *BlockSize,
46 IN UINTN *WindowSize,
47 IN OUT UINT64 *BufferSize
48 );
49
69 IN PXEBC_PRIVATE_DATA *Private,
70 IN VOID *Config,
71 IN UINT8 *Filename,
72 IN UINTN *BlockSize,
73 IN UINTN *WindowSize,
74 IN UINT8 *BufferPtr,
75 IN OUT UINT64 *BufferSize,
76 IN BOOLEAN DontUseBuffer
77 );
78
97 IN PXEBC_PRIVATE_DATA *Private,
98 IN VOID *Config,
99 IN UINT8 *Filename,
100 IN BOOLEAN Overwrite,
101 IN UINTN *BlockSize,
102 IN UINT8 *BufferPtr,
103 IN OUT UINT64 *BufferSize
104 );
105
125 IN PXEBC_PRIVATE_DATA *Private,
126 IN VOID *Config,
127 IN UINT8 *Filename,
128 IN UINTN *BlockSize,
129 IN UINTN *WindowSize,
130 IN UINT8 *BufferPtr,
131 IN OUT UINT64 *BufferSize,
132 IN BOOLEAN DontUseBuffer
133 );
134
135#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS PxeBcTftpGetFileSize(IN PXEBC_PRIVATE_DATA *Private, IN VOID *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINTN *WindowSize, IN OUT UINT64 *BufferSize)
Definition: PxeBcMtftp.c:993
EFI_STATUS PxeBcTftpReadDirectory(IN PXEBC_PRIVATE_DATA *Private, IN VOID *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINTN *WindowSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize, IN BOOLEAN DontUseBuffer)
Definition: PxeBcMtftp.c:1145
EFI_STATUS PxeBcTftpReadFile(IN PXEBC_PRIVATE_DATA *Private, IN VOID *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINTN *WindowSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize, IN BOOLEAN DontUseBuffer)
Definition: PxeBcMtftp.c:1041
EFI_STATUS PxeBcTftpWriteFile(IN PXEBC_PRIVATE_DATA *Private, IN VOID *Config, IN UINT8 *Filename, IN BOOLEAN Overwrite, IN UINTN *BlockSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize)
Definition: PxeBcMtftp.c:1094
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29