X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=ipstruct.h;h=72bf976b87406945115a4fdb8b278161e338a32e;hb=8e7aa99528485133231579d5933643eecfe0e0af;hp=dcf5bfa927e83f03892a0a227685a89cdf54bd0f;hpb=e48d46c959233c89ccd6ccd411b31704610abb71;p=svn%2FPrometheus-QoS%2F.git diff --git a/ipstruct.h b/ipstruct.h index dcf5bfa..72bf976 100644 --- a/ipstruct.h +++ b/ipstruct.h @@ -1,3 +1,5 @@ +/* Modified by: xChaos, 20131029 */ + struct IP { char *addr; @@ -11,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; @@ -20,6 +23,9 @@ struct IP unsigned long pktsup; unsigned long pktsdown; struct Keyword *keyword; + int v6; + int mask; + struct IP *uplink; list(IP); }; @@ -53,3 +59,6 @@ struct Keyword list(Keyword); }; + +void TheIP(char *ipaddr, int is_network); +/* function implemented in parsehosts.c */