Newer
Older
AMI-Aptio-BIOS-Reversed / Mtftp4Dxe / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Init

Mtftp4Dxe

Index Module Size Phase
150 Mtftp4Dxe 41,248 bytes (40 KB) Decompiled

Mtftp4Dxe implements the UEFI MTFTP4 (Multicast Trivial File Transfer Protocol) driver for PXE network boot. It provides the EFI_MTFTP4_PROTOCOL and EFI_MTFTP4_SERVICE_BINDING_PROTOCOL for file transfer over UDP/IPv4, supporting both unicast and multicast TFTP sessions. The driver implements the MTFTP4 state machine including session management, packet retransmission with exponential backoff, block numbering, and TFTP option negotiation (block size, timeout, file size).

Key Functions

  • ModuleEntryPoint, Mtftp4LibConstructor, Mtftp4DriverEntryPoint
  • Mtftp4CreateService, Mtftp4DestroyService
  • Mtftp4ServiceBindingCreateChild, Mtftp4ServiceBindingDestroyChild
  • Mtftp4GetModeData, Mtftp4Configure, Mtftp4GetInfo, Mtftp4ParseOptions
  • Mtftp4ReadFile, Mtftp4WriteFile, Mtftp4ReadDirectory
  • Mtftp4Poll, Mtftp4Timeout, Mtftp4Retransmit
  • Mtftp4UdpTransmit, Mtftp4UdpReceive

Dependencies

  • EFI_MTFTP4_PROTOCOL, EFI_MTFTP4_SERVICE_BINDING_PROTOCOL
  • UefiBootServicesTableLib, UefiRuntimeServicesTableLib, BaseMemoryLib
  • DxeNetLib, DxeUdpIoLib, DxeDpcLib

Platform

x86-64, PE32+, UEFI DXE driver, 6 sections (.text/.rdata/.data/section_3/.xdata/.reloc), entry at 0x528