warter -> water
Maunual -> Manual
TCP and UDP --> TCP4 and TCP6
TCP or UDP --> TCP4 or TCP6
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
/**\r
The callback function for Ip6SetAddr. The prototype is defined\r
as IP6_DAD_CALLBACK. It is called after Duplicate Address Detection is performed\r
/**\r
The callback function for Ip6SetAddr. The prototype is defined\r
as IP6_DAD_CALLBACK. It is called after Duplicate Address Detection is performed\r
- for the manual address set by Ip6ConfigSetMaunualAddress.\r
+ for the manual address set by Ip6ConfigSetManualAddress.\r
\r
@param[in] IsDadPassed If TRUE, Duplicate Address Detection passed.\r
@param[in] TargetAddress The tentative IPv6 address to be checked.\r
\r
@param[in] IsDadPassed If TRUE, Duplicate Address Detection passed.\r
@param[in] TargetAddress The tentative IPv6 address to be checked.\r
-Ip6ConfigSetMaunualAddress (\r
+Ip6ConfigSetManualAddress (\r
IN IP6_CONFIG_INSTANCE *Instance,\r
IN UINTN DataSize,\r
IN VOID *Data\r
IN IP6_CONFIG_INSTANCE *Instance,\r
IN UINTN DataSize,\r
IN VOID *Data\r
SET_DATA_ATTRIB (DataItem->Attribute, DATA_ATTRIB_SIZE_FIXED);\r
\r
DataItem = &Instance->DataItem[Ip6ConfigDataTypeManualAddress];\r
SET_DATA_ATTRIB (DataItem->Attribute, DATA_ATTRIB_SIZE_FIXED);\r
\r
DataItem = &Instance->DataItem[Ip6ConfigDataTypeManualAddress];\r
- DataItem->SetData = Ip6ConfigSetMaunualAddress;\r
+ DataItem->SetData = Ip6ConfigSetManualAddress;\r
DataItem->Status = EFI_NOT_FOUND;\r
\r
DataItem = &Instance->DataItem[Ip6ConfigDataTypeGateway];\r
DataItem->Status = EFI_NOT_FOUND;\r
\r
DataItem = &Instance->DataItem[Ip6ConfigDataTypeGateway];\r
///\r
typedef struct _SOCK_BUFFER {\r
UINT32 HighWater; ///< The buffersize upper limit of sock_buffer\r
///\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
NET_BUF_QUEUE *DataQueue; ///< The queue to buffer data\r
} SOCK_BUFFER;\r
\r
\r
SOCKET *Parent; ///< The parent of this socket\r
UINT32 BackLog; ///< The connection limit for listening socket\r
\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
UINT8 IpVersion;\r
VOID *Protocol; ///< The pointer to protocol function template\r
///< wanted to install on socket\r
} SOCK_INIT_DATA;\r
\r
///\r
} 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
///\r
typedef union _NET_PROTOCOL {\r
EFI_TCP4_PROTOCOL Tcp4Protocol; ///< Tcp4 protocol\r
SOCK_PROTO_HANDLER ProtoHandler; ///< The request handler of protocol\r
UINT8 ProtoReserved[PROTO_RESERVED_LEN]; ///< Data fields reserved for protocol\r
UINT8 IpVersion;\r
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
//\r
// Callbacks after socket is created and before socket is to be destroyed.\r
//\r