Home
last modified time | relevance | path

Searched refs:socket (Results 1 - 25 of 36) sorted by relevance

12

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
H A DSocketBuffer.h24 #include <sys/socket.h>
43 int socket; member
54 int socket, count; member
72 void SocketBuffer_cleanup(int socket);
73 char* SocketBuffer_getQueuedData(int socket, size_t bytes, size_t* actual_len);
74 int SocketBuffer_getQueuedChar(int socket, char* c);
75 void SocketBuffer_interrupted(int socket, size_t actual_len);
76 char* SocketBuffer_complete(int socket);
77 void SocketBuffer_queueChar(int socket, char c);
80 void SocketBuffer_pendingWrite(int socket, SS
[all...]
H A DSocket.h47 #include <sys/socket.h>
70 /** socket operation completed successfully */
73 /** error in socket operation */
112 * Structure to hold all socket data for the module
116 fd_set rset, /**< socket read set (see select doc) */
117 rset_saved; /**< saved socket read set */
119 List* clientsds; /**< list of client socket descriptors */
120 ListElement* cur_clientsds; /**< current client socket descriptor (iterator) */
123 fd_set pending_wset; /**< socket pending write set for select */
130 int Socket_getch(int socket, cha
[all...]
H A DSSLSocket.h45 int SSLSocket_getch(SSL* ssl, int socket, char* c);
46 char *SSLSocket_getdata(SSL* ssl, int socket, size_t bytes, size_t* actual_len);
49 int SSLSocket_putdatas(SSL* ssl, int socket, char* buf0, size_t buf0len, int count, char** buffers, size_t* buflens, int* frees);
H A DMQTTProtocol.h30 int socket; member
H A DMQTTPersistence.h61 int MQTTPersistence_put(int socket, char* buf0, size_t buf0len, int count,
H A DClients.h100 int socket; member
108 int websocket; /**< socket has been upgraded to use web sockets */
139 unsigned int good : 1; /**< if we have an error on the socket we turn this off */
/device/soc/rockchip/common/hardware/mpp/include/
H A Dvpu.h108 signed int VPUClientRelease(int socket);
109 signed int VPUClientSendReg(int socket, unsigned int *regs, unsigned int nregs);
110 signed int VPUClientSendReg2(signed int socket, signed int offset, signed int size, void *param);
111 signed int VPUClientWaitResult(int socket, unsigned int *regs, unsigned int nregs, VPU_CMD_TYPE *cmd, signed int *len);
112 signed int VPUClientGetHwCfg(int socket, unsigned int *cfg, unsigned int cfg_size);
/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Dvpu.h110 RK_S32 VPUClientRelease(int socket);
111 RK_S32 VPUClientSendReg(int socket, RK_U32 *regs, RK_U32 nregs);
112 RK_S32 VPUClientSendReg2(RK_S32 socket, RK_S32 offset, RK_S32 size, void *param);
113 RK_S32 VPUClientWaitResult(int socket, RK_U32 *regs, RK_U32 nregs, VPU_CMD_TYPE *cmd, RK_S32 *len);
114 RK_S32 VPUClientGetHwCfg(int socket, RK_U32 *cfg, RK_U32 cfg_size);
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Dvpu.h110 RK_S32 VPUClientRelease(int socket);
111 RK_S32 VPUClientSendReg(int socket, RK_U32 *regs, RK_U32 nregs);
112 RK_S32 VPUClientSendReg2(RK_S32 socket, RK_S32 offset, RK_S32 size, void *param);
113 RK_S32 VPUClientWaitResult(int socket, RK_U32 *regs, RK_U32 nregs, VPU_CMD_TYPE *cmd, RK_S32 *len);
114 RK_S32 VPUClientGetHwCfg(int socket, RK_U32 *cfg, RK_U32 cfg_size);
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dvpu.h111 RK_S32 VPUClientRelease(int socket);
112 RK_S32 VPUClientSendReg(int socket, RK_U32 *regs, RK_U32 nregs);
113 RK_S32 VPUClientSendReg2(RK_S32 socket, RK_S32 offset, RK_S32 size, void *param);
114 RK_S32 VPUClientWaitResult(int socket, RK_U32 *regs, RK_U32 nregs, VPU_CMD_TYPE *cmd, RK_S32 *len);
115 RK_S32 VPUClientGetHwCfg(int socket, RK_U32 *cfg, RK_U32 cfg_size);
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
H A Dvpu.c179 RK_S32 VPUClientRelease(int socket) in VPUClientRelease() argument
181 int fd = socket; in VPUClientRelease()
188 RK_S32 VPUClientSendReg(int socket, RK_U32 *regs, RK_U32 nregs) in VPUClientSendReg() argument
190 int fd = socket; in VPUClientSendReg()
254 RK_S32 VPUClientSendReg2(RK_S32 socket, RK_S32 offset, RK_S32 size, void *param) in VPUClientSendReg2() argument
263 ret = (RK_S32)ioctl(socket, VPU_IOC_WRITE(offset, size), param); in VPUClientSendReg2()
270 RK_S32 VPUClientWaitResult(int socket, RK_U32 *regs, RK_U32 nregs, VPU_CMD_TYPE *cmd, RK_S32 *len) in VPUClientWaitResult() argument
272 int fd = socket; in VPUClientWaitResult()
319 RK_S32 VPUClientGetHwCfg(int socket, RK_U32 *cfg, RK_U32 cfg_size) in VPUClientGetHwCfg() argument
321 int fd = socket; in VPUClientGetHwCfg()
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/include/librkvpu/
H A Dvpu.h106 RK_S32 VPUClientRelease(int socket);
107 RK_S32 VPUClientSendReg(int socket, RK_U32 *regs, RK_U32 nregs);
108 RK_S32 VPUClientWaitResult(int socket, RK_U32 *regs, RK_U32 nregs, VPU_CMD_TYPE *cmd, RK_S32 *len);
109 RK_S32 VPUClientGetHwCfg(int socket, RK_U32 *cfg, RK_U32 cfg_size);
/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
H A Dhdi_netlink_monitor.cpp17 #include <sys/socket.h>
35 DISPLAY_CHK_RETURN((mScoketFd < 0), DISPLAY_FAILURE, DISPLAY_LOGE("the socket has initial")); in Init()
36 fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in Init()
37 DISPLAY_CHK_RETURN((fd < 0), DISPLAY_FAILURE, DISPLAY_LOGE("socket create failed")); in Init()
/device/soc/rockchip/common/sdk_linux/net/bluetooth/
H A Dsco.c60 /* ----- SCO socket info ----- */
157 * Must be called on the locked socket. */
195 /* Kill socket */ in sco_conn_del()
272 /* Update source addr of the socket */ in sco_connect()
353 /* Find socket listening on source bdaddr.
408 /* Kill socket (only if zapped and orphan)
409 * Must be called on unlocked socket.
427 BT_DBG("sk %p state %d socket %p", sk, sk->sk_state, sk->sk_socket); in _sco_sock_close()
460 /* Must be called on unlocked socket. */
492 static struct sock *sco_sock_alloc(struct net *net, struct socket *soc
[all...]
H A Dl2cap_sock.c44 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern);
46 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket()
82 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind()
108 /* We only allow ATT user space socket */ in l2cap_sock_bind()
195 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in l2cap_sock_connect()
229 /* Check that the socket wasn't bound to something that in l2cap_sock_connect()
236 * the ATT socket using BDADDR_BREDR. We need to accept in l2cap_sock_connect()
259 /* We only allow ATT user space socket */ in l2cap_sock_connect()
286 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen()
345 static int l2cap_sock_accept(struct socket *soc
[all...]
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.cpp20 #include <sys/socket.h>
64 fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in ThreadInit()
65 DISPLAY_CHK_RETURN(fd < 0, DISPLAY_FAILURE, DISPLAY_LOGE("socket fail")); in ThreadInit()
105 DISPLAY_CHK_RETURN_NOT_VALUE(fd < 0, DISPLAY_LOGE("socket fail"));
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.cpp20 #include <sys/socket.h>
64 fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in ThreadInit()
65 DISPLAY_CHK_RETURN(fd < 0, DISPLAY_FAILURE, DISPLAY_LOGE("socket fail")); in ThreadInit()
105 DISPLAY_CHK_RETURN_NOT_VALUE(fd < 0, DISPLAY_LOGE("socket fail"));
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.cpp19 #include <sys/socket.h>
59 fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in ThreadInit()
60 DISPLAY_CHK_RETURN(fd < 0, DISPLAY_FAILURE, DISPLAY_LOGE("socket fail")); in ThreadInit()
100 DISPLAY_CHK_RETURN_NOT_VALUE(fd < 0, DISPLAY_LOGE("socket fail"));
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.cpp19 #include <sys/socket.h>
59 fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in ThreadInit()
60 DISPLAY_CHK_RETURN(fd < 0, DISPLAY_FAILURE, DISPLAY_LOGE("socket fail")); in ThreadInit()
100 DISPLAY_CHK_RETURN_NOT_VALUE(fd < 0, DISPLAY_LOGE("socket fail"));
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.cpp19 #include <sys/socket.h>
58 int fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in ThreadInit()
59 DISPLAY_CHK_RETURN(fd < 0, DISPLAY_FAILURE, DISPLAY_LOGE("socket fail")); in ThreadInit()
96 DISPLAY_CHK_RETURN_NOT_VALUE(fd < 0, DISPLAY_LOGE("socket fail"));
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dsockets.h86 * This file contains socket interfaces.
104 /** @brief Defines the socket address. */
106 u8_t sin_len; /**< Specifies the socket length. */
107 sa_family_t sin_family; /**< Specifies the socket family. */
115 /* @brief Defines the socket address. */
137 sa_family_t sin6_family; /*< Specifies the socket family. */
148 * @brief Indicates socket address.
152 sa_family_t sa_family; /**< Specifies the socket family. */
163 u16_t sll_family; /**< Specifies the socket family. Always AF_PACKET */
217 * Option flags per-socket
2479 #define socket global() macro
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Difaddrs.h10 #include <sys/socket.h>
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
H A Dlibcoap.h31 #include <sys/socket.h>
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dapp_http_client.c43 s = socket(AF_INET, SOCK_STREAM, 0); in http_clienti_get()
47 printf("... allocated socket"); in http_clienti_get()
49 printf("... socket connect failed errno=%d", errno); in http_clienti_get()
58 printf("... socket send success"); in http_clienti_get()
64 printf("... failed to set socket receiving timeout"); in http_clienti_get()
68 printf("... set socket receiving timeout success"); in http_clienti_get()
77 printf("... done reading from socket. Last read return=%d errno=%d\r\n", r, errno); in http_clienti_get()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/net/
H A Dif_arp.h10 #include <sys/socket.h>

Completed in 10 milliseconds

12