aboutsummaryrefslogtreecommitdiffstats
path: root/vcl-ldpreload
AgeCommit message (Collapse)AuthorFilesLines
2017-10-10LD_PRELOAD stub identified system callsshrinivasan ganapathy4-0/+96
- stub identifed unimplemented system call to return EOPNOTSUPP(95) Change-Id: I4f4a78717059f224bc695a0d32d4f0417dc46bd4 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-10-09LD_PRELOAD epoll_wait implementationshrinivasan ganapathy2-7/+48
- support vcom fd Change-Id: I791e0983fb4b0ec574f4dff35e56adbfddc4f033 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-10-09Merge "LD_PRELOAD epoll_ctl implementation"Keith Burns3-199/+711
2017-10-09LD_PRELOAD epoll_ctl implementationshrinivasan ganapathy3-199/+711
- EPOLL_CTL_ADD - EPOLL_CTL_MOD - EPOLL_CTL_DEL - close() - amend 1 - removed stubs for vppcom_session_epoll_create and ctl - add trace for epoll_create, epoll_ctl and epoll_wait Change-Id: I0822f2212d56319f41236473bf547cf118fb18e0 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-10-05LDPRELOAD: readv writev v2Steven4-60/+173
Move the vector iteration down to vcom_socket Change-Id: I5bb8d0d34a18ea15daf7a385443e046cb64313a1 Signed-off-by: Steven <sluong@cisco.com>
2017-10-05LD_PRELOAD - fix multiple defineshrinivasan ganapathy3-18/+70
- EP_INT_MAX Change-Id: Ifb8a5fb722bffd80b53d7b8bab5cb360634c8cf5 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-10-05Merge "LDPRELOAD: Implement readv and writev"Keith Burns3-8/+106
2017-10-05Merge "VCL_LDPRELOAD epoll implementation"Keith Burns7-1236/+2143
2017-10-04LDPRELOAD: Implement readv and writevSteven3-8/+106
Iteratively call vcom_read for readv and vcom_write for writev system call. Change-Id: I1d5795165e22c84b3303dde3273ce0cfa76abb4a Signed-off-by: Steven <sluong@cisco.com>
2017-10-04VCL_LDPRELOAD epoll implementationshrinivasan ganapathy7-1236/+2143
-epoll_create implementation Change-Id: If05b5f44e48455f5a6f7a8096c1d020e7f3cd9cc Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-09-26Fix name of VCL LD_PRELOAD lib dir env var.Dave Wallace1-1/+1
Change-Id: I86a3ffc6c119eb9979580e8d48979dce5d5ce72d Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2017-08-30Update vcl-preload instructionsKeith Burns (alagalah)2-15/+57
Change-Id: I2aab07d379a804b5b007db31abf0838b5b0798f4 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2017-08-28Merge "t commit -s Removed unnecessary includes"Keith Burns2-21/+1
2017-08-23Add generated files to .gitignore & fix buildDave Wallace2-6/+12
- Fix build references when VPP_DIR is specified for configure. Change-Id: I7274305764f9985fce3e5596fd522154248ccbe5 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2017-08-21t commit -sshrinivasan ganapathy2-21/+1
Removed unnecessary includes Change-Id: Ib51701e9c0f57968961526de27e08d4b3c5d65f5 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-08-17VCL-LDPRELOAD LIBRARYshrinivasan ganapathy16-1/+6792
A LD_PRELOAD library built on top of VCL library - initial creation. - User can LD_PRELOAD any application that uses POSIX socket API and yet reap the benifits of VPP transport. - addressed review comments - fix bug in vcom_select rv was always zero. - updated README.md with instructions to use socket_test.sh script Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com> new file: vcl-ldpreload/LICENSE new file: vcl-ldpreload/MAINTAINERS new file: vcl-ldpreload/src/Makefile.am new file: vcl-ldpreload/src/configure.ac new file: vcl-ldpreload/src/libvcl-ldpreload.am new file: vcl-ldpreload/src/libvcl-ldpreload/TODO new file: vcl-ldpreload/src/libvcl-ldpreload/vcom.c new file: vcl-ldpreload/src/libvcl-ldpreload/vcom.h new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_glibc_socket.h new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.c new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_socket_wrapper.c new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_socket_wrapper.h new file: vcl-ldpreload/src/vcl-ldpreload.mk new file: vcl-ldpreload/test/README.md Change-Id: I0db70bc4c3b3bac35451afa432c20dc04cb9699c Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-07-25Initial creation of LD_PRELOAD for VPP Communications Library (VCL)Keith Burns (alagalah)1-0/+1
Change-Id: I5f8b0aa50535c4fcf78de44128a5e87258b3ae4b Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>