summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_altq.c
AgeCommit message (Expand)Author
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
2003-03-06fix queue assignment on filter rules which are not bound to an interface.Henning Brauer
2003-03-03rate2str() overhaul:Henning Brauer
2003-03-02when printing queues at load time that have bandwidth specified in percent,Henning Brauer
2003-03-02remove the control keyword for cbq queues.Henning Brauer
2003-03-02add a guarantee that two same named queues on different interfaces have theHenning Brauer
2003-02-25extend copyright to 2003Henning Brauer
2003-01-24make rate2str include the unit in the ouput even if it is 0b. was irrelevantHenning Brauer
2003-01-24export rate2strHenning Brauer
2003-01-20unused var; found by dhartmei@ and camield@Henning Brauer
2003-01-20no named parameters in prototypesCamiel Dobbelaar
2003-01-09strlcpy return checks.Daniel Hartmeier
2003-01-09first attack at pfctl queue statistics, to be displayed with pfctl -vsqHenning Brauer
2003-01-05err()/errx() do not return, errx() -> err() after calloc(), it sets errno.Daniel Hartmeier