X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FTcp4.h;h=d750fe9c788ba2ceb0c0dee81664373510613fe9;hp=9fb8f5d1e3f66d1cff776e519f24c94829823942;hb=f754f721bf10508ca15c5c9243caa39c765662cf;hpb=8377875baae7bdbb89d6e63e8d74ace9a3f2cd59 diff --git a/MdePkg/Include/Protocol/Tcp4.h b/MdePkg/Include/Protocol/Tcp4.h index 9fb8f5d1e3..d750fe9c78 100644 --- a/MdePkg/Include/Protocol/Tcp4.h +++ b/MdePkg/Include/Protocol/Tcp4.h @@ -92,6 +92,9 @@ typedef struct { EFI_TCP4_OPTION *ControlOption; } EFI_TCP4_CONFIG_DATA; +/// +/// TCP4 connnection state +/// typedef enum { Tcp4StateClosed = 0, Tcp4StateListen = 1, @@ -475,48 +478,13 @@ EFI_STATUS IN EFI_TCP4_PROTOCOL *This ); -/** - @par Protocol Description: - The EFI_TCP4_PROTOCOL defines the EFI TCPv4 Protocol child to be used by - any network drivers or applications to send or receive data stream. - It can either listen on a specified port as a service or actively connected - to remote peer as a client. Each instance has its own independent settings, - such as the routing table. - - @param GetModeData - Get the current operational status. - - @param Configure - Initialize, change, or brutally reset operational settings of the EFI TCPv4 Protocol. - - @param Routes - Add or delete routing entries for this TCP4 instance. - - @param Connect - Initiate the TCP three-way handshake to connect to the remote peer - configured in this TCP instance. The function is a nonblocking operation. - - @param Accept - Listen for incoming TCP connection request. This function is a nonblocking operation. - - @param Transmit - Queue outgoing data to the transmit queue. This function is a nonblocking operation. - - @param Receive - Queue a receiving request token to the receive queue. This function is - a nonblocking operation. - - @param Close - Gracefully disconnecting a TCP connection follow RFC 793 or reset a TCP - connection. This function is a nonblocking operation. - - @param Cancel - Abort a pending connect, listen, transmit or receive request. - - @param Poll - Poll to receive incoming data and transmit outgoing TCP segments. - -**/ +/// +/// The EFI_TCP4_PROTOCOL defines the EFI TCPv4 Protocol child to be used by +/// any network drivers or applications to send or receive data stream. +/// It can either listen on a specified port as a service or actively connected +/// to remote peer as a client. Each instance has its own independent settings, +/// such as the routing table. +/// struct _EFI_TCP4_PROTOCOL { EFI_TCP4_GET_MODE_DATA GetModeData; EFI_TCP4_CONFIGURE Configure;