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

Dhcp4Dxe

Index Module Size Phase
148 Dhcp4Dxe 43,040 bytes (42 KB) Decompiled

Dhcp4Dxe implements the DHCPv4 protocol driver for the AMI UEFI network stack. It provides the EFI_DHCP4_PROTOCOL and EFI_DHCP4_SERVICE_BINDING_PROTOCOL interfaces, managing the full DHCP state machine including discover, offer, request, acknowledge, renew, rebind, and release sequences. The driver handles PXE boot server discovery, DHCP option parsing and building, UDP transport via the UdpIo library, and a timer-driven retry mechanism.

Key Functions

  • ModuleEntryPoint, Dhcp4DriverSupported, Dhcp4DriverStart, Dhcp4DriverStop
  • Dhcp4ServiceBindingCreateChild, Dhcp4ServiceBindingDestroyChild
  • Dhcp4GetModeData, Dhcp4Configure, Dhcp4Initialize, Dhcp4RenewRebind
  • Dhcp4Release, Dhcp4Stop, Dhcp4Build, Dhcp4TransmitReceive, Dhcp4Parse
  • Dhcp4SendMessage, Dhcp4RxCallback, Dhcp4ReceiveDpc, Dhcp4TimerNotify

Dependencies

  • EFI_DHCP4_PROTOCOL, EFI_DHCP4_SERVICE_BINDING_PROTOCOL
  • DxeNetLib, DxeUdpIoLib, DxeDpcLib, UefiLib, BaseLib, BaseMemoryLib

Platform

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