summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_dummynet.c
Commit message (Collapse)AuthorAgeFilesLines
* Forgot one line: don't try to match flags when looking for a flow.luigi2000-02-111-0/+1
| | | | Approved-by: jordan
* Support for stateful (dynamic) ipfw rules. They are veryluigi2000-02-101-28/+38
| | | | | | | | similar to ipfilter's keep-state. Look at the updated ipfw(8) manpage for details. Approved-by: jordan
* Fix a (mostly harmless) scheduling-in-the-past problem withluigi2000-02-041-6/+6
| | | | | | | | dummynet (already fixed in -stable, was waiting for Jordan's approval due to the code freeze). Reported-By: Mike Tancsa Approved-By: Jordan
* Implement per-flow queueing. Using a single pipe config rule,luigi2000-01-081-360/+670
| | | | | | | | | | | | | | | | | | now you can dynamically create rate-limited queues for different flows using masks on dst/src IP, port and protocols. Read the ipfw(8) manpage for details and examples. Restructure the internals of the traffic shaper to use heaps, so that it manages efficiently large number of queues. Fix a bug which was present in the previous versions which could cause, under certain unfrequent conditions, to send out very large bursts of traffic. All in all, this new code is much cleaner than the previous one and should also perform better. Work supported by Akamba Corp.
* IPSEC support in the kernel.shin1999-12-221-2/+8
| | | | | | | | pr_input() routines prototype is also changed to support IPSEC and IPV6 chained protocol headers. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* RTFREE the correct route entry in dummynet_io(). The previousluigi1999-11-261-3/+3
| | | | | | code failed in handling things like "forward" actions. Reported-and-tested-by: Jean-Hugues ROYER jhroyer@joher.com
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix a printf() formatter to match its variable.billf1999-08-171-2/+2
| | | | Reviewed by: bde, luigi
* Add spl() protection to remove that the timer is invoked multipleluigi1999-08-111-3/+5
| | | | | times resulting in higher bandwidth and lower delays. Reported-by: Jamshid Madhavi
* Fix two warnings; and note a problem where a pointer is stored in anpeter1999-05-061-4/+4
| | | | int variable - this can't work on an Alpha.
* Free the dummynet descriptor in ip_dummynet, not in the calledluigi1999-05-041-4/+5
| | | | | | | routines. The descriptor contains parameters which could be used within those routines (eg. ip_output() ). On passing, add IPPROTO_PGM entry to netinet/in.h
* assorted dummynet cleanup:luigi1999-05-041-24/+34
| | | | | | | + plug an mbuf leak when dummynet used with bridging + make prototype of dummynet_io consistent with usage + code cleanup so that now bandwidth regulation is precise to the bit/s and not to (8*HZ) bit/s as before.
* Tidy up some stray / unused stuff in the IPFW package and friends.peter1999-04-201-10/+5
| | | | | | | | - unifdef -DCOMPAT_IPFW (this was on by default already) - remove traces of in-kernel ip_nat package, it was never committed. - Make IPFW and DUMMYNET initialize themselves rather than depend on compiled-in hooks in ip_init(). This means they initialize the same way both in-kernel and as kld modules. (IPFW initializes now :-)
* Convert the dummynet lkm code to be kld aware (this isn't actually usedpeter1999-04-171-26/+27
| | | | anywhere that I can see).
* Use the correct length from the mbuf header instead of the one fromluigi1999-03-261-9/+9
| | | | | | | | the IP header (this would not work for bridged packets). This has been fixed long ago in the 2.2 branch. Problem noticed by: a few people Fix suggested by: Remy Nonnenmacher
* add missing #include "opt_bdg.h"luigi1999-03-241-1/+2
|
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-271-2/+2
| | | | kernel compile
* ... _and_ the (void*) casts for %p. Next, I'll forget my own name :-(eivind1999-01-121-3/+3
|
* Avoid unnecessary GCCism - I hadn't noticed the __unused macro.eivind1999-01-121-2/+3
|
* * Print pointers using the correct type (%p) instead of %x.eivind1999-01-121-6/+8
| | | | | * Use the correct type for timeout function. * Add missing #include.
* Add a missing bzero which could be the source of instabilityluigi1999-01-111-12/+21
| | | | | | | problems reported recently (the rtentry pointer in the dummynet queue was not initialized in all cases, resulting in spurious rt_refcnt decreases in the lucky cases, and memory trashing in other cases.
* Remove some unused variables.luigi1998-12-311-4/+4
|
* Last bits (i think) of dummynet for -current.luigi1998-12-141-51/+64
|
* Bring in new files for dummynet supportluigi1998-09-121-0/+609
OpenPOWER on IntegriCloud