/system/core/libnl_2/ |
socket.c | 29 return setsockopt(sk->s_fd, SOL_NETLINK, 105 close(sk->s_fd); 112 if (setsockopt(sk->s_fd, SOL_SOCKET, SO_SNDBUF, \ 116 if (setsockopt(sk->s_fd, SOL_SOCKET, SO_RCVBUF, \ 128 return sk->s_fd;
|
netlink.c | 87 sk_flags = fcntl(sk->s_fd, F_GETFL, 0); 88 fcntl(sk->s_fd, F_SETFL, O_NONBLOCK); 89 rc = recvmsg(sk->s_fd, &msg, 0); 91 fcntl(sk->s_fd, F_SETFL, sk_flags); 244 return sendmsg(sk->s_fd, (struct msghdr *) msg, (int) hdr); 255 sk->s_fd = socket(PF_NETLINK, SOCK_RAW, protocol); 256 if (sk->s_fd < 0) 264 rc = bind(sk->s_fd, (struct sockaddr *)&sk->s_local, \ 269 getsockname(sk->s_fd, &addr, &addrlen);
|
/frameworks/native/libs/utils/ |
SystemClock.cpp | 177 static int s_fd = -1; local 179 if (s_fd == -1) { 181 if (android_atomic_cmpxchg(-1, fd, &s_fd)) { 186 result = ioctl(s_fd,
|
/hardware/ril/reference-ril/ |
atchannel.c | 55 static int s_fd = -1; /* fd of the AT channel */ variable 382 count = read(s_fd, p_read, 474 ioctl(s_fd, OMAP_CSMI_TTY_ACK, &s_readCount); 498 if (s_fd < 0 || s_readerClosed > 0) { 509 written = write (s_fd, s + cur, len - cur); 522 written = write (s_fd, "\r" , 1); 537 if (s_fd < 0 || s_readerClosed > 0) { 548 written = write (s_fd, s + cur, len - cur); 561 written = write (s_fd, "\032" , 1); 593 s_fd = fd [all...] |
/system/core/libnl_2/genl/ |
genl.c | 140 num_char = sendmsg(sock->s_fd, &msg, 0); 167 recvmsg_len = recvmsg(sock->s_fd, &msg, 0);
|
/external/libnl-headers/ |
netlink-types.h | 68 int s_fd; member in struct:nl_sock
|