]> git.puffer.fish Git - mirror/frr.git/commit
lib,vtysh: Use backoff setsockopt option for freebsd 17571/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 3 Dec 2024 23:49:59 +0000 (18:49 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 3 Dec 2024 23:49:59 +0000 (18:49 -0500)
commit959dbe27cde21ab212f6566b30865b2da418b4d2
tree8545189ed58a89577e07ac194ed868512736cdab
parentd5615fd6f84e643f194be8c3e91343b35585eb9c
lib,vtysh: Use backoff setsockopt option for freebsd

Commit: 9112fb367b1ae0168b4e7a81f41c2ca621979199

Introduced the idea of setting the socket buffer
send/receive sizes.  BSD's in general have the fun
issue of not allowing nearly as large as a size as
linux.  Since the above commit was developed on linux
and not run on bsd it was never tested.  Modify the
codebase to use the backoff setsockopt that we have
in the code base and use the returned values to allow
us to notice what was set and respond appropriately.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/vty.c
lib/vty.h
vtysh/vtysh.c