Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
LDPRELOAD: Add ioctl, fcntl, and setsockopt support
[vpp.git]
/
extras
/
vcl-ldpreload
/
src
/
libvcl-ldpreload
/
vcom.h
diff --git
a/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom.h
b/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom.h
index
f6ee8a2
..
bedeef8
100644
(file)
--- a/
extras/vcl-ldpreload/src/libvcl-ldpreload/vcom.h
+++ b/
extras/vcl-ldpreload/src/libvcl-ldpreload/vcom.h
@@
-55,6
+55,11
@@
extern ssize_t __wur vcom_writev (int __fd, const struct iovec *__iov,
*/
extern int vcom_fcntl (int __fd, int __cmd, ...);
+/*
+ * VPP implementation of glibc APIs ioctl
+ */
+extern int vcom_ioctl (int __fd, unsigned long int __cmd, ...);
+
/*
* vpp implementation of glibc APIs from <sys/select.h>
*/