]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Tcp4.h
update codes per MdePkg doxgen review comments.
[mirror_edk2.git] / MdePkg / Include / Protocol / Tcp4.h
index fe37899f74c866471cc749ae55892f15f901007c..d750fe9c788ba2ceb0c0dee81664373510613fe9 100644 (file)
@@ -33,7 +33,7 @@
 typedef struct _EFI_TCP4_PROTOCOL EFI_TCP4_PROTOCOL;\r
 \r
 typedef struct {\r
-  EFI_HANDLE        InstanceHandle;\r
+  EFI_HANDLE              InstanceHandle;\r
   EFI_IPv4_ADDRESS        LocalAddress;\r
   UINT16                  LocalPort;\r
   EFI_IPv4_ADDRESS        RemoteAddress;\r
@@ -92,6 +92,9 @@ typedef struct {
   EFI_TCP4_OPTION         *ControlOption;\r
 } EFI_TCP4_CONFIG_DATA;\r
 \r
+///\r
+/// TCP4 connnection state\r
+///\r
 typedef enum {\r
   Tcp4StateClosed         = 0,\r
   Tcp4StateListen         = 1,\r
@@ -475,48 +478,13 @@ EFI_STATUS
   IN EFI_TCP4_PROTOCOL                   *This\r
   );\r
 \r
-/**  \r
-  @par Protocol Description:\r
-  The EFI_TCP4_PROTOCOL defines the EFI TCPv4 Protocol child to be used by \r
-  any network drivers or applications to send or receive data stream. \r
-  It can either listen on a specified port as a service or actively connected \r
-  to remote peer as a client. Each instance has its own independent settings, \r
-  such as the routing table.\r
-\r
-  @param GetModeData\r
-  Get the current operational status. \r
-\r
-  @param Configure\r
-  Initialize, change, or brutally reset operational settings of the EFI TCPv4 Protocol. \r
-\r
-  @param Routes\r
-  Add or delete routing entries for this TCP4 instance. \r
-\r
-  @param Connect\r
-  Initiate the TCP three-way handshake to connect to the remote peer \r
-  configured in this TCP instance. The function is a nonblocking operation. \r
-\r
-  @param Accept\r
-  Listen for incoming TCP connection request. This function is a nonblocking operation. \r
-\r
-  @param Transmit\r
-  Queue outgoing data to the transmit queue. This function is a nonblocking operation. \r
-\r
-  @param Receive\r
-  Queue a receiving request token to the receive queue. This function is \r
-  a nonblocking operation. \r
-\r
-  @param Close\r
-  Gracefully disconnecting a TCP connection follow RFC 793 or reset a TCP \r
-  connection. This function is a nonblocking operation. \r
-\r
-  @param Cancel\r
-  Abort a pending connect, listen, transmit or receive request. \r
-\r
-  @param Poll\r
-  Poll to receive incoming data and transmit outgoing TCP segments. \r
-\r
-**/\r
+///\r
+/// The EFI_TCP4_PROTOCOL defines the EFI TCPv4 Protocol child to be used by \r
+/// any network drivers or applications to send or receive data stream. \r
+/// It can either listen on a specified port as a service or actively connected \r
+/// to remote peer as a client. Each instance has its own independent settings, \r
+/// such as the routing table.\r
+///\r
 struct _EFI_TCP4_PROTOCOL {\r
   EFI_TCP4_GET_MODE_DATA                 GetModeData;\r
   EFI_TCP4_CONFIGURE                     Configure;\r