Searched refs:send_fd (Results 1 - 4 of 4) sorted by relevance
/system/bt/btif/include/ |
H A D | btif_sock_util.h | 34 int sock_send_fd(int sock_fd, const uint8_t* buffer, int len, int send_fd);
|
/system/bt/btif/src/ |
H A D | btif_sock_util.c | 95 int sock_send_fd(int sock_fd, const uint8_t* buf, int len, int send_fd) argument 103 asrt(send_fd != -1); 104 if(sock_fd == -1 || send_fd == -1) 113 cmsg->cmsg_len = CMSG_LEN(sizeof send_fd); 114 memcpy(CMSG_DATA(cmsg), &send_fd, sizeof send_fd); local 131 BTIF_TRACE_ERROR("fd:%d, send_fd:%d, sendmsg ret:%d, errno:%d, %s", 132 sock_fd, send_fd, (int)ret, errno, strerror(errno)); 143 BTIF_TRACE_DEBUG("close fd:%d after sent", send_fd); 146 close(send_fd); [all...] |
H A D | btif_sock_l2cap.c | 394 int channel, int status, int send_fd, int tx_mtu) 403 if (send_fd != -1) { 404 if (sock_send_fd(fd, (const uint8_t*)&cs, sizeof(cs), send_fd) == sizeof(cs)) 406 else APPL_TRACE_ERROR("sock_send_fd failed, fd:%d, send_fd:%d", fd, send_fd); 393 send_app_connect_signal(int fd, const bt_bdaddr_t* addr, int channel, int status, int send_fd, int tx_mtu) argument
|
H A D | btif_sock_rfc.c | 440 static bool send_app_connect_signal(int fd, const bt_bdaddr_t* addr, int channel, int status, int send_fd) { argument 448 if (send_fd == INVALID_FD) 451 return sock_send_fd(fd, (const uint8_t *)&cs, sizeof(cs), send_fd) == sizeof(cs);
|
Completed in 97 milliseconds