vcl: better handlig of ldp apis that rely on gnu source 25/38125/6
authorFlorin Coras <fcoras@cisco.com>
Thu, 2 Feb 2023 20:56:16 +0000 (12:56 -0800)
committerDave Barach <vpp@barachs.net>
Tue, 7 Feb 2023 18:06:44 +0000 (18:06 +0000)
commit3684794336602435b91b91a1dc5bd9401a974432
tree9475f51d264a35774422009f7a720d6073676e97
parent656a550f1feda3ddfa96f8e1fc510e8eebd3ce7a
vcl: better handlig of ldp apis that rely on gnu source

Control use of apis that rely on _GNU_SOURCE being defined with compile
time macro.

Also fixes sendmmsg and recvmmsg which were not probably wrapped.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I207de23210d4b9dc960bb4289159502760c5614d
src/vcl/CMakeLists.txt
src/vcl/ldp.c
src/vcl/ldp.h
src/vcl/ldp_glibc_socket.h
src/vcl/ldp_socket_wrapper.c
src/vcl/ldp_socket_wrapper.h