Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-04-13 | KNF | Henning Brauer | |
2003-04-13 | prevent double service curve specification | Henning Brauer | |
2003-04-13 | add support for the HFSC linkshare, realtime, and upperlimit service curves | Henning Brauer | |
to be specified. | |||
2003-04-13 | concistency in the print-funtions, here: HFSC uppercurve and brackets | Henning Brauer | |
2003-04-13 | unbreak (missing }) | Daniel Hartmeier | |
2003-04-13 | use pa->ifbandwidth instead of rate as reference bandwidth for the root queue | Henning Brauer | |
2003-04-13 | say bye bye to hfscflags_list and hfscflags_item | Henning Brauer | |
welcome hfscopts_list and hfscopts_item, returning a full struct node_hfsc_opt instead of just an int for the flags. needed because of all the opts hfsc knows | |||
2003-04-13 | process HFSC options for the linkshare, realtime and upperlimit service curves | Henning Brauer | |
2003-04-13 | break out bandwidth specification processing code to its own function, will | Henning Brauer | |
be used in more places soonish | |||
2003-04-13 | new struct node_hfsc_opts for, surprise, hfsc options. needed because they | Henning Brauer | |
contain bandwidth specifications and we need to carry the unprocessed bw specs around for quite some time until we can break them down to absolute values. | |||
2003-04-13 | pass down the struct node_queue_opts from the altqif/queuespec yacc targets | Henning Brauer | |
to expand_altq/expand_queue -> eval_pfaltq/eval_pfqueue and further down to the new eval_queue_opts() instead of evaluating them directly in the yacc grammar. this will be needed to process the hfsc options which can contain relative bandwidth specifications, and we can't break them down to an absolute one earlier. | |||
2003-04-13 | move the structs node_queue_bw and node_queue_opt to pfctl_parser.h. | Henning Brauer | |
let eval_pfqueue() and eval_pfaltq() take a pointer to a struct node_queue_bw instead of two distince bw_absolute and bw_percent parameters. | |||
2003-04-13 | move the bandwidth keyword from within the bandwidth target up to the | Henning Brauer | |
queue_opts target so the bandwidth parser can be used for other things too; will be needed for hfsc's linkshare etc | |||
2003-04-12 | initial support for the HFSC scheduler. | Henning Brauer | |
whoever uses that for more than toying around is on drugs. it's far from done. | |||
2003-04-12 | make the first queue id we assign 2 instead of 1, 1 is the default queue for | Henning Brauer | |
HFSC | |||
2003-04-12 | in check_commit_hfsc, don't check wether the default queue is a leaf queue | Henning Brauer | |
when we have no default queue. avoids null pointer deref. | |||
2003-04-12 | correctly make up the root queue in eval_pfqueue_hfsc | Henning Brauer | |
2003-04-12 | make print_*_opts() int instead of void where the return value indicates | Henning Brauer | |
wether it printed something or not, and use that to decide wether to print the scheduler name in the altq on .. case instead of checking flags again, which would be a horrible mess for hfsc with its tons of opts (checking flags is not enough there) | |||
2003-04-12 | fix print_hfsc_opts to only print "hfsc( " and " )" when there are opts to | Henning Brauer | |
print, so it behaves like the print_*_opts for the other schedulers | |||
2003-04-12 | assign queue IDs for HFSC simimar to what we do for PRIQ and CBQ | Henning Brauer | |
2003-04-11 | KNF | Henning Brauer | |
2003-04-11 | qname_to_qid and qname_to_pfaltq can be private functions now; nothing | Henning Brauer | |
outside pfctl_altq.c uses them any more, nor should. | |||
2003-04-11 | kill dead code. | Henning Brauer | |
qid_to_qname is not used anywhere. moreover, I cannot think of any legitimate use; misuse is easy tho. | |||
2003-04-11 | don't set r->qid and r->pqid in expand_rule any more, queue name -> queue ID | Henning Brauer | |
mapping is done in kernel land now | |||
2003-04-09 | Less noise for missing crl dir, demoted to debug message. | Hakan Olsson | |
2003-04-09 | on "pfctl -vvss", print the anchor rule number when there is one. | Cedric Berger | |
ok dhartmei@ henning@ | |||
2003-04-09 | document that rewind/eject features of tape devices depend on name of | Jason McIntyre | |
tape device; reference st(4) for an explanation. diff from Olivier Cherrier; ok millert@ | |||
2003-04-08 | missing .Fl macro for -a option; | Jason McIntyre | |
2003-04-08 | fix null deref in error syslogging | Michael Shalayeff | |
2003-04-07 | strlcat; ok millert | Theo de Raadt | |
2003-04-07 | strlcat, and it counted srclen, not dstlen; ok millert | Theo de Raadt | |
2003-04-07 | Catch and refuse invalid icmp codes (> 255). ok pb@, mpech@. | Daniel Hartmeier | |
2003-04-06 | strcat->strlcat, ho@ ok | Anil Madhavapeddy | |
2003-04-06 | strcpy/strcat -> strlcpy/strlcat conversion; henning@, tedu@ ok | Anil Madhavapeddy | |
2003-04-06 | string handling; ok millert | Theo de Raadt | |
2003-04-05 | ease netmask handling a bit | Henning Brauer | |
input theo, ok dhartmei@ | |||
2003-04-05 | o replace a strncpy + manual NUL terminate w/ strlcpy | Todd C. Miller | |
o remove NUL termination of d_packname since it is not needed. krw@ OK | |||
2003-04-05 | allow queue specs to be limited to certain interfaces. | Henning Brauer | |
altq on { $if0 $if1 $if2 $if3 } priq bandwidth 10Mb queue { one two } queue one priority 1 priq(default) queue two on $if0 priority 15 queue two on ! $if0 priority 0 ok dhartmei@ | |||
2003-04-05 | whitespace KNF | Henning Brauer | |
2003-04-04 | simple string fixes; ok matthieu tedu tdeval | Theo de Raadt | |
2003-04-04 | clean up: | Henning Brauer | |
instead of letting the lexer interpret '<' '>' '=' '>=' '<=' and return them as PF_OP_LT, PF_OP_GT etc etc etc in PORTUNARY, just let the lexer return '<' '>' and '=' literally, and in the few cases where the old PORTUNARY was really used like originally intended, replace that by a new unaryop yacc target. in all other cases that gets rid of quite some checks wether PORTUNARY is really < and nothing else etc etc etc. ok cedric@ deraadt@ | |||
2003-04-04 | knf & one snprintf; tedu ok | Theo de Raadt | |
2003-04-04 | snprintf & strlcpy; tedu ok | Theo de Raadt | |
2003-04-03 | trivial snprintf | Theo de Raadt | |
2003-04-03 | Simplify pfctl printing code. | Cedric Berger | |
ok dhartmei@ henning@ | |||
2003-04-03 | use a simple linear queue ID assignment algorithm for PRIQ like we do for | Henning Brauer | |
cbq already. together with the previous change that means it is now possible to have differently named priq queues on different interfaces with the same priorities and packets end up in the right queues. ok dhartmei@ kjc@ | |||
2003-04-03 | Table stats are reliable now. | Cedric Berger | |
2003-04-03 | explicitly include <sys/limits.h> for INT_MAX. | Kenjiro Cho | |
2003-04-02 | no \n w/ errx(3), reminded by andrushock | Henning Brauer | |
2003-04-02 | Xenu made me fix the strcpy; millert ok | Theo de Raadt | |