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
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
// 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