Searched refs:ack_number (Results 1 – 3 of 3) sorted by relevance
1174 ack_number: None, in reply()1200 reply_repr.seq_number = repr.ack_number.unwrap_or_default(); in rst_reply()1201 if repr.control == TcpControl::Syn && repr.ack_number.is_none() { in rst_reply()1202 reply_repr.ack_number = Some(repr.seq_number + repr.segment_len()); in rst_reply()1216 reply_repr.ack_number = Some(self.remote_seq_no + self.rx_buffer.len()); in ack_reply()1217 self.remote_last_ack = reply_repr.ack_number; in ack_reply()1239 .iter_data(reply_repr.ack_number.map(|s| s.0 as usize).unwrap_or(0)) in ack_reply()1254 .iter_data(reply_repr.ack_number.map(|s| s.0 as usize).unwrap_or(0)) in ack_reply()1289 if self.state == State::Listen && repr.ack_number.is_some() { in accepts()1330 match (self.state, repr.control, repr.ack_number) { in process()[all …]
180 pub fn ack_number(&self) -> SeqNumber { in ack_number() method780 pub ack_number: Option<SeqNumber>, field820 let ack_number = match packet.ack() { in parse() localVariable821 true => Some(packet.ack_number()), in parse()870 ack_number: ack_number, in parse()927 packet.set_ack_number(self.ack_number.unwrap_or(SeqNumber(0))); in emit()938 packet.set_ack(self.ack_number.is_some()); in emit()952 } else if self.ack_number.is_some() && self.sack_ranges.iter().any(|s| s.is_some()) { in emit()1015 write!(f, " ack={}", self.ack_number())?; in fmt()1055 if let Some(ack_number) = self.ack_number { in fmt()[all …]
38 ack_number: None, in bench_emit_tcp()