added IPv6 support for single /128 addresses of routers (based on IPv4 address)
[svn/Prometheus-QoS/.git] / ipstruct.h
index 72bf976b87406945115a4fdb8b278161e338a32e..6f0e5694dc2aab8b15174b4c7ad8b59992964a45 100644 (file)
@@ -42,7 +42,7 @@ struct Keyword
 {\r
  char *key;\r
  \r
int asymetry_ratio;        /* ratio for ADSL-like upload */\r
float asymetry_ratio;      /* ratio for ADSL-like upload */\r
  int asymetry_fixed;        /* fixed treshold for ADSL-like upload */\r
  int data_limit;            /* hard shaping: apply magic_treshold if max*data_limit MB exceeded */\r
  int data_prio;             /* soft shaping (qos): reduce HTB prio if max*data_prio MB exceeded */\r
@@ -56,9 +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.106305 seconds and 4 git commands to generate.