]> git.proxmox.com Git - mirror_ovs.git/commit
socket-util: Introduce emulation and wrapper for recvmmsg().
authorBen Pfaff <blp@ovn.org>
Tue, 17 Dec 2019 20:38:37 +0000 (12:38 -0800)
committerBen Pfaff <blp@ovn.org>
Thu, 9 Jan 2020 17:48:49 +0000 (09:48 -0800)
commitb90189841f1a6f953e25ad784b824c6e29b48660
tree3a6fae62adbe5d75fddd0898ba447ab3ab996c90
parentb926f577aaf137ad072d8ef3c915ace7cb4bc82d
socket-util: Introduce emulation and wrapper for recvmmsg().

Not every system will have recvmmsg(), so introduce compatibility code
that will allow it to be used blindly from the rest of the tree.

This assumes that recvmmsg() and sendmmsg() are either both present or
both absent in system libraries and headers.

CC: Yi Yang <yangyi01@inspur.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
include/sparse/sys/socket.h
lib/socket-util.c
lib/socket-util.h