macro definitions...
[svn/Prometheus-QoS/.git] / ipstruct.h
index 2410047a4161dff7d4a2fe7a955afe0e7c154480..797fb7bb72bca3bcd2f0f64157c1ffc08d9f1c11 100644 (file)
@@ -1,3 +1,5 @@
+/* Modified by: xChaos, 20131029 */\r
+\r
 struct IP\r
 {\r
  char *addr;\r
@@ -11,14 +13,19 @@ struct IP
  int fixedprio;\r
  int group;\r
  int lmsid;\r
+ int pps_limit;\r
  unsigned long long direct;\r
  unsigned long long proxy;\r
  unsigned long long upload;\r
  unsigned long long traffic;\r
  unsigned long long credit;\r
+ unsigned long long realquota;\r
  unsigned long pktsup;\r
  unsigned long pktsdown;\r
  struct Keyword *keyword;\r
+ int v6;\r
+ int mask;\r
+ struct IP *uplink;\r
  list(IP);\r
 };\r
 \r
@@ -49,6 +56,16 @@ struct Keyword
  char *html_color;\r
  int ip_count;\r
  char *leaf_discipline;\r
\r
+ int allowed_avgmtu;        /* this is for calculating packet limits, 0 = no limit*/ \r
  list(Keyword);\r
 };\r
+\r
+struct Macro\r
+{\r
+ char *rewrite_from;\r
+ char *rewrite_to;\r
+ list(Macro);\r
+};\r
+\r
+void TheIP(char *ipaddr, int is_network);\r
+/* function implemented in parsehosts.c */\r
This page took 0.139401 seconds and 4 git commands to generate.