10 #ifndef __TEE_ISOCKET_H__ 11 #define __TEE_ISOCKET_H__ 13 #include <tee_internal_api.h> 33 enum tee_sockets_function_id {
34 ID_TEE_Sockets_Open = 0x101,
35 ID_TEE_Sockets_Close = 0x102,
36 ID_TEE_Sockets_Send = 0x103,
37 ID_TEE_Sockets_Recv = 0x104,
38 ID_TEE_Sockets_Error = 0x105,
39 ID_TEE_Sockets_Ioctl = 0x106
70 uint32_t *protocolError);
120 #endif //__TEE_ISOCKET_H__ TEE_Result(* ioctl)(TEE_iSocketHandle ctx, uint32_t commandCode, void *buf, uint32_t *length)
Definition: tee_isocket.h:90
Definition: tee_isocket.h:24
uint32_t TEE_iSocketVersion
Definition: tee_isocket.h:64
Definition: tee_isocket.h:23
uint32_t(* error)(TEE_iSocketHandle ctx)
Definition: tee_isocket.h:87
Definition: tee_isocket.h:22
TEE_Result(* recv)(TEE_iSocketHandle ctx, void *buf, uint32_t *length, uint32_t timeout)
Definition: tee_isocket.h:81
uint8_t protocolID
Definition: tee_isocket.h:65
Definition: tee_isocket.h:106
struct __TEE_iSocketHandle * TEE_iSocketHandle
iSocket context handle
Definition: tee_isocket.h:46
Definition: tee_isocket.h:115
Definition: tee_isocket.h:114
Definition: tee_isocket.h:20
TEE_Result(* close)(TEE_iSocketHandle ctx)
Definition: tee_isocket.h:72
Definition: tee_isocket.h:25
Definition: tee_isocket.h:26
TEE_Result(* send)(TEE_iSocketHandle ctx, const void *buf, uint32_t *length, uint32_t timeout)
Definition: tee_isocket.h:75
const struct TEE_iSocket_s TEE_iSocket
iSocket instance Please refer to GPD_SPE_100 specification for detailed description. Basic rules are following:
Definition: tee_isocket.h:21
enum TEE_ipSocket_ipVersion_e TEE_ipSocket_ipVersion
IP version.
TEE_ipSocket_ipVersion_e
IP version.
Definition: tee_isocket.h:112
iSocket instance Please refer to GPD_SPE_100 specification for detailed description. Basic rules are following:
Definition: tee_isocket.h:63
TEE_Result(* open)(TEE_iSocketHandle *ctx, void *setup, uint32_t *protocolError)
Definition: tee_isocket.h:67
Definition: tee_isocket.h:113