/* It will first init some states, then send the WRQ request packet, and start receiving the packet. */
EFI_STATUS Mtftp4WrqStart(IN MTFTP4_PROTOCOL *Instance, IN UINT16 Operation)
/* It will first init some states, then send the WRQ request packet, and start receiving the packet. */
EFI_STATUS Mtftp4WrqStart(IN MTFTP4_PROTOCOL *Instance, IN UINT16 Operation)
{
  EFI_STATUS  Status;
  Status = Mtftp4InitBlockRange (&Instance->Blocks, 0, 0xffff);
  if (EFI_ERROR (Status)) {
    return Status;
  }
  Status = Mtftp4SendRequest (Instance);
  if (EFI_ERROR (Status)) {
    return Status;
  }
  return UdpIoRecvDatagram (Instance->UnicastPort, Mtftp4WrqInput, Instance, 0);
}