Lines Matching refs:seq
78 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=-1): argument
82 if seq == -1: # Can't use None because it means unspecified.
83 seq = random.getrandbits(32)
87 seq=seq, ack=0,
97 ack=original.seq + was_syn_or_fin,
98 seq=original.ack,
107 ack=original.seq + 1, seq=None,
120 ack=original.seq + ack_delta, seq=original.ack,
132 ack=original.seq + ack_delta, seq=original.ack,
176 icmp(id=PING_IDENT, seq=PING_SEQ) / PING_PAYLOAD)
186 icmp(id=PING_IDENT, seq=PING_SEQ) / PING_PAYLOAD)