]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.h
sync comments, fix function header, rename variable name to follow coding style.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Mtftp4Dxe / Mtftp4Impl.h
index 94915066017aa81ec382cdb29e5a2024ffd9f750..04ca1a1eb38ae876a0e4faf3c3ed7a37a7b388ce 100644 (file)
@@ -71,7 +71,7 @@ struct _MTFTP4_SERVICE {
   BOOLEAN                       InDestory;\r
 \r
   UINT16                        ChildrenNum;\r
-  NET_LIST_ENTRY                Children;\r
+  LIST_ENTRY                    Children;\r
 \r
   EFI_EVENT                     Timer;  // Ticking timer for all the MTFTP clients\r
   EFI_EVENT                     TimerToGetMap;\r
@@ -86,9 +86,15 @@ struct _MTFTP4_SERVICE {
   UDP_IO_PORT                   *ConnectUdp;\r
 };\r
 \r
+typedef struct {\r
+  EFI_MTFTP4_PACKET             **Packet;\r
+  UINT32                        *PacketLen;\r
+  EFI_STATUS                    Status;\r
+} MTFTP4_GETINFO_STATE;\r
+\r
 struct _MTFTP4_PROTOCOL {\r
   UINT32                        Signature;\r
-  NET_LIST_ENTRY                Link;\r
+  LIST_ENTRY                    Link;\r
   EFI_MTFTP4_PROTOCOL           Mtftp4;\r
 \r
   INTN                          State;\r
@@ -112,7 +118,7 @@ struct _MTFTP4_PROTOCOL {
   //\r
   UINT16                        BlkSize;\r
   UINT16                        LastBlock;\r
-  NET_LIST_ENTRY                Blocks;\r
+  LIST_ENTRY                    Blocks;\r
 \r
   //\r
   // The server's communication end point: IP and two ports. one for\r
@@ -140,13 +146,9 @@ struct _MTFTP4_PROTOCOL {
   UINT16                        McastPort;\r
   BOOLEAN                       Master;\r
   UDP_IO_PORT                   *McastUdpPort;\r
-};\r
 \r
-typedef struct {\r
-  EFI_MTFTP4_PACKET             **Packet;\r
-  UINT32                        *PacketLen;\r
-  EFI_STATUS                    Status;\r
-} MTFTP4_GETINFO_STATE;\r
+  MTFTP4_GETINFO_STATE          GetInfoState;\r
+};\r
 \r
 VOID\r
 Mtftp4CleanOperation (\r