summaryrefslogtreecommitdiff
path: root/libc/inet/Makefile.in
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2017-09-27 13:31:35 +0800
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-10-01 08:54:33 +0200
commit6e15fafa20066634a58d412b259b117a47ca46d1 (patch)
tree78e2bfabc8a9b13926c93bf12d1e35aba14abe78 /libc/inet/Makefile.in
parent7cfd2112acbc7a9dfcd9f8a23e550672934a2545 (diff)
recvmmsg/sendmmsg: add recvmmsg sendmmsg support.
The recvmmsg and sendmmsg is very important for UDP stream application. If we only use recvmsg for UDP stream, it will only copy one mtu size of data in a syscall. And recvmmsg copy as many as you want in a syscall. So recvmmsg is more efficient,and some applications will depends on the recvmmsg and sendmmsg, eg: UDP media stream player. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'libc/inet/Makefile.in')
-rw-r--r--libc/inet/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/inet/Makefile.in b/libc/inet/Makefile.in
index 332e70e53..bed76c30c 100644
--- a/libc/inet/Makefile.in
+++ b/libc/inet/Makefile.in
@@ -47,7 +47,8 @@ CSRC-$(UCLIBC_HAS_RESOLVER_SUPPORT) += \
socketcalls_CSRC-y += \
accept.c bind.c connect.c getpeername.c getsockname.c \
getsockopt.c listen.c recv.c recvfrom.c recvmsg.c send.c sendmsg.c \
- sendto.c setsockopt.c shutdown.c socket.c socketpair.c
+ sendto.c setsockopt.c shutdown.c socket.c socketpair.c \
+ recvmmsg.c sendmmsg.c
socketcalls_CSRC-$(UCLIBC_LINUX_SPECIFIC) += accept4.c
CSRC-$(UCLIBC_HAS_SOCKET) += $(socketcalls_CSRC-y) opensock.c