X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=ipstruct.h;h=ea797499a7d2328e0b97cf116a3973c73c1d73a9;hb=fd3363912e0be224354fc22547b6b7f9174ee87d;hp=2410047a4161dff7d4a2fe7a955afe0e7c154480;hpb=1c9cae56507516acf3eda8fcfe60a74bfe923ee4;p=svn%2FPrometheus-QoS%2F.git diff --git a/ipstruct.h b/ipstruct.h index 2410047..ea79749 100644 --- a/ipstruct.h +++ b/ipstruct.h @@ -16,9 +16,11 @@ 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; list(IP); }; @@ -52,3 +54,6 @@ struct Keyword list(Keyword); }; + +void TheIP(char *ipaddr); +/* function implemented in parsehosts.c */