_TCP_SOCKET Struct Reference


Data Fields

UINT32 Signature
 Signature of the socket.
EFI_HANDLE SockHandle
 The virtual handle of the socket.
EFI_HANDLE DriverBinding
 Socket's driver binding protocol.
EFI_DEVICE_PATH_PROTOCOL * ParentDevicePath
EFI_DEVICE_PATH_PROTOCOL * DevicePath
LIST_ENTRY Link
UINT8 ConfigureState
SOCK_TYPE Type
UINT8 State
UINT16 Flag
EFI_LOCK Lock
 The lock of socket.
SOCK_BUFFER SndBuffer
 Send buffer of application's data.
SOCK_BUFFER RcvBuffer
 Receive buffer of received data.
EFI_STATUS SockError
 The error returned by low layer protocol.
BOOLEAN InDestroy
UINT32 BackLog
 the limit of connection to this socket
UINT32 ConnCnt
 the current count of connections to it
SOCKETParent
 listening parent that accept the connection
LIST_ENTRY ConnectionList
 the connections maintained by this socket
LIST_ENTRY ListenTokenList
LIST_ENTRY RcvTokenList
LIST_ENTRY SndTokenList
LIST_ENTRY ProcessingSndTokenList
SOCK_COMPLETION_TOKENConnectionToken
 app's token to signal if connected
SOCK_COMPLETION_TOKENCloseToken
 app's token to signal if closed
SOCK_PROTO_HANDLER ProtoHandler
 The request handler of protocol.
UINT8 ProtoReserved [PROTO_RESERVED_LEN]
 Data fields reserved for protocol.
UINT8 IpVersion
NET_PROTOCOL NetProtocol
 TCP or UDP protocol socket used.
SOCK_CREATE_CALLBACK CreateCallback
 Callback after created.
SOCK_DESTROY_CALLBACK DestroyCallback
 Callback before destroied.
VOID * Context
 The context of the callback.

Detailed Description

The socket structure representing a network service access point.

Field Documentation

the limit of connection to this socket

Referenced by SockCreate().

app's token to signal if closed

the current count of connections to it

Referenced by SockAccept(), SockCreate(), and SockWakeListenToken().

the connections maintained by this socket

Referenced by SockCreate().

app's token to signal if connected

The context of the callback.

Referenced by SockCreate().

Callback after created.

Referenced by SockCreate().

Callback before destroied.

Referenced by SockCreate().

EFI_DEVICE_PATH_PROTOCOL* _TCP_SOCKET::DevicePath

Referenced by TcpFlushPcb().

Socket's driver binding protocol.

Referenced by SockCreate().

LIST_ENTRY _TCP_SOCKET::Link

Referenced by SockCreate().

Referenced by SockCreate(), and SockWakeListenToken().

The lock of socket.

Referenced by SockCreate(), and SockCreateChild().

TCP or UDP protocol socket used.

Referenced by SockCreate().

listening parent that accept the connection

Referenced by SockAccept(), SockCreate(), and SockWakeListenToken().

EFI_DEVICE_PATH_PROTOCOL* _TCP_SOCKET::ParentDevicePath

Referenced by SockCreate().

The request handler of protocol.

Referenced by SockCreate(), SockCreateChild(), Tcp4Poll(), and Tcp6Poll().

UINT8 _TCP_SOCKET::ProtoReserved[PROTO_RESERVED_LEN]

Data fields reserved for protocol.

Referenced by SockCreate(), Tcp6RefreshNeighbor(), TcpCloneTcb(), and TcpSendIpPacket().

Receive buffer of received data.

Referenced by SockCreate().

Referenced by SockCreate().

Signature of the socket.

Referenced by SockCreate().

Send buffer of application's data.

Referenced by SockCreate().

Referenced by SockCreate().

The error returned by low layer protocol.

Referenced by SockCreate().

Referenced by SockCreate(), and Tcp4GetMode().

Referenced by SockCreate().


Generated on Mon Sep 28 08:49:07 2015 for NetworkPkg[ALL] by  doxygen 1.5.7.1