Home
last modified time | relevance | path

Searched refs:TEE_iSocketHandle (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/lib/libutee/include/
A Dtee_isocket.h13 typedef void *TEE_iSocketHandle; typedef
18 TEE_Result (*open)(TEE_iSocketHandle *ctx, void *setup,
21 TEE_Result (*close)(TEE_iSocketHandle ctx);
23 TEE_Result (*send)(TEE_iSocketHandle ctx, const void *buf,
26 TEE_Result (*recv)(TEE_iSocketHandle ctx, void *buf, uint32_t *length,
29 uint32_t (*error)(TEE_iSocketHandle ctx);
31 TEE_Result (*ioctl)(TEE_iSocketHandle ctx, uint32_t commandCode,
/optee_os-3.20.0/lib/libutee/
A Dtee_tcpudp_socket.c20 static TEE_Result tcp_open(TEE_iSocketHandle *ctx, void *setup, in tcp_open()
45 *ctx = (TEE_iSocketHandle)sock_ctx; in tcp_open()
59 static TEE_Result udp_open(TEE_iSocketHandle *ctx, void *setup, in udp_open()
84 *ctx = (TEE_iSocketHandle)sock_ctx; in udp_open()
98 static TEE_Result sock_close(TEE_iSocketHandle ctx) in sock_close()
112 static TEE_Result sock_send(TEE_iSocketHandle ctx, const void *buf, in sock_send()
127 static TEE_Result sock_recv(TEE_iSocketHandle ctx, void *buf, uint32_t *length, in sock_recv()
142 static uint32_t sock_error(TEE_iSocketHandle ctx) in sock_error()
152 static TEE_Result tcp_ioctl(TEE_iSocketHandle ctx, uint32_t commandCode, in tcp_ioctl()
179 static TEE_Result udp_ioctl(TEE_iSocketHandle ctx, uint32_t commandCode, in udp_ioctl()

Completed in 3 milliseconds