summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Collapse)Author
2002-04-24Update IPsec-related comments.Angelos D. Keromytis
2002-04-24Add hooks to struct ifnet that allow to register callbacks that will beDaniel Hartmeier
notified of interface address changes. ok provos@, angelos@
2002-04-03Don't process WCCPv1-style GRE packets, unless allowed (via sysctlAngelos D. Keromytis
variable); GRE processing must also be allowed. From joeycoleman@acm.org, ok deraadt@ niklas@
2002-04-01cleanup in_broadcast. don't consider /32 addrs as broadcast.Jun-ichiro itojun Hagino
2002-03-27suppress "duplicate IP" message when booting machines with no initial IP.Ian Darwin
2002-03-24m_freem(NULL) bad style, ok jason@Niklas Hallqvist
2002-03-24WCCP support (trivial hack, it's not the complete protocol, but it'llAngelos D. Keromytis
accept packets from Cisco boxes) --- from joeycoleman@acm.org
2002-03-19drop TCP connections to broadcast address.Jun-ichiro itojun Hagino
From: "Crist J. Clark" <cjclark@alum.mit.edu>
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
the ANSI way.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
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