SOCK6 Struct Reference

The structure describes the IPv6 Socket data structure. More...

#include <sockif.h>

Collaboration diagram for SOCK6:

[legend]

Data Fields

FILEDESC fd
 File descriptor header.
UINT8 Family
 Address family of the socket (AF_INET6).
UINT8 SockType
 Socket Type (SOCK_STREAM/SOCK_DGRAM/SOCK_RAW).
UINT8 Protocol
 IP Protocol (TCP/UDP/ICMPV6 etc).
UINT32 FlowLabel
 Flow label associated with the socket.
UINT8 HopLimit
 Hop Limit for Unicast packets.
UINT32 ScopeId
 Scope ID associated with the socket.
UINT16 SockPriority
 Socket Priority.
UINT32 SockProt
 Socket Protocol Handler (SOCKPROT_NONE/SOCKPROT_TCP/ SOCKPROT_UDP/SOCKPROT_RAW).
uint OptionFlags
 Socket Option flags (SO_...) as defined in socket.h.
uint StateFlags
 Socket State flags (SS_...). Defined and used by NDK core stack internally.
UINT32 dwLingerTime
 Time used when SO_LINGER set.
SOCK6pProtNext
 Pointer to next socket in protocol list.
SOCK6pProtPrev
 Pointer to previous socket in protocol list.
IP6N FIP
 Foreign Host's IPv6 Address.
UINT16 FPort
 Foreign Host's Port.
IP6N LIP
 Local IPv6 Address (NULL for wildcard).
UINT16 LPort
 Local Port to which socket is bound (NULL if not bound).
IP6N BIP
 IPv6 Address to which this socket is bound (valid for DGRAM sockets).
UINT16 BPort
 Port to which this socket is bound (valid for DGRAM sockets).
HANDLE hTP
 Handle to Protocol specific data.
HANDLE hRoute6
 Handle to the cached V6 Route.
HANDLE hIFTx
 Handle to default Interface for transmit.
SOCK6pParent
 Handle to the parent socket.
SOCK6pPrevQ
 Previous Socket in Pending/ready queue.
SOCK6pPending
 Pending connection sockets list.
SOCK6pReady
 Ready/connected sockets list.
UINT32 ConnMax
 Maximum allowed pending/ready connections on this socket.
UINT32 ConnTotal
 Total number of current connections on socket.
int ErrorPending
 Error returned on socket call.
INT32 OOBMark
 Out of band info mark.
uint OOBData
 Out of band info data.
UINT32 RxTimeout
 Receive Timeout for stream sockets.
UINT32 TxTimeout
 Transmit Timeout for stream sockets.
UINT32 RxBufSize
 Receive buffer size.
UINT32 TxBufSize
 Transmit buffer size.
HANDLE hSBRx
 Handle to Receive buffer of the socket.
HANDLE hSBTx
 Handle to Transmit buffer of the socket.

Detailed Description

The structure describes the IPv6 Socket data structure.

This data structure identifies a socket used for communication over IPv6.


The documentation for this struct was generated from the following file:
Copyright 2009, Texas Instruments Incorporated