X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=ipstruct.h;h=ad5bf38fc7318bd80e9be31aa4dbcaff0818ac52;hb=cdfd88eb2cfba828e5bfc3f77eba37b3cba286ce;hp=dab37fcbe97f486109ee942559af9b44c62a444c;hpb=f19d3cd0bca8ef24e8c78fb6ae24346dc3b7db36;p=svn%2FPrometheus-QoS%2F.git diff --git a/ipstruct.h b/ipstruct.h index dab37fc..ad5bf38 100644 --- a/ipstruct.h +++ b/ipstruct.h @@ -1,3 +1,5 @@ +/* Modified by: xChaos, 20131029 */ + struct IP { char *addr; @@ -20,6 +22,8 @@ struct IP unsigned long pktsup; unsigned long pktsdown; struct Keyword *keyword; + int v6; + int mask; list(IP); }; @@ -54,5 +58,5 @@ struct Keyword list(Keyword); }; -void TheIP(char *ipaddr); +void TheIP(char *ipaddr, int is_network); /* function implemented in parsehosts.c */