freebsd-src/sys/netinet
Andre Oppermann 12e2e97051 Convert the tcp segment reassembly queue to UMA and limit the maximum
amount of segments it will hold.

The following tuneables and sysctls control the behaviour of the tcp
segment reassembly queue:

 net.inet.tcp.reass.maxsegments (loader tuneable)
  specifies the maximum number of segments all tcp reassemly queues can
  hold (defaults to 1/16 of nmbclusters).

 net.inet.tcp.reass.maxqlen
  specifies the maximum number of segments any individual tcp session queue
  can hold (defaults to 48).

 net.inet.tcp.reass.cursegments (readonly)
  counts the number of segments currently in all reassembly queues.

 net.inet.tcp.reass.overflows (readonly)
  counts how often either the global or local queue limit has been reached.

Tested by:	bms, silby
Reviewed by:	bms, silby
2004-02-24 15:27:41 +00:00
..
libalias Mostly mechanical rework of libalias: 2004-01-17 10:52:21 +00:00
accf_data.c
accf_http.c
icmp6.h revert following unwanted changes: 2003-10-25 10:57:08 +00:00
icmp_var.h
if_atm.c replace explicit changes to rt_refcnt by RT_ADDREF and RT_REMREF 2003-11-08 23:36:32 +00:00
if_atm.h
if_ether.c I didn't notice it right away, but check the right length too. 2003-12-23 14:08:50 +00:00
if_ether.h
igmp.c Remove redundant initialization of rti; SLIST_FOREACH does that for 2003-08-28 22:15:05 +00:00
igmp.h
igmp_var.h
in.c Document the net.inet.ip.subnets_are_local sysctl. 2003-12-30 16:05:03 +00:00
in.h correct namespace pollution. 2003-10-25 09:37:10 +00:00
in_cksum.c
in_gif.c add ECN support in layer-3. 2003-10-29 15:07:04 +00:00
in_gif.h - fix typo in comment. 2003-10-07 17:46:18 +00:00
in_pcb.c do not deref freed pointer 2004-01-13 09:51:47 +00:00
in_pcb.h Split the "inp" mutex class into separate classes for each of divert, 2003-11-26 01:40:44 +00:00
in_proto.c Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
in_rmx.c Introduce tcp_hostcache and remove the tcp specific metrics from 2003-11-20 20:07:39 +00:00
in_systm.h
in_var.h Introduce ip_fastforward and remove ip_flow. 2003-11-14 21:02:22 +00:00
ip.h Spell types consistently throughout this file. Do not use the __packed attribute, as we are often #include'd from userland without <sys/cdefs.h> in front of us, and it is not strictly necessary. 2004-02-16 14:40:56 +00:00
ip6.h revert following unwanted changes: 2003-10-25 10:57:08 +00:00
ip_divert.c Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ip_dummynet.c Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ip_dummynet.h Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ip_ecn.c add ECN support in layer-3. 2003-10-29 15:07:04 +00:00
ip_ecn.h add ECN support in layer-3. 2003-10-29 15:07:04 +00:00
ip_encap.c
ip_encap.h
ip_fastfwd.c Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ip_fw.h Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ip_fw2.c Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ip_gre.c Remove NetBSD'isms (add FreeBSD'isms?), which makes gre(4) working again. 2004-01-30 09:03:01 +00:00
ip_gre.h
ip_icmp.c Add sysctl net.inet.icmp.reply_src to specify the interface name 2004-02-02 22:53:16 +00:00
ip_icmp.h
ip_id.c MFp4: reminder that random id code is not reentrant 2003-11-07 23:31:29 +00:00
ip_input.c Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ip_mroute.c o move mutex init/destroy logic to the module load/unload hooks; 2003-12-20 18:32:48 +00:00
ip_mroute.h 1. Basic PIM kernel support 2003-08-07 18:16:59 +00:00
ip_output.c Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ip_var.h Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
ipprotosw.h
pim.h New PIM header files. 2003-08-07 18:17:43 +00:00
pim_var.h New PIM header files. 2003-08-07 18:17:43 +00:00
raw_ip.c IPSEC and FAST_IPSEC have the same internal API now; 2004-02-17 14:02:37 +00:00
tcp.h Shorten the name of the socket option used to enable TCP-MD5 packet 2004-02-16 22:21:16 +00:00
tcp_debug.c Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
tcp_debug.h
tcp_fsm.h
tcp_hostcache.c Swap destination and source arguments of two bcopy() calls. 2003-12-02 21:25:12 +00:00
tcp_input.c Convert the tcp segment reassembly queue to UMA and limit the maximum 2004-02-24 15:27:41 +00:00
tcp_output.c Brucification. 2004-02-13 18:21:45 +00:00
tcp_reass.c Convert the tcp segment reassembly queue to UMA and limit the maximum 2004-02-24 15:27:41 +00:00
tcp_seq.h Unify the "send high" and "recover" variables as specified in the 2003-07-15 21:49:53 +00:00
tcp_subr.c Convert the tcp segment reassembly queue to UMA and limit the maximum 2004-02-24 15:27:41 +00:00
tcp_syncache.c Final brucification pass. Spell types consistently (u_int). Remove bogus 2004-02-14 21:49:48 +00:00
tcp_timer.c Introduce tcp_hostcache and remove the tcp specific metrics from 2003-11-20 20:07:39 +00:00
tcp_timer.h
tcp_timewait.c Convert the tcp segment reassembly queue to UMA and limit the maximum 2004-02-24 15:27:41 +00:00
tcp_usrreq.c Shorten the name of the socket option used to enable TCP-MD5 packet 2004-02-16 22:21:16 +00:00
tcp_var.h Convert the tcp segment reassembly queue to UMA and limit the maximum 2004-02-24 15:27:41 +00:00
tcpip.h
udp.h
udp_usrreq.c IPSEC and FAST_IPSEC have the same internal API now; 2004-02-17 14:02:37 +00:00
udp_var.h