From bb3e68e6dcf266444d52acccfa68ef5cf98d2daf Mon Sep 17 00:00:00 2001 From: Gilad Ben-Yossef Date: Sun, 24 Aug 2014 13:53:58 +0300 Subject: odp_packet_socket: add backwards compatible sendmmsg wrapper RHEL / CentOS 6.2 and above have sendmmsg kernel support but no libc support. Also, it is quite easy to emulate sendmmsg on top of sendmsg. The following patch provides a sendmmsg wrapper as a weak symbol that provides both support to call the syscall even if libc support is missing, as well as an emulation in case no kernel support is there. This lets us drop the dependency on kernel version 3.0. Signed-off-by: Gilad Ben-Yossef Signed-off-by: Maxim Uvarov --- DEPENDENCIES | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DEPENDENCIES') diff --git a/DEPENDENCIES b/DEPENDENCIES index d987782..9597511 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -1,8 +1,8 @@ Prerequisites for building the OpenDataPlane (ODP) API -1. Linux kernel >= 3.0 +1. Linux kernel >= 2.6.32 - Version 3.0+ needed for the sendmmsg() interface + Earlier versions may or may not work. 2. autotools -- cgit v1.2.3