summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Collapse)Author
2002-03-09check tiflags instead of th as th might point to freed memory; pointed outNiels Provos
by wayne@stallion.oz.au; also whack register.
2002-03-08use timeout(9) to schedule TCP timers. this avoid traversing allNiels Provos
tcp connections during tcp_slowtimo. apdapted from thorpej@netbsd.org
2002-03-02disable immediate ack on TH_PUSH. make behaviour sysctl tuneable.Niels Provos
from netbsd; also fix a bug where setting TF_ACKNOW didn't actually result in an ack.
2002-03-01remove tcp_fasttimo and convert delayed acks to the timeout(9) API instead.Niels Provos
adapated from netbsd. okay angelos@
2002-03-01sync with KAMEKenjiro Cho
move the function prototype of altq_etherclassify() from netinet/if_ether.h to altq/if_altq.h.
2002-02-26Cut/pasto: don't forget to scan for the source addressJason Wright
2002-02-23Print compression algorithm name too.Angelos D. Keromytis
2002-02-22do not transmit ICMP source quench. from kjc/kameJun-ichiro itojun Hagino
2002-02-19IPsec is written ``IPsec'', not ``IPSec''.Miod Vallat
2002-02-18Search the correct ACQUIRE list --- shifflett@nps.navy.milAngelos D. Keromytis
2002-02-15Don't cast nonexistent return value from splx to (void). ok art@Thomas Nordin
2002-02-15Clean up arpinput (based on similiar changes in NetBSD), also be sure toJason Wright
setup the arpcom when we're allowing lazy matches on bridged interfaces.
2002-02-05when retransmitting a segment after FIN has been sent don't set FINNiels Provos
unless we are transmitting the last of our data. report from jishac@grc.nasa.gov; pr/2368
2002-01-25Add a drain hook to each pool. This hook is called in three cases.Artur Grabowski
1. When a pool hit the hard limit. Just before bailing out/sleeping. 2. When an allocator fails to allocate memory (with PR_NOWAIT). 3. Just before trying to reclaim some page in pool_reclaim. The function called form the hook should try to free some items to the pool if possible. Convert m_reclaim hooks that were embedded in MCLGET, MGET and MGETHDR into a pool drain hook (making the code much cleaner).
2002-01-24allocate tcp reassembly queue via pool; based on netbsd; okay art@ angelos@Niels Provos
2002-01-23disable pmtu for ipsec when the sysctl says so; bug report cjkim2000@yahoo.comNiels Provos
2002-01-23It looks like there has been one crack smoking and a few cut and pastes.Artur Grabowski
PR_FREEHEADER should not be set in pool_init by the caller. It shouldn't be set in pool_init at all. Besides, it's going away soon anyway.
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it.
2002-01-21remove couple of #if 0'ed portion we will never useJun-ichiro itojun Hagino
2002-01-15allocate sackholes with poolNiels Provos
2002-01-15change tcpcb allocation to poolNiels Provos
2002-01-14knfNiels Provos
2002-01-14knfNiels Provos
2002-01-14knfNiels Provos
2002-01-14typoNiels Provos
2002-01-14use macros to manage tcp timers; based on netbsdNiels Provos
2002-01-12add rediraccept and redirtimeout sysctl's.Eric Jackson
rediraccept allows one to ignore ICMP_REDIRECT redirtimeout sets a timeout on the routing entries pretaining to ICMP_REDIRECT, this timeout is defaulted to 10 minutes. (same as ipv6) From NetBSD. millert@ ok
2002-01-05Avoid using an uninitialized variable. dhartmei@ okThomas Nordin
2002-01-02at least ; required after label or case; openbsd@davidkrause.comTheo de Raadt
2001-12-28move experimental icmp6 type to 200; 141-142 are used for inverse neighborJun-ichiro itojun Hagino
discovery. sync with kame
2001-12-10No need to m_freem(m) if m is already NULL. dhartmei@ ok.Hakan Olsson
2001-12-08style: Use queue.h macro's for list traversal, convert several (&thing)->fooJason Wright
to thing.foo under the principal less puncuation is easier to read.
2001-12-07correct icmp6 MIB counter mistakeJun-ichiro itojun Hagino
2001-12-07sync comment with kameJun-ichiro itojun Hagino
2001-12-06Use hzto() to handle overflow of (hz * timeout) cases --- when usingAngelos D. Keromytis
extremely long SA expirations.
2001-12-06Sanity check on inner IP header in IP-in-IP encapsulation; could beAngelos D. Keromytis
exploited to crash systems that allowed IP-in-IP protocol (sysctl -w net.inet.ipip.allow=1)
2001-12-06put __attribute__ to header decls to avoid align strangeness. sync with kameJun-ichiro itojun Hagino
2001-12-06kill register decls. sync better with kame.Jun-ichiro itojun Hagino
2001-12-06remove obsolete comment; we don't support IPv4 mapped addrJun-ichiro itojun Hagino
2001-12-06remove #if 0'ed portion (for KAME IPSEC - not needed)Jun-ichiro itojun Hagino
2001-12-05KNF whackTheo de Raadt
2001-11-29etherip_output() is called from in_gif.c, therefore is outside of #ifdef IPSECJun-ichiro itojun Hagino
2001-11-26add fastroute options similar to what is found in ipfjasoni
ok dhartmei@, frantzen@
2001-11-24KNFTheo de Raadt
2001-11-06send igmp v2 leave messages to allrouters address (PR#2164)Jakob Schlyter
patch based on parts from NetBSD submitted by goeran@cdg.chalmers.se
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-11-02fix multicast loopback checksums; goeran@cdg.chalmers.se, ok angelosTheo de Raadt
2001-10-03If the TDB doesn't have an attached src/dst ID, it can be used for anyAngelos D. Keromytis
type of traffic.
2001-09-26bring back the old copyright noticeTheo de Raadt
2001-09-24Reset the error return value if the cached TDB matches theAngelos D. Keromytis
policy. Pointed out by jdmcbride@iol.ie