DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

SocketInfo(D4pccard)


SocketInfo -- describe specific information about a socket

Syntax

   #include <sys/lcs.h>
   #include <sys/lss.h>
   

Description

The SocketInfo structure contains information about the socket that added to the CardService.

Structure definition

   AddSocketServiceInfo_t	*pSocketServiceInfo;
   SSEntry_t	       	pfSSEntry;
   struct tcb_list		SocketOpen;		
   struct tcb_list		SocketClose;
   struct tcb_list		SocketUnreset;
   unsigned short         	usSocket;
   SocketState_t   	SocketState;
   SocketCap_t     	Capability;		
   unsigned short         	usState;
   ClientHandle_t         	*pClientHandle;
   ClientHandle_t         	*pSocketReset;
   unsigned long          	ulUnresetTimeout;
   PCCardMemMap_t         	AMem;
   unsigned short         	usAttributes;
   unsigned char          	ucVcc;
   unsigned char          	ucVpp1;
   unsigned char          	ucVpp2;
   unsigned char          	ucIntType;
   unsigned long          	ulConfigBase;
   unsigned char          	ucStatus;
   unsigned char          	ucPin;
   unsigned char          	ucCopy;
   unsigned char          	ucOption;
   unsigned char          	ucPresent;
   unsigned char          	ucFirstDevType;
   unsigned char          	ucFuncCode;
   unsigned char          	ucSysInitMask;
   unsigned short         	usManufCode;
   unsigned short         	usManufInfo;
   unsigned char		ucCardValues;
   RelReqIO_		IOInfo;
   RelReqIRQ_t            	*pIRQInfo;
   RelReqDMA_t            	DMAInfo;
   WindowHandle_t         	*apWindowHandle[ MAX_MEM_WINDOW ];
The AddSocketServiceInfo structure is defined as:
   unsigned short	usAttributes;		/* Information about SS */
   DataPointer_t	DataPointer;		/* Pointer for SS Data */
The DataPointer structure is defined as:
   unsigned short  	usNumSocket;

Structure members

The members are defined as:

pSocketServiceInfo
Pointer to an AddSocketServiceInfo_t structure.

pfSSEntry
Pointer to SSEntry(D4pccard) structure.

SocketOpen
Pointer to the function to open the socket.

SocketClose
Pointer to the function to close the socket.

SocketUnreset
Pointer to the function to pull the reset line Hi.

usSocket
Logical socket.

SocketState
Socket state.

Capability
Capability of the socket.

pClientHandle
Pointer to the ClientHandle(D4pccard) structure used for callback.

pSocketReset
Pointer to the function to put the socket in Reset mode.

ulUnresetTimeout
Pointer to function that toggles the timer Hi.

AMem
Attribute memory descriptor.

usAttributes
Socket attributes.

ucVcc
Vpp power of socket.

ucVpp1
Vpp1 power of socket.

ucVpp2
Vpp2 power of socket.

ucIntType
Interface type, such as PC Card or CardBus.

ulConfigBase
Address of configuration register.

ucStatus
Address of status register.

ucPin
Address of pin register.

ucCopy
Address of copy register.

ucOption
Address of option register.

ucPresent
Address of present register.

ucFuncCode
Function code of the card with the socket.

ucSysInitMask

usManufCode
Manufacturing code of the card within the socket.

usManufInfo
Manufacturing information.

IOInfo
Pointer to RelReqIO(D4pccard) structure.

pIRQInfo
Pointer to RelReqIRQ(D4pccard) structure.

DMAInfo
Pointer to RelReqIRQ(D4pccard) structure.

apWindowHandle [ MAX_MEM_WINDOW }
Pointer to WindowHandle(D4pccard) structure.

The members of the AddSocketServicesInfo structure are defined as:


usAttributes
Information about socket services.

DataPointer
Pointer for socket service data.
The DataPointer structure contains one member:

usNumSocket

Usage

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

AddSocketServices(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005