X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=ipstruct.h;h=ad5bf38fc7318bd80e9be31aa4dbcaff0818ac52;hp=2410047a4161dff7d4a2fe7a955afe0e7c154480;hb=cdfd88eb2cfba828e5bfc3f77eba37b3cba286ce;hpb=1c9cae56507516acf3eda8fcfe60a74bfe923ee4 diff --git a/ipstruct.h b/ipstruct.h index 2410047..ad5bf38 100644 --- a/ipstruct.h +++ b/ipstruct.h @@ -1,3 +1,5 @@ +/* Modified by: xChaos, 20131029 */ + struct IP { char *addr; @@ -16,9 +18,12 @@ struct IP unsigned long long upload; unsigned long long traffic; unsigned long long credit; + unsigned long long realquota; unsigned long pktsup; unsigned long pktsdown; struct Keyword *keyword; + int v6; + int mask; list(IP); }; @@ -52,3 +57,6 @@ struct Keyword list(Keyword); }; + +void TheIP(char *ipaddr, int is_network); +/* function implemented in parsehosts.c */