X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvcom_socket.h;h=2ce11c021a1adcb8e012fb957e91095e6c02dfe2;hb=227867f5d3fb1b1dacbaf2f426812417b72ef03a;hp=e86bab35672830ed1735ffba490a980493a716b7;hpb=e695cb4dbdb6f9424ac5a567799e67f791fad328;p=vpp.git diff --git a/src/vcl/vcom_socket.h b/src/vcl/vcom_socket.h index e86bab35672..2ce11c021a1 100644 --- a/src/vcl/vcom_socket.h +++ b/src/vcl/vcom_socket.h @@ -383,6 +383,10 @@ vcom_socket_send (int __fd, const void *__buf, size_t __n, int __flags); ssize_t vcom_socket_recv (int __fd, void *__buf, size_t __n, int __flags); +ssize_t +vcom_socket_sendfile (int __out_fd, int __in_fd, off_t * __offset, + size_t __len); + /* * RETURN 1 if __fd is (SOCK_STREAM, SOCK_SEQPACKET), * 0 otherwise @@ -432,11 +436,9 @@ int vcom_socket_accept (int __fd, __SOCKADDR_ARG __addr, socklen_t * __restrict __addr_len); -#ifdef __USE_GNU int vcom_socket_accept4 (int __fd, __SOCKADDR_ARG __addr, socklen_t * __restrict __addr_len, int __flags); -#endif int vcom_socket_shutdown (int __fd, int __how);