\r
@param[in] Sock Pointer to the socket.\r
\r
- @retval TRUE The socket is unconfigued.\r
- @retval FALSE The socket is not unconfigued.\r
+ @retval TRUE The socket is unconfigured.\r
+ @retval FALSE The socket is not unconfigured.\r
\r
**/\r
#define SOCK_IS_UNCONFIGURED(Sock) ((Sock)->ConfigureState == SO_UNCONFIGURED)\r
\r
@param[in] Sock Pointer to the socket\r
\r
- @retval TRUE The socket is configued\r
- @retval FALSE The socket is not configued\r
+ @retval TRUE The socket is configured\r
+ @retval FALSE The socket is not configured\r
\r
**/\r
#define SOCK_IS_CONFIGURED(Sock) \\r
\r
@param[in] Sock Pointer to the socket.\r
\r
- @retval TRUE The socket is configued to active mode.\r
- @retval FALSE The socket is not configued to active mode.\r
+ @retval TRUE The socket is configured to active mode.\r
+ @retval FALSE The socket is not configured to active mode.\r
\r
**/\r
#define SOCK_IS_CONFIGURED_ACTIVE(Sock) ((Sock)->ConfigureState == SO_CONFIGURED_ACTIVE)\r
\r
@param[in] Sock Pointer to the socket.\r
\r
- @retval TRUE The socket is configued to passive mode.\r
- @retval FALSE The socket is not configued to passive mode.\r
+ @retval TRUE The socket is configured to passive mode.\r
+ @retval FALSE The socket is not configured to passive mode.\r
\r
**/\r
#define SOCK_IS_CONNECTED_PASSIVE(Sock) ((Sock)->ConfigureState == SO_CONFIGURED_PASSIVE)\r
);\r
\r
/**\r
- The Callback funtion called after the TCP socket is created.\r
+ The Callback function called after the TCP socket is created.\r
\r
@param[in] This Pointer to the socket just created.\r
@param[in] Context Context of the socket.\r
\r
@retval EFI_SUCCESS This protocol installed successfully.\r
- @retval other Some error occured.\r
+ @retval other Some error occurred.\r
\r
**/\r
typedef\r
// Callbacks after socket is created and before socket is to be destroyed.\r
//\r
SOCK_CREATE_CALLBACK CreateCallback; ///< Callback after created\r
- SOCK_DESTROY_CALLBACK DestroyCallback; ///< Callback before destroied\r
+ SOCK_DESTROY_CALLBACK DestroyCallback; ///< Callback before destroyed\r
VOID *Context; ///< The context of the callback\r
\r
//\r
// Callbacks after socket is created and before socket is to be destroyed.\r
//\r
SOCK_CREATE_CALLBACK CreateCallback; ///< Callback after created\r
- SOCK_DESTROY_CALLBACK DestroyCallback; ///< Callback before destroied\r
+ SOCK_DESTROY_CALLBACK DestroyCallback; ///< Callback before destroyed\r
VOID *Context; ///< The context of the callback\r
};\r
\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
+ SOCKET *Sock; ///< The pointer to the socket this token\r
///< belongs to\r
} SOCK_TOKEN;\r
\r
} TCP_RSV_DATA;\r
\r
//\r
-// Socket provided oprerations for low layer protocol implemented in SockImpl.c\r
+// Socket provided operations for low layer protocol implemented in SockImpl.c\r
//\r
\r
/**\r
\r
/**\r
Create a socket and its associated protocol control block\r
- with the intial data SockInitData and protocol specific\r
+ with the initial data SockInitData and protocol specific\r
data ProtoData.\r
\r
- @param[in] SockInitData Inital data to setting the socket.\r
+ @param[in] SockInitData Initial data to setting the socket.\r
\r
- @return Pointer to the newly created socket. If NULL, an error condition occured.\r
+ @return Pointer to the newly created socket. If NULL, an error condition occurred.\r
\r
**/\r
SOCKET *\r
/**\r
Initiate a connection establishment process.\r
\r
- @param[in] Sock Pointer to the socket to initiate the initate the\r
+ @param[in] Sock Pointer to the socket to initiate the\r
connection.\r
@param[in] Token Pointer to the token used for the connection\r
operation.\r