diff options
author | Steven <sluong@cisco.com> | 2017-10-24 16:03:58 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-10-25 14:08:39 +0000 |
commit | ac1f96d7cdfb845c08400d27ec566b991e32e24b (patch) | |
tree | e7e82c1a91f5c7e391fafac915a8d5a5121dbc9f /src/vcl/vppcom.h | |
parent | 60f54822b78dea6b87cde5da82a4a135e7c2b960 (diff) |
VCL/LDPRELOAD: Add support for getsockopt, sendto, and recvfrom
Add support for getsockopt, sendto, and recvfrom. Not all options
for the system calls are supported yet. Only the options used by
curl and wget are supported for now.
Change-Id: I2e0ed7349a0273616b3831c201e7c117725ca287
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vcl/vppcom.h')
-rw-r--r-- | src/vcl/vppcom.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h index dd72986ec53..d9ed22fe755 100644 --- a/src/vcl/vppcom.h +++ b/src/vcl/vppcom.h @@ -159,6 +159,12 @@ extern int vppcom_epoll_wait (uint32_t vep_idx, struct epoll_event *events, int maxevents, double wait_for_time); extern int vppcom_session_attr (uint32_t session_index, uint32_t op, void *buffer, uint32_t * buflen); +extern int vppcom_session_recvfrom (uint32_t session_index, void *buffer, + uint32_t buflen, int flags, + vppcom_endpt_t * ep); +extern int vppcom_session_sendto (uint32_t session_index, void *buffer, + uint32_t buflen, int flags, + vppcom_endpt_t * ep); #endif /* included_vppcom_h */ |