]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/Socket.h
NetworkPkg/TcpDxe/Sock: Fix few typos
[mirror_edk2.git] / NetworkPkg / TcpDxe / Socket.h
index 874708ea575a44009712e5dff5e42e6aa8fe15d6..9448710a916a9010281978735cf40e462b6a76cf 100644 (file)
 \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
@@ -380,13 +380,13 @@ EFI_STATUS
   );\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
@@ -429,7 +429,7 @@ typedef struct _SOCK_INIT_DATA {
   // 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
@@ -501,7 +501,7 @@ struct _TCP_SOCKET {
   // 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
@@ -512,7 +512,7 @@ typedef struct _SOCK_TOKEN {
   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
@@ -524,7 +524,7 @@ typedef struct _TCP_RSV_DATA {
 } 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
@@ -676,12 +676,12 @@ SockNoMoreData (
 \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
@@ -723,7 +723,7 @@ SockConfigure (
 /**\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