]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/Socket.h
NetworkPkg: Typo fix and comments correction
[mirror_edk2.git] / NetworkPkg / TcpDxe / Socket.h
index 371e9abd8455851f562f41aba6a5aed6b60a6516..f7f4a7ad86640fc0690cbe7a8714bd07c89ba62c 100644 (file)
@@ -361,7 +361,7 @@ typedef enum {
 ///\r
 typedef struct _SOCK_BUFFER {\r
   UINT32        HighWater;  ///< The buffersize upper limit of sock_buffer\r
-  UINT32        LowWater;   ///< The low warter mark of sock_buffer\r
+  UINT32        LowWater;   ///< The low water mark of sock_buffer\r
   NET_BUF_QUEUE *DataQueue; ///< The queue to buffer data\r
 } SOCK_BUFFER;\r
 \r
@@ -425,8 +425,8 @@ typedef struct _SOCK_INIT_DATA {
 \r
   SOCKET                 *Parent;        ///< The parent of this socket\r
   UINT32                 BackLog;        ///< The connection limit for listening socket\r
-  UINT32                 SndBufferSize;  ///< The high warter mark of send buffer\r
-  UINT32                 RcvBufferSize;  ///< The high warter mark of receive buffer\r
+  UINT32                 SndBufferSize;  ///< The high water mark of send buffer\r
+  UINT32                 RcvBufferSize;  ///< The high water mark of receive buffer\r
   UINT8                  IpVersion;\r
   VOID                   *Protocol;      ///< The pointer to protocol function template\r
                                          ///< wanted to install on socket\r
@@ -450,7 +450,7 @@ typedef struct _SOCK_INIT_DATA {
 } SOCK_INIT_DATA;\r
 \r
 ///\r
-///  The union type of TCP and UDP protocol.\r
+///  The union type of TCP4 and TCP6 protocol.\r
 ///\r
 typedef union _NET_PROTOCOL {\r
   EFI_TCP4_PROTOCOL      Tcp4Protocol;    ///< Tcp4 protocol\r
@@ -502,7 +502,7 @@ struct _TCP_SOCKET {
   SOCK_PROTO_HANDLER        ProtoHandler;     ///< The request handler of protocol\r
   UINT8                     ProtoReserved[PROTO_RESERVED_LEN];  ///< Data fields reserved for protocol\r
   UINT8                     IpVersion;\r
-  NET_PROTOCOL              NetProtocol;                        ///< TCP or UDP protocol socket used\r
+  NET_PROTOCOL              NetProtocol;                        ///< TCP4 or TCP6 protocol socket used\r
   //\r
   // Callbacks after socket is created and before socket is to be destroyed.\r
   //\r