X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FTcp4Dxe%2FSocket.h;h=95f29a1d75aed4f6cad886bd6d652a3dae005907;hp=2e35f5ecd715ca8e0d53ef1394be8607038daa4a;hb=e48e37fce2611df7a52aff271835ff72ee396d9b;hpb=4f6e31e47bc014da5055fa03779888d87c5e4c2a diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h b/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h index 2e35f5ecd7..95f29a1d75 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h @@ -357,12 +357,12 @@ struct _SOCKET { EFI_HANDLE DriverBinding; // socket't driver binding protocol EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath; EFI_DEVICE_PATH_PROTOCOL *DevicePath; - NET_LIST_ENTRY Link; + LIST_ENTRY Link; SOCK_CONFIGURE_STATE ConfigureState; SOCK_TYPE Type; SOCK_STATE State; UINT16 Flag; - NET_LOCK Lock; // the lock of socket + EFI_LOCK Lock; // the lock of socket SOCK_BUFFER SndBuffer; // send buffer of application's data SOCK_BUFFER RcvBuffer; // receive buffer of received data EFI_STATUS SockError; // the error returned by low layer protocol @@ -374,14 +374,14 @@ struct _SOCKET { UINT32 BackLog; // the limit of connection to this socket UINT32 ConnCnt; // the current count of connections to it SOCKET *Parent; // listening parent that accept the connection - NET_LIST_ENTRY ConnectionList; // the connections maintained by this socket + LIST_ENTRY ConnectionList; // the connections maintained by this socket // // the queue to buffer application's asynchronous token // - NET_LIST_ENTRY ListenTokenList; - NET_LIST_ENTRY RcvTokenList; - NET_LIST_ENTRY SndTokenList; - NET_LIST_ENTRY ProcessingSndTokenList; + LIST_ENTRY ListenTokenList; + LIST_ENTRY RcvTokenList; + LIST_ENTRY SndTokenList; + LIST_ENTRY ProcessingSndTokenList; SOCK_COMPLETION_TOKEN *ConnectionToken; // app's token to signal if connected SOCK_COMPLETION_TOKEN *CloseToken; // app's token to signal if closed @@ -408,7 +408,7 @@ struct _SOCKET { // the token structure buffered in socket layer // typedef struct _SOCK_TOKEN { - NET_LIST_ENTRY TokenList; // the entry to add in the token list + LIST_ENTRY TokenList; // the entry to add in the token list SOCK_COMPLETION_TOKEN *Token; // The application's token UINT32 RemainDataLen; // unprocessed data length SOCKET *Sock; // the poninter to the socket this token