summaryrefslogtreecommitdiffstats
path: root/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2017-10-12 17:10:33 -0700
committerKeith Burns <alagalah@gmail.com>2017-10-13 16:46:51 +0000
commitb59f227ab010837874614551c1f86ed06f3075dd (patch)
treef88082ed69d70ca434213fce9fa78d706020d710 /extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h
parentbccd339a59788435d67e37845cd2446626466e98 (diff)
LDPRELOAD: Add ioctl, fcntl, and setsockopt support
Add support for the following system calls: ioctl (FIONREAD) fcntl (F_GETFL) fcntl (F_SETFL) setsockopt (SOL_IPV6, IPV6_V6ONLY) setsockopt (SOL_TCP, TCP_NODELAY) setsockopt (SOL_SOCKET, SO_REUSEADDR) setsockopt (SOL_SOCKET, SO_BROADCAST) This patch supersedes https://gerrit.fd.io/r/#/c/8765/ Change-Id: I5d5309d9f43d93a990b389d8cb667631de1903fe Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h')
-rw-r--r--extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h b/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h
index 7170e208012..ef57646966b 100644
--- a/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h
+++ b/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h
@@ -347,6 +347,8 @@ ssize_t vcom_socket_writev (int __fd, const struct iovec *__iov,
int vcom_socket_fcntl_va (int __fd, int __cmd, va_list __ap);
+int vcom_socket_ioctl_va (int __fd, unsigned long int __cmd, va_list __ap);
+
int
vcom_socket_select (int vcom_nfds, fd_set * __restrict vcom_readfds,
fd_set * __restrict vcom_writefds,