summaryrefslogtreecommitdiff
path: root/sys/altq
AgeCommit message (Collapse)Author
2002-11-29supress printf's.Kenjiro Cho
2002-11-29convert read_machclk() from a macro to a real function andKenjiro Cho
avoid kernel-rebuild with ALTQ_NOPCC for non-pentium users.
2002-11-26fix "pfctl -Fq".Kenjiro Cho
after altq gets flushed, altq forgot that it was enabled since altq is actually detached with an empty ruleset. so, add a variable, pfaltq_running, to remember the running state and re-enable altq when a new ruleset is loaded. noticed, tested, and oked by henning@
2002-11-26KNFHenning Brauer
2002-10-11make CBQ aware of the pf API so that pf developers can play with CBQ.Kenjiro Cho
for now, implemnet a tentative transition mechanism to allow the old API and the new API to coexit. the old API will go away when pfctl(8) becomes ready.
2002-10-10add a borrow flag to be used by pf/altq.Kenjiro Cho
2002-10-08the first step of pf/altq merge.Kenjiro Cho
this commit is to allow further development in both userland and kernel. the goal is to replace altq's classifier by pf(4). - make pf tag a queue id to mbuf and make altq read the queue id - merge altq config into pf.conf(5) ok dhartmei@, henning@
2002-10-05fix a embarrassing list-handling bug in cbq.Kenjiro Cho
this bug is triggered only when 3 or more cbq instances are created at a time.
2002-07-25support 486 which lack the pentium_mhz stuff; from rees, kjc okTheo de Raadt
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-05-31define ALTQ_NOPCC if i386 and !I586_CPU and !I686_CPU.Kenjiro Cho
otherwise, kernel fails to compile. pointed out and ok by fgsch@
2002-05-17sync with KAME.Kenjiro Cho
- don't MALLOC() with M_WAITOK in the spl block. move the allocation before splimp(). - when we reset vt of a class, reset the runtime service curve as well. - don't use max() to compare 64 bit values.
2002-05-17sync with KAME.Kenjiro Cho
update ECN in ALTQ from RFC2481 to RFC3168.
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
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-13sync with KAME.Kenjiro Cho
check if the CPU supports TSC in i386 to avoid panic on non-pentium CPUs. use pentium_mhz or alpha's cycles_per_usec. add a protection against a bogus IP header length when parsing the header. be more careful about mbuf data length. a backtrace reported by "Robert John Shepherd" <robert@reviewer.co.uk>
2002-02-13sync with KAME.Kenjiro Cho
comment out the warning message for the clock going backwards in the TV_DELTA macro. it happens when the clock is adjusted and gives me more trouble than help.
2002-02-13move ALTQ_RED and ALTQ_CBQ from altq.h to altq_var.h.Kenjiro Cho
protect them from duplicated defines.
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-10-26avoid divide-by-zero when the specified bandwidth is less than 8bps.Kenjiro Cho
PR kernel/2150
2001-09-07fix IPv4 fragment handling in the classifier.Kenjiro Cho
report and fix by "Paul Koster" <list@kosteronline.net>
2001-08-16state that this skeleton file is in the public domain.Kenjiro Cho
2001-08-09typo: ALTQ_CQB -> ALTQ_CBQKenjiro Cho
2001-08-09change a maze of altq options into just "altq" for the base+red+cbq, andTheo de Raadt
then altq_* for each of the other * experimental options. and.. enable it by default in GENERIC.
2001-06-27import ALTQ, alternate queueing support, from KAME.Kenjiro Cho
ALTQ allows to switch various queueing disciplines on output network interfaces.