Home
last modified time | relevance | path

Searched refs:sequence_number (Results 1 – 5 of 5) sorted by relevance

/openthread-2.7.6/tests/scripts/thread-cert/
Dtest_ipv6.py616 self.assertEqual(2, ipv6_packet.upper_layer_protocol.body.sequence_number)
648 self.assertEqual(2, ipv6_packet.upper_layer_protocol.body.sequence_number)
1229 sequence_number = any_sequence_number()
1232 body = ICMPv6EchoBody(identifier, sequence_number, data)
1238 …expected = bytearray([identifier >> 8, identifier & 0xff, sequence_number >> 8, sequence_number & …
1244 sequence_number = any_sequence_number()
1247 …ta = bytearray([(identifier >> 8), (identifier & 0xff), (sequence_number >> 8), (sequence_number &…
1255 self.assertEqual(sequence_number, actual.sequence_number)
1284 sequence_number = any_sequence_number()
1288 (sequence_number >> 8) & 0xff, sequence_number & 0xff]) + body_data
[all …]
DCert_5_3_02_RealmLocal.py207 filter(lambda p: p.icmpv6.echo.sequence_number !=
208 _pkt1.icmpv6.echo.sequence_number
247 filter(lambda p: p.icmpv6.echo.sequence_number !=
248 _pkt1.icmpv6.echo.sequence_number
Ddtls.py95 def __init__(self, content_type, version, epoch, sequence_number, length, fragment): argument
99 self.sequence_number = sequence_number
105 …self.sequence_number.to_bytes(6, byteorder='big') + struct.pack(">H", self.length) + self.fragment)
112 sequence_number = struct.unpack(">Q", b'\x00\x00' + data.read(6))[0]
115 return cls(content_type, version, epoch, sequence_number, length, fragment)
122 self.sequence_number,
DCert_6_4_02_RealmLocal.py195 filter(lambda p: p.icmpv6.echo.sequence_number !=
196 _pkt1.icmpv6.echo.sequence_number
Dipv6.py1145 def __init__(self, identifier, sequence_number, data): argument
1147 self.sequence_number = sequence_number
1152 data += struct.pack(">H", self.sequence_number)
1159 sequence_number = struct.unpack(">H", data.read(2))[0]
1161 return cls(identifier, sequence_number, data.read())