summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_altq.c
AgeCommit message (Expand)Author
2007-05-27No need to shutdown(2) DGRAM socket before closing it. Found while lookingClaudio Jeker
2006-11-28fix servicecurve check; no point in checking the same sc three times, itHenning Brauer
2006-11-10Print the interface that each queue is bound to in the pfctl -sq outputJoel Knight
2006-05-14better english to describe interfaces without bandwidth info; ok henningTheo de Raadt
2006-04-08Remove a little bit of dead code; minburst is set to 2 earlier, andRay Lai
2006-01-28zap unused functionHenning Brauer
2005-02-28use the linkshar keyword when gtalking about the link sharing serviceHenning Brauer
2004-05-20bzero() ifr before use, From: Andrey Matveev <andrushock@korovino.net>Henning Brauer
2004-04-26do more careful altq bandwidth checking.Kenjiro Cho
2004-03-14#include fixes, from Max Laier, ok beck@ henning@Daniel Hartmeier
2004-02-19now that qids are managed entirely in the kernel, the qid related codeKenjiro Cho
2004-02-10KNFDaniel Hartmeier
2004-02-10KNFHenning Brauer
2004-01-14eliminate the predefined special qids so that qids become simpleKenjiro Cho
2003-10-21don't use NULL as (int)0. henning okJun-ichiro itojun Hagino
2003-08-22pf spelling policeDavid Krause
2003-08-20catch invalid CBQ priorities earlier, including a better error messageHenning Brauer
2003-06-20some cleanings recommended by lint; dhartmei okTheo de Raadt
2003-06-06simplify license. pfctl_altq.c with kenjiro's permission of course.Henning Brauer
2003-05-08Close sockets (otherwise the file handle limit can be reached when manyDaniel Hartmeier
2003-04-15pass down the unparsed queue opts (struct node_queue_opt) toHenning Brauer
2003-04-15make print_hfsc_sc() take an extra struct node_hfsc_sc parameter and printHenning Brauer
2003-04-15don't include the unit "ms" when printing the service curve; parser wantsHenning Brauer
2003-04-15factor out service curve printing to it's own function, print_hfsc_sc().Henning Brauer
2003-04-14if linkshare service curve m2 == bandwidth, but d given, we do need to printHenning Brauer
2003-04-14only print hfsc linkshare when it differs from the defaultHenning Brauer
2003-04-14do not add a realtime service curve to the root queue asKenjiro Cho
2003-04-14let print_altq and print_queue take a struct node_queue_bw parameter insteadHenning Brauer
2003-04-13concistency in the print-funtions, here: HFSC uppercurve and bracketsHenning Brauer
2003-04-13use pa->ifbandwidth instead of rate as reference bandwidth for the root queueHenning Brauer
2003-04-13process HFSC options for the linkshare, realtime and upperlimit service curvesHenning Brauer
2003-04-13break out bandwidth specification processing code to its own function, willHenning Brauer
2003-04-13pass down the struct node_queue_opts from the altqif/queuespec yacc targetsHenning Brauer
2003-04-13move the structs node_queue_bw and node_queue_opt to pfctl_parser.h.Henning Brauer
2003-04-12make the first queue id we assign 2 instead of 1, 1 is the default queue forHenning Brauer
2003-04-12in check_commit_hfsc, don't check wether the default queue is a leaf queueHenning Brauer
2003-04-12correctly make up the root queue in eval_pfqueue_hfscHenning Brauer
2003-04-12make print_*_opts() int instead of void where the return value indicatesHenning Brauer
2003-04-12fix print_hfsc_opts to only print "hfsc( " and " )" when there are opts toHenning Brauer
2003-04-12assign queue IDs for HFSC simimar to what we do for PRIQ and CBQHenning Brauer
2003-04-11qname_to_qid and qname_to_pfaltq can be private functions now; nothingHenning Brauer
2003-04-11kill dead code.Henning Brauer
2003-04-05allow queue specs to be limited to certain interfaces.Henning Brauer
2003-04-03use a simple linear queue ID assignment algorithm for PRIQ like we do forHenning Brauer
2003-04-03explicitly include <sys/limits.h> for INT_MAX.Kenjiro Cho
2003-03-28assign qid early for priq tooHenning Brauer
2003-03-11do the queue ID assignment for cbq already in userland. ensure that queuesHenning Brauer
2003-03-10check for multiple same named queues on one interface.Henning Brauer
2003-03-10rework error handling in eval_pfqueue().Henning Brauer
2003-03-08when complaining about a queue's abndwidth beeing to small (below theHenning Brauer