Home
last modified time | relevance | path

Searched refs:send_fd (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_util.c107 int sock_send_fd(int sock_fd, const uint8_t* buf, int len, int send_fd) in sock_send_fd() argument
116 asrt(send_fd != -1); in sock_send_fd()
117 if(sock_fd == -1 || send_fd == -1) in sock_send_fd()
126 cmsg->cmsg_len = CMSG_LEN(sizeof send_fd); in sock_send_fd()
127 memcpy(CMSG_DATA(cmsg), &send_fd, sizeof send_fd); in sock_send_fd()
147 sock_fd, send_fd, (int)ret, errno, strerror(errno)); in sock_send_fd()
158 BTIF_TRACE_DEBUG("close fd:%d after sent", send_fd); in sock_send_fd()
159 close(send_fd); in sock_send_fd()
Dbtif_sock_rfc.c537 …LEAN send_app_connect_signal(int fd, const bt_bdaddr_t* addr, int channel, int status, int send_fd) in send_app_connect_signal() argument
552 if(send_fd != -1) in send_app_connect_signal()
554 if(sock_send_fd(fd, (const uint8_t*)&cs, sizeof(cs), send_fd) == sizeof(cs)) in send_app_connect_signal()
556 else APPL_TRACE_ERROR("sock_send_fd failed, fd:%d, send_fd:%d", fd, send_fd); in send_app_connect_signal()
/external/libpcap/
Dpcap-dlpi.c261 if (pd->send_fd < 0) { in pcap_inject_dlpi()
266 ret = dlrawdatareq(pd->send_fd, buf, size); in pcap_inject_dlpi()
330 if (pd->send_fd >= 0) { in pcap_cleanup_dlpi()
331 close(pd->send_fd); in pcap_cleanup_dlpi()
332 pd->send_fd = -1; in pcap_cleanup_dlpi()
417 pd->send_fd = open(cp, O_RDWR);
526 if (pd->send_fd >= 0) {
527 if (dl_doattach(pd->send_fd, ppa, p->errbuf) < 0)
583 if (pd->send_fd >= 0) {
589 if (dl_dohpuxbind(pd->send_fd, p->errbuf) < 0)
[all …]
Ddlpisubs.h20 int send_fd; member
/external/bluetooth/bluedroid/btif/include/
Dbtif_sock_util.h61 int sock_send_fd(int sock_fd, const uint8_t* buffer, int len, int send_fd);
/external/kernel-headers/original/uapi/linux/
Dbtrfs.h473 __s64 send_fd; /* in */ member