| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

tee_tcpsocket.h
Go to the documentation of this file.
1
9 #ifndef __TEE_ISOCKET_TCP__
10 #define __TEE_ISOCKET_TCP__
11
12 #include "tee_isocket.h"
13
17 enum {
18 TEE_ISOCKET_TCP_API_VERSION = 0x01010000
19 };
20
24 enum {
25 TEE_ISOCKET_PROTOCOLID_TCP = 0x65
26 };
27
31 enum {
32 TEE_ISOCKET_TCP_WARNING_UNKNOWN_OUT_OF_BAND = 0xF1010002,
33 };
34
38 typedef struct TEE_tcpSocket_Setup_s {
39 uint32_t apiVersion;
40 TEE_ipSocket_ipVersion ipVersion;
41 char *server_addr;
46 int server_port;
47 uint32_t openTimeout;
48 } TEE_tcpSocket_Setup;
49
53 extern const TEE_iSocket *const TEE_tcpSocket DSO_EXPORT;
54
55 #endif /* !__TEE_ISOCKET_TCP__ */
56
TEE_tcpSocket_Setup_s
TCP Setup structure.
Definition: tee_tcpsocket.h:38
TEE_ISOCKET_TCP_WARNING_UNKNOWN_OUT_OF_BAND
Definition: tee_tcpsocket.h:32
TEE_tcpSocket_Setup_s::server_port
int server_port
Definition: tee_tcpsocket.h:46
TEE_tcpSocket_Setup
struct TEE_tcpSocket_Setup_s TEE_tcpSocket_Setup
TCP Setup structure.
TEE_tcpSocket_Setup_s::openTimeout
uint32_t openTimeout
Definition: tee_tcpsocket.h:47
TEE_tcpSocket_Setup_s::ipVersion
TEE_ipSocket_ipVersion ipVersion
Definition: tee_tcpsocket.h:40
TEE_ISOCKET_PROTOCOLID_TCP
Definition: tee_tcpsocket.h:25
TEE_ISOCKET_TCP_API_VERSION
Definition: tee_tcpsocket.h:18
TEE_tcpSocket_Setup_s::apiVersion
uint32_t apiVersion
Definition: tee_tcpsocket.h:39
TEE_tcpSocket
const TEE_iSocket *const TEE_tcpSocket
Public TCP instance pointer.
tee_isocket.h
GP iSockets interface (GPD_SPE_100)
TEE_tcpSocket_Setup_s::server_addr
char * server_addr
Definition: tee_tcpsocket.h:41
TEE_ipSocket_ipVersion
enum TEE_ipSocket_ipVersion_e TEE_ipSocket_ipVersion
IP version.
TEE_iSocket_s
iSocket instance Please refer to GPD_SPE_100 specification for detailed description. Basic rules are following:
Definition: tee_isocket.h:63