diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2013-07-09 11:45:00 +0200 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2013-07-09 11:45:00 +0200 |
commit | 07306a2a00c908979fbb8cf3127278bae00803a4 (patch) | |
tree | 91c84a1d7f1402f1c2b7833a90b5ff1d245eae5b /libglouglou/libggnet.h | |
parent | fix segfault because of bad libdnet intf_get_dst() usage (diff) | |
download | glouglou-07306a2a00c908979fbb8cf3127278bae00803a4.tar.xz glouglou-07306a2a00c908979fbb8cf3127278bae00803a4.zip |
WIP, improve traceroute
* del trace on timeout (still WIP)
* keep track of nodes traceroute usage
* fix IP address storage / transfer
* add some debug printf around
Diffstat (limited to 'libglouglou/libggnet.h')
-rw-r--r-- | libglouglou/libggnet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libglouglou/libggnet.h b/libglouglou/libggnet.h index 95d27d6..d855560 100644 --- a/libglouglou/libggnet.h +++ b/libglouglou/libggnet.h @@ -48,11 +48,11 @@ struct ggnet_node { LIST_ENTRY(ggnet_node) entry_path; struct ggnet *net; struct in_addr addr; + int used_conn; + int used_traceroute; LIST_HEAD(, ggnet_node) path_to; /* traceroute childs */ struct ggnet_node *path_parent; /* traceroute parent */ time_t lastseen; - int used; /* by ggnet_conn */ - int allow_grouping; struct ggnet_nodegroup *group; /* XXX for now only one group */ char fqdn[GGNET_DNSNAME_MAX]; struct ggnet_dns_req *dns_req; |