Searched refs:seq (Results 1 – 13 of 13) sorted by relevance
/kernel/tests/net/test/ |
D | packets.py | 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) [all …]
|
D | xfrm_base.py | 158 def EncryptPacketWithNull(packet, spi, seq, tun_addrs): argument 189 esp_packet = scapy.Raw(xfrm.EspHdr((spi, seq)).Pack()) 284 def _ExpectEspPacketOn(self, netid, spi, seq, length, src_addr, dst_addr): argument 313 self.assertEqual(xfrm.EspHdr((spi, seq)), esp_hdr)
|
D | netlink.py | 179 self.seq = 0 197 self.seq += 1 228 nlmsg = NLMsgHdr((length, command, flags, self.seq, self.pid)).Pack() 290 nlmsghdr = NLMsgHdr((length, command, flags, self.seq, self.pid))
|
D | all_tests.sh | 59 for iteration in $(seq $RETRIES); do
|
D | tcp_fastopen_test.py | 92 desc, syn = packets.SYN(53, version, myaddr, remoteaddr, port, seq=None) 124 desc, syn = packets.SYN(53, version, myaddr, remoteaddr, port, seq=None)
|
D | tcp_repair_test.py | 85 desc, expect_syn = packets.SYN(TEST_PORT, version, myaddr, remoteaddr, port, seq=None) 89 synack.getlayer("TCP").seq = random.getrandbits(32) 166 expect_sequence = self.last_sent.getlayer("TCP").seq 175 expect_sequence = self.last_received.getlayer("TCP").seq + 1
|
D | xfrm.py | 545 seq = 0 566 cur, stats, seq, reqid, family, mode, replay, flags))
|
D | run_net_test.sh | 255 for id in $(seq 0 $(( NUMTAPINTERFACES - 1 )) ); do
|
D | multinetwork_base.py | 681 if expectedtcp.seq is None: 682 actualtcp.seq = None
|
D | xfrm_test.py | 56 def assertIsUdpEncapEsp(self, packet, spi, seq, length): argument 65 self.assertEqual(xfrm.EspHdr((spi, seq)), esp_hdr)
|
D | ping6_test.py | 407 scapy.ICMP(type=8, id=port, seq=1)) 413 scapy.ICMPv6EchoRequest(id=port, seq=1, data="foobarbaz"))
|
D | sock_diag_test.py | 570 sport=None, seq=None) 783 remoteaddr, sport=sport, seq=None)
|
D | multinetwork_test.py | 77 sport=None, seq=None)
|