18#ifndef __EFI_MTFTP4_IMPL_H__
19#define __EFI_MTFTP4_IMPL_H__
45#define MTFTP4_SERVICE_SIGNATURE SIGNATURE_32 ('T', 'F', 'T', 'P')
46#define MTFTP4_PROTOCOL_SIGNATURE SIGNATURE_32 ('t', 'f', 't', 'p')
48#define MTFTP4_DEFAULT_SERVER_PORT 69
49#define MTFTP4_DEFAULT_TIMEOUT 3
50#define MTFTP4_DEFAULT_RETRY 5
51#define MTFTP4_DEFAULT_BLKSIZE 512
52#define MTFTP4_DEFAULT_WINDOWSIZE 1
53#define MTFTP4_TIME_TO_GETMAP 5
55#define MTFTP4_STATE_UNCONFIGED 0
56#define MTFTP4_STATE_CONFIGED 1
57#define MTFTP4_STATE_DESTROY 2
134 UINT16 ListeningPort;
135 UINT16 ConnectedPort;
160 UINTN NumberOfChildren;
217#define MTFTP4_SERVICE_FROM_THIS(a) \
218 CR (a, MTFTP4_SERVICE, ServiceBinding, MTFTP4_SERVICE_SIGNATURE)
220#define MTFTP4_PROTOCOL_FROM_THIS(a) \
221 CR (a, MTFTP4_PROTOCOL, Mtftp4, MTFTP4_PROTOCOL_SIGNATURE)
EFI_STATUS Mtftp4RrqStart(IN MTFTP4_PROTOCOL *Instance, IN UINT16 Operation)
EFI_STATUS Mtftp4WrqStart(IN MTFTP4_PROTOCOL *Instance, IN UINT16 Operation)
VOID Mtftp4CleanOperation(IN OUT MTFTP4_PROTOCOL *Instance, IN EFI_STATUS Result)
EFI_EVENT Timer
Ticking timer for all the MTFTP clients to handle the packet timeout case.
EFI_EVENT TimerNotifyLevel
Ticking timer for all the MTFTP clients to calculate the packet live time.