X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=ipstruct.h;h=797fb7bb72bca3bcd2f0f64157c1ffc08d9f1c11;hp=4f1d9aac8fbb362fceb403dc3761ea5bc9f743ef;hb=fa54950d31dc0d7e15e945750d4dcbaca2de613e;hpb=9694a8ec9258e894c4001b076a6c7f6c0e5a46f4 diff --git a/ipstruct.h b/ipstruct.h index 4f1d9aa..797fb7b 100644 --- a/ipstruct.h +++ b/ipstruct.h @@ -13,6 +13,7 @@ struct IP int fixedprio; int group; int lmsid; + int pps_limit; unsigned long long direct; unsigned long long proxy; unsigned long long upload; @@ -55,9 +56,16 @@ struct Keyword char *html_color; int ip_count; char *leaf_discipline; - + int allowed_avgmtu; /* this is for calculating packet limits, 0 = no limit*/ list(Keyword); }; +struct Macro +{ + char *rewrite_from; + char *rewrite_to; + list(Macro); +}; + void TheIP(char *ipaddr, int is_network); /* function implemented in parsehosts.c */