summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_pool_iterate.c
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-02-07 13:31:50 +0000
committerOle Tr�an <otroan@employees.org>2024-03-26 15:09:29 +0000
commitb10561bbecb2870360a731b4696bff920150720d (patch)
treeef0ba3f555c959133b8f63fb035a525f276f7dc7 /src/vppinfra/test_pool_iterate.c
parentdfd426c2c83f69e95fe8dab5b4827825230f1d7c (diff)
papi: Use CMSG_SPACE for sizing ancillary buffer space
CMSG_LEN provides the length required to store an ancillary item, but it does not consider padding. RFC 3542 requires portable applications to use CMSG_SPACE(), this is documented in the python API: https://docs.python.org/3/library/socket.html#socket.CMSG_LEN Type: improvement Change-Id: I0eab470585f2f39bea38639db95d6b0e047d2cff Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src/vppinfra/test_pool_iterate.c')
0 files changed, 0 insertions, 0 deletions