One possible hop towards a DV target. More...
Data Fields | |
struct DistanceVectorHop * | next_dv |
Kept in a MDLL, sorted by timeout. More... | |
struct DistanceVectorHop * | prev_dv |
Kept in a MDLL, sorted by timeout. More... | |
struct DistanceVectorHop * | next_neighbour |
Kept in a MDLL. More... | |
struct DistanceVectorHop * | prev_neighbour |
Kept in a MDLL. More... | |
struct PendingAcknowledgement * | pa_head |
Head of DLL of PAs that used our path. More... | |
struct PendingAcknowledgement * | pa_tail |
Tail of DLL of PAs that used our path. More... | |
struct Neighbour * | next_hop |
What would be the next hop to target? More... | |
struct DistanceVector * | dv |
Distance vector entry this hop belongs with. More... | |
const struct GNUNET_PeerIdentity * | path |
Array of distance hops to the target, excluding next_hop. More... | |
struct GNUNET_TIME_Absolute | timeout |
At what time do we forget about this path unless we see it again while learning? More... | |
struct GNUNET_TIME_Absolute | path_valid_until |
For how long is the validation of this path considered valid? Set to ZERO if the path is learned by snooping on DV learn messages initiated by other peers, and to the time at which we generated the challenge for DV learn operations this peer initiated. More... | |
struct PerformanceData | pd |
Performance data for this transmission possibility. More... | |
unsigned int | distance |
Number of hops in total to the target (excluding next_hop and target itself). More... | |
One possible hop towards a DV target.
Definition at line 1719 of file gnunet-service-transport.c.
struct DistanceVectorHop* DistanceVectorHop::next_dv |
Kept in a MDLL, sorted by timeout.
Definition at line 1724 of file gnunet-service-transport.c.
Referenced by check_link_down(), check_vl_transmission(), learn_dv_path(), and pick_random_dv_hops().
struct DistanceVectorHop* DistanceVectorHop::prev_dv |
Kept in a MDLL, sorted by timeout.
Definition at line 1729 of file gnunet-service-transport.c.
struct DistanceVectorHop* DistanceVectorHop::next_neighbour |
Kept in a MDLL.
Definition at line 1734 of file gnunet-service-transport.c.
Referenced by transmit_on_queue().
struct DistanceVectorHop* DistanceVectorHop::prev_neighbour |
Kept in a MDLL.
Definition at line 1739 of file gnunet-service-transport.c.
struct PendingAcknowledgement* DistanceVectorHop::pa_head |
Head of DLL of PAs that used our path.
Definition at line 1744 of file gnunet-service-transport.c.
Referenced by free_distance_vector_hop(), free_pending_acknowledgement(), and prepare_pending_acknowledgement().
struct PendingAcknowledgement* DistanceVectorHop::pa_tail |
Tail of DLL of PAs that used our path.
Definition at line 1749 of file gnunet-service-transport.c.
Referenced by free_distance_vector_hop(), free_pending_acknowledgement(), and prepare_pending_acknowledgement().
struct Neighbour* DistanceVectorHop::next_hop |
What would be the next hop to target?
Definition at line 1754 of file gnunet-service-transport.c.
Referenced by encapsulate_for_dv(), free_distance_vector_hop(), and learn_dv_path().
struct DistanceVector* DistanceVectorHop::dv |
Distance vector entry this hop belongs with.
Definition at line 1759 of file gnunet-service-transport.c.
Referenced by activate_core_visible_dv_path(), free_distance_vector_hop(), free_neighbour(), learn_dv_path(), path_cleanup_cb(), and route_control_message_without_fc().
const struct GNUNET_PeerIdentity* DistanceVectorHop::path |
Array of distance hops to the target, excluding next_hop.
NULL if the entire path is us to next_hop to target
. Allocated at the end of this struct. Excludes the target itself!
Definition at line 1766 of file gnunet-service-transport.c.
Referenced by encapsulate_for_dv(), and learn_dv_path().
struct GNUNET_TIME_Absolute DistanceVectorHop::timeout |
At what time do we forget about this path unless we see it again while learning?
Definition at line 1772 of file gnunet-service-transport.c.
Referenced by learn_dv_path(), and path_cleanup_cb().
struct GNUNET_TIME_Absolute DistanceVectorHop::path_valid_until |
For how long is the validation of this path considered valid? Set to ZERO if the path is learned by snooping on DV learn messages initiated by other peers, and to the time at which we generated the challenge for DV learn operations this peer initiated.
Definition at line 1781 of file gnunet-service-transport.c.
Referenced by activate_core_visible_dv_path(), and learn_dv_path().
struct PerformanceData DistanceVectorHop::pd |
Performance data for this transmission possibility.
Definition at line 1786 of file gnunet-service-transport.c.
Referenced by encapsulate_for_dv(), learn_dv_path(), and update_dvh_performance().
unsigned int DistanceVectorHop::distance |
Number of hops in total to the target
(excluding next_hop and target
itself).
Thus 0 still means a distance of 2 hops (to next_hop and then to target
).
Definition at line 1793 of file gnunet-service-transport.c.
Referenced by encapsulate_for_dv(), and learn_dv_path().