From b2db84d189c458659516b9ce42529e1b67d09a51 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 10 Nov 2011 17:45:42 +0000 Subject: Added TTL and packet ID to multicast packets, to avoid eternal retransmission and packet duplication on trees with loops/mutliple paths respectively. --- src/mesh/mesh_protocol.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mesh/mesh_protocol.h') diff --git a/src/mesh/mesh_protocol.h b/src/mesh/mesh_protocol.h index 180ba453f..b6c7f1b24 100644 --- a/src/mesh/mesh_protocol.h +++ b/src/mesh/mesh_protocol.h @@ -80,6 +80,16 @@ struct GNUNET_MESH_Multicast */ uint32_t tid GNUNET_PACKED; + /** + * Number of hops to live + */ + uint32_t ttl GNUNET_PACKED; + + /** + * Unique ID of the packet + */ + uint32_t mid GNUNET_PACKED; + /** * OID of the tunnel */ -- cgit v1.2.3