From 0b3acf4f94241905ff36df5c1d9f9f389e45d191 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 17 Sep 2004 08:39:08 +0000 Subject: 2004-09-17 Paul Jakma * ripngd/ripngd.c: move setsockopt_so_recvbuf to lib. * lib/sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd. * ripd/ripd.c: set receive buffer to a decent size, some systems have low defaults. Problem noted and fix suggested by Stephan Schweizer in [zebra 20967]. --- lib/sockopt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/sockopt.h') diff --git a/lib/sockopt.h b/lib/sockopt.h index 8d775cdc..3f4a7050 100644 --- a/lib/sockopt.h +++ b/lib/sockopt.h @@ -22,6 +22,8 @@ #ifndef _ZEBRA_SOCKOPT_H #define _ZEBRA_SOCKOPT_H +int setsockopt_so_recvbuf (int sock, int size); + #ifdef HAVE_IPV6 int setsockopt_ipv6_pktinfo (int, int); int setsockopt_ipv6_checksum (int, int); -- cgit v1.2.1