Home | History | Annotate | Download | only in layers

Lines Matching refs:ack

515                     IntField("ack", 0),
550 # We do not support the four-way handshakes with the SYN+ACK
551 # answer split in two packets (one ACK and one SYN): in that
552 # case the ACK will be seen as an answer, but not the SYN.
554 # SYN packets without ACK are not answers
557 # SYN+ACK packets answer SYN packets
564 # Do not check ack value for SYN packets without ACK
566 and abs(other.ack - self.seq) > 2:
568 # Do not check ack value for RST packets without ACK
571 if abs(other.seq - self.ack) > 2 + len(other.payload):
757 if self.ack is not None:
758 if self.ack != other.ack:
1471 # least the ACK flag set *and* either the SYN or the RST flag
1522 self.l4[TCP].seq >= pkt[TCP].ack and # XXX: seq/ack 2^32 wrap up
1523 ((self.l4[TCP].ack == 0) or (self.l4[TCP].ack <= pkt[TCP].seq <= self.l4[TCP].ack+self.swin)) )
1563 self.l4[TCP].ack = pkt[TCP].seq+1
1574 if data and self.l4[TCP].ack == pkt[TCP].seq:
1575 self.l4[TCP].ack += len(data)
1605 self.l4[TCP].ack = pkt[TCP].seq+1