]> git.puffer.fish Git - mirror/frr.git/commit
lib: Allow setsockopt functions to return size set
authorDonald Sharp <sharpd@nvidia.com>
Tue, 3 Dec 2024 23:38:59 +0000 (18:38 -0500)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Dec 2024 12:47:34 +0000 (12:47 +0000)
commit7aa65cfefcebc512e95e30f68e4aac7e9b36d46c
tree4d221af040171b4957af7b1c88241a198e63b7b4
parent0b26493ea638b31ff52c8fc2e493dca5087658db
lib: Allow setsockopt functions to return size set

When finding a send/receive buffer size that is usable
let's report how big we were able to set it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit d5615fd6f84e643f194be8c3e91343b35585eb9c)
lib/sockopt.c
lib/sockopt.h