pub fn advance_round(&mut self, first_ttl: TimeToLive) {
            if self.sequence >= MAX_SEQUENCE {
                self.sequence = self.initial_sequence;
            }
            self.target_found = false;
            self.round_sequence = self.sequence;
            self.received_time = None;
            self.round_start = SystemTime::now();
            self.max_received_ttl = None;
            self.round += Round::from(1);
            self.ttl = first_ttl;
            self.target_seq = None;
        }
/// Advance to the next round.
///
/// If, during the rond which just completed, we went above the max sequence number then we reset it here.
/// We do this here to avoid having to deal with the sequence number wrapping during a round, which is more
/// problematic.
Advance to the next round.
If, during the rond which just completed, we went above the max sequence number then we reset it here.
We do this here to avoid having to deal with the sequence number wrapping during a round, which is more
problematic.
Advance to the next round . If during the rond which just completed we went above the max sequence number then we reset it here . We do this here to avoid having to deal with the sequence number wrapping during a round which is more problematic .
pub fn advance_round(&mut self, first_ttl: TimeToLive) {
            if self.sequence >= MAX_SEQUENCE {
                self.sequence = self.initial_sequence;
            }
            self.target_found = false;
            self.round_sequence = self.sequence;
            self.received_time = None;
            self.round_start = SystemTime::now();
            self.max_received_ttl = None;
            self.round += Round::from(1);
            self.ttl = first_ttl;
            self.target_seq = None;
        }
pub fn advance_round ( & mut self , first_ttl : TimeToLive ) { if self . sequence >= MAX_SEQUENCE { self . sequence = self . initial_sequence ; } self . target_found = false ; self . round_sequence = self . sequence ; self . received_time = None ; self . round_start = SystemTime :: now ( ) ; self . max_received_ttl = None ; self . round += Round :: from ( 1 ) ; self . ttl = first_ttl ; self . target_seq = None ; }
Advance to the next round.
Advance to the next round .
&mut self
first_ttl
TimeToLive