]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.h
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Support routines for MTFTP
23 #ifndef __EFI_MTFTP4_SUPPORT_H__
24 #define __EFI_MTFTP4_SUPPORT_H__
27 // The structure representing a range of block numbers, [Start, End].
28 // It is used to remember the holes in the MTFTP block space. If all
29 // the holes are filled in, then the download or upload has completed.
39 Mtftp4InitBlockRange (
40 IN NET_LIST_ENTRY
*Head
,
46 Mtftp4GetNextBlockNum (
47 IN NET_LIST_ENTRY
*Head
51 Mtftp4SetLastBlockNum (
52 IN NET_LIST_ENTRY
*Head
,
57 Mtftp4RemoveBlockNum (
58 IN NET_LIST_ENTRY
*Head
,
64 IN MTFTP4_PROTOCOL
*Instance
69 IN MTFTP4_PROTOCOL
*Instance
,
75 IN MTFTP4_PROTOCOL
*Instance
80 IN MTFTP4_PROTOCOL
*Instance
,
87 IN MTFTP4_PROTOCOL
*Instance