X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=ipstruct.h;fp=ipstruct.h;h=c7843f6349bf4bf9e10dd0ee92eddb866f293db3;hp=542cb0aa7c7a16ecca6c841481d971565b7c5fe0;hb=9f552e96b7c3ed1b5af6578252c0154491132a10;hpb=d1dd0f041b98807ce8b6dfd5d46983427d3a7f16 diff --git a/ipstruct.h b/ipstruct.h index 542cb0a..c7843f6 100644 --- a/ipstruct.h +++ b/ipstruct.h @@ -72,5 +72,26 @@ struct Macro list(Macro); }; +struct Index +{ + char *addr; + char *id; + struct Index *parent; + int bitmask; + int children; + int ipv6; + list(Index); +}; + +struct Interface +{ + char *name; + long long speed; + int is_upstream; + char *chain; + char *idxprefix; + list(Interface); +}; + void TheIP(char *ipaddr, int is_network); /* function implemented in parsehosts.c */