]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h
Use Mde library and definition instead of some native definitions in NetLib, to simpl...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Tcp4Dxe / Socket.h
index 2e35f5ecd715ca8e0d53ef1394be8607038daa4a..95f29a1d75aed4f6cad886bd6d652a3dae005907 100644 (file)
@@ -357,12 +357,12 @@ struct _SOCKET {
   EFI_HANDLE            DriverBinding;  // socket't driver binding protocol\r
   EFI_DEVICE_PATH_PROTOCOL  *ParentDevicePath;\r
   EFI_DEVICE_PATH_PROTOCOL  *DevicePath;\r
-  NET_LIST_ENTRY            Link;  \r
+  LIST_ENTRY                Link;  \r
   SOCK_CONFIGURE_STATE  ConfigureState;\r
   SOCK_TYPE             Type;\r
   SOCK_STATE            State;\r
   UINT16                Flag;\r
-  NET_LOCK              Lock;       // the lock of socket\r
+  EFI_LOCK              Lock;       // the lock of socket\r
   SOCK_BUFFER           SndBuffer;  // send buffer of application's data\r
   SOCK_BUFFER           RcvBuffer;  // receive buffer of received data\r
   EFI_STATUS            SockError;  // the error returned by low layer protocol\r
@@ -374,14 +374,14 @@ struct _SOCKET {
   UINT32          BackLog;        // the limit of connection to this socket\r
   UINT32          ConnCnt;        // the current count of connections to it\r
   SOCKET          *Parent;        // listening parent that accept the connection\r
-  NET_LIST_ENTRY  ConnectionList; // the connections maintained by this socket\r
+  LIST_ENTRY      ConnectionList; // the connections maintained by this socket\r
   //\r
   // the queue to buffer application's asynchronous token\r
   //\r
-  NET_LIST_ENTRY  ListenTokenList;\r
-  NET_LIST_ENTRY  RcvTokenList;\r
-  NET_LIST_ENTRY  SndTokenList;\r
-  NET_LIST_ENTRY  ProcessingSndTokenList;\r
+  LIST_ENTRY      ListenTokenList;\r
+  LIST_ENTRY      RcvTokenList;\r
+  LIST_ENTRY      SndTokenList;\r
+  LIST_ENTRY      ProcessingSndTokenList;\r
 \r
   SOCK_COMPLETION_TOKEN *ConnectionToken; // app's token to signal if connected\r
   SOCK_COMPLETION_TOKEN *CloseToken;      // app's token to signal if closed\r
@@ -408,7 +408,7 @@ struct _SOCKET {
 // the token structure buffered in socket layer\r
 //\r
 typedef struct _SOCK_TOKEN {\r
-  NET_LIST_ENTRY        TokenList;      // the entry to add in the token list\r
+  LIST_ENTRY            TokenList;      // the entry to add in the token list\r
   SOCK_COMPLETION_TOKEN *Token;         // The application's token\r
   UINT32                RemainDataLen;  // unprocessed data length\r
   SOCKET                *Sock;          // the poninter to the socket this token\r