NetBSD/sys/netinet
thorpej a180cee23b Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.
2002-03-08 20:48:27 +00:00
..
Makefile
fil.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
icmp6.h have packed attribute to protocol structs. sync with kame 2001-12-21 02:52:18 +00:00
icmp_var.h Add in support for timing out IPv4 routes added due to redirects, 2001-10-30 06:41:09 +00:00
if_arp.c add RCSIDs 2001-11-13 00:32:34 +00:00
if_atm.c add RCSIDs 2001-11-13 00:32:34 +00:00
if_atm.h pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
if_ether.h
if_ieee1394arp.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
if_ieee1394arp.h pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
if_inarp.h pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
igmp.c add RCSIDs 2001-11-13 00:32:34 +00:00
igmp.h
igmp_var.h
in.c In in_savemkludge() and in_restoremkludge(), don't insert into a new 2002-03-01 22:51:28 +00:00
in.h Clear M_BCAST and M_MCAST on outgoing mbufs. 2002-02-24 17:22:20 +00:00
in4_cksum.c whitespace. sync with kame 2001-12-21 02:50:28 +00:00
in_cksum.c add RCSIDs 2001-11-13 00:32:34 +00:00
in_gif.c move protosw fragment for gif/stf to their own source code. 2001-12-21 03:21:50 +00:00
in_gif.h gif interface now uses generic software interrupt 2001-08-16 17:45:25 +00:00
in_pcb.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
in_pcb.h on interface removal, remove multicast groups joined from pcb, before 2001-07-02 15:25:34 +00:00
in_proto.c The "gif*" tunnelling interface does everything ipip does. 2002-03-04 13:24:06 +00:00
in_systm.h
in_var.h Convert netinet to not use the internal <sys/queue.h> field names 2001-11-04 20:55:25 +00:00
ip.h bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
ip6.h IP6_EXTHDR_GET0 had no check against m->m_len (noone was using this macro). 2001-07-05 23:41:07 +00:00
ip_auth.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_auth.h Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_compat.h Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_ecn.c add RCSIDs 2001-11-13 00:32:34 +00:00
ip_ecn.h whitespace. protect from multiple inclusion. sync with kame 2001-12-21 04:11:24 +00:00
ip_encap.c The "gif*" tunnelling interface does everything ipip does. 2002-03-04 13:24:06 +00:00
ip_encap.h use radix table for inbound tunnel lookup (would increase performance 2001-12-21 06:30:43 +00:00
ip_fil.c Fixed initialization 2002-01-24 08:24:59 +00:00
ip_fil.h Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_flow.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
ip_frag.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_frag.h Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
ip_ftp_pxy.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_gre.c add RCSIDs 2001-11-13 00:32:34 +00:00
ip_gre.h Some slight cleanup. 2000-07-06 04:34:26 +00:00
ip_icmp.c add RCSIDs 2001-11-13 00:32:34 +00:00
ip_icmp.h Add in support for timing out IPv4 routes added due to redirects, 2001-10-30 06:41:09 +00:00
ip_input.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
ip_ipsec_pxy.c Import IPFilter 3.4.23 2002-01-24 08:18:28 +00:00
ip_log.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_mroute.c The "gif*" tunnelling interface does everything ipip does. 2002-03-04 13:24:06 +00:00
ip_mroute.h pull encapsulated packet for vif* via ip_encap framework. 2001-05-08 10:07:15 +00:00
ip_nat.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_nat.h Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
ip_netbios_pxy.c Import IPFilter 3.4.23 2002-01-24 08:18:28 +00:00
ip_output.c IFF_POINTTOPOINT interfaces can also transmit packets to broadcast 2002-02-07 21:47:45 +00:00
ip_proxy.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_proxy.h Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
ip_raudio_pxy.c Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
ip_rcmd_pxy.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_state.c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_state.h Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
ip_var.h have rip_ctlinput to notify routing changes to raw sockets 2001-12-21 02:51:47 +00:00
ipl.h Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
raw_ip.c have rip_ctlinput to notify routing changes to raw sockets 2001-12-21 02:51:47 +00:00
tcp.h Add TCP_MD5SIGNATURE option. 2001-05-26 21:40:55 +00:00
tcp_debug.c add RCSIDs 2001-11-13 00:32:34 +00:00
tcp_debug.h do not #ifdef in headers. usr.sbin/trpt needs it. 2001-07-09 07:53:20 +00:00
tcp_fsm.h Make tcp_outflags & tcpstates const. 2001-10-20 03:19:41 +00:00
tcp_input.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
tcp_output.c In tcp_segsize(), move a label so that option length is considered 2002-03-01 22:54:09 +00:00
tcp_seq.h
tcp_subr.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
tcp_timer.c add RCSIDs 2001-11-13 00:32:34 +00:00
tcp_timer.h Change a few variable/tables to const since they are read-only. 2001-11-04 13:42:27 +00:00
tcp_usrreq.c Enforce a lower bound of 32 for tcp_mssdflt. 2002-02-28 20:26:17 +00:00
tcp_var.h place NRL copyright notice itself, not a reference to it. 2002-01-24 02:12:29 +00:00
tcpip.h
udp.h
udp_usrreq.c comment and whitespace. sync with kame 2001-12-21 02:51:08 +00:00
udp_var.h