vppinfra: Protect Linux specific features behind CLIB_LINUX 65/40265/2
authorTom Jones <thj@freebsd.org>
Fri, 26 Jan 2024 14:54:57 +0000 (14:54 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Tue, 13 Feb 2024 16:27:26 +0000 (16:27 +0000)
commit93fc6920fb089c4db7716aed3ed1efc617683646
tree12901c5d890b8cfa1a5bc7e1adbbf2a86e794ca0
parentb077d6678cc32c7f65d631b76fba5759692f880c
vppinfra: Protect Linux specific features behind CLIB_LINUX

Place Linux specific features behind CLIB_LINUX. The previous #ifdef
calls would still pass even if CLIB_LINUX is set to 0 in clib.h, instead
use #if.

Type: improvement
Change-Id: Ibe4424eee4bc0065f54764b017b9a56a3e854380
Signed-off-by: Tom Jones <thj@freebsd.org>
src/vppinfra/socket.c