Bruce M Simpson c7547d1aaf Increase default size of raw IP send and receive buffers to the same as
udp_sendspace, to avoid a situation where jumbograms (datagrams > 9KB)
are unnecessarily fragmented.

A common use case for this is OSPF link-state database synchronization
during adjacency bringup on a high speed network with a large MTU.

It is not possible to auto-tune this setting until a socket is bound to
a given interface, and because the laddr part of the inpcb tuple may be
overridden, it makes no sense to do so. Applications may request a larger
socket buffer size by using the SO_SENDBUF and SO_RECVBUF socket options.

Certain applications such as Quagga ospfd do not probe for interface MTU
and therefore do not increase SO_SENDBUF in this use case.
XORP is not affected by this problem as it preemptively uses SO_SENDBUF
and SO_RECVBUF to account for any possible additional latency in XRL IPC.

PR:		kern/108375
Requested by:	Vladimir Ivanov
MFC after:	1 week
2007-03-20 13:15:20 +00:00
..
2006-12-15 12:50:06 +00:00
2005-10-21 16:23:01 +00:00
2005-08-26 15:27:18 +00:00
2006-12-04 00:41:48 +00:00
2006-01-21 10:44:34 +00:00
2007-03-19 19:00:51 +00:00
2006-07-06 13:25:01 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-02-12 23:24:31 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-03-15 11:27:14 +00:00
2007-03-19 19:00:51 +00:00
2007-03-19 19:00:51 +00:00
2007-03-19 19:00:51 +00:00
2007-03-19 19:00:51 +00:00
2007-03-19 19:00:51 +00:00
2007-03-08 15:26:54 +00:00