| Samsung Internal API reference 2.0

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

- File List
- Globals

tee_udpsocket.h
Go to the documentation of this file.
1
9 #ifndef __TEE_ISOCKET_UDP__
10 #define __TEE_ISOCKET_UDP__
11
12 #include "tee_isocket.h"
13
17 enum {
18 TEE_ISOCKET_UDP_API_VERSION = 0x01000000
19 };
20
24 enum {
25 TEE_ISOCKET_PROTOCOLID_UDP = 0x66
26 };
27
31 enum {
32 TEE_ISOCKET_UDP_WARNING_UNKNOWN_OUT_OF_BAND = 0xF1020002,
33 };
34
38 typedef struct TEE_udpSocket_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_udpSocket_Setup;
49
53 enum {
54 TEE_UDP_CHANGEADDR = 0x66000001,
55 TEE_UDP_CHANGEPORT = 0x66000002,
56 };
57
64 typedef struct TEE_udpSocket_Change_s {
65 char server_addr[TEE_ISOCKET_SERVER_NAME_MAX_LENGTH];
66 int server_port;
67 } TEE_udpSocket_Change;
68
72 extern const TEE_iSocket *const TEE_udpSocket DSO_EXPORT;
73
74 #endif /* !__TEE_ISOCKET_UDP__ */
75
TEE_udpSocket_Setup_s::server_addr
char * server_addr
Definition: tee_udpsocket.h:41
TEE_udpSocket_Setup_s::apiVersion
uint32_t apiVersion
Definition: tee_udpsocket.h:39
TEE_ISOCKET_SERVER_NAME_MAX_LENGTH
Definition: tee_isocket.h:106
TEE_udpSocket_Change
struct TEE_udpSocket_Change_s TEE_udpSocket_Change
UDP change addr and port IOCTL structure. TEE_UDP_CHANGE* functions are implementation as synonims...
TEE_udpSocket_Setup_s
UDP Setup structure.
Definition: tee_udpsocket.h:38
TEE_udpSocket_Change_s
UDP change addr and port IOCTL structure. TEE_UDP_CHANGE* functions are implementation as synonims...
Definition: tee_udpsocket.h:64
TEE_udpSocket_Setup
struct TEE_udpSocket_Setup_s TEE_udpSocket_Setup
UDP Setup structure.
TEE_ISOCKET_UDP_API_VERSION
Definition: tee_udpsocket.h:18
TEE_udpSocket_Change_s::server_port
int server_port
Definition: tee_udpsocket.h:66
TEE_udpSocket
const TEE_iSocket *const TEE_udpSocket
Public UDP instance pointer.
tee_isocket.h
GP iSockets interface (GPD_SPE_100)
TEE_udpSocket_Setup_s::server_port
int server_port
Definition: tee_udpsocket.h:46
TEE_udpSocket_Setup_s::openTimeout
uint32_t openTimeout
Definition: tee_udpsocket.h:47
TEE_udpSocket_Setup_s::ipVersion
TEE_ipSocket_ipVersion ipVersion
Definition: tee_udpsocket.h:40
TEE_ISOCKET_PROTOCOLID_UDP
Definition: tee_udpsocket.h:25
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
TEE_ISOCKET_UDP_WARNING_UNKNOWN_OUT_OF_BAND
Definition: tee_udpsocket.h:32