Searched refs:next_header (Results 1 – 4 of 4) sorted by relevance
/openthread-3.6.0/tests/scripts/thread-cert/ |
D | ipv6.py | 180 def __init__(self, next_header, hdr_ext_len=0): argument 181 self.next_header = next_header 221 def __init__(self, source_address, destination_address, payload_length, next_header): argument 225 self.next_header = next_header 254 data += struct.pack(">I", self.next_header) 274 next_header=0, argument 283 self.next_header = next_header 311 data += bytearray([self.next_header, self.hop_limit]) 326 next_header = ord(data.read(1)) 338 next_header, [all …]
|
D | test_ipv6.py | 181 def any_hop_by_hop_payload(next_header, hdr_ext_len, payload): argument 182 return bytearray([next_header, hdr_ext_len]) + payload 347 next_header = any_next_header() 353 payload_length, next_header) 363 self.assertEqual(next_header, data[6]) 373 next_header = any_next_header() 380 next_header, hop_limit]) 391 self.assertEqual(next_header, ipv6_header.next_header) 600 self.assertEqual(0, ipv6_packet.ipv6_header.next_header) 638 self.assertEqual(58, ipv6_packet.ipv6_header.next_header) [all …]
|
D | lowpan.py | 218 def parse(self, data, next_header, message_info): argument 225 ext_header = ipv6.HopByHop(next_header, options) 258 next_header = self._decompress_nh(nhc, data) 262 return factory.parse(data, next_header, message_info) 755 next_header = self._decompress_nh(iphc, data) 765 header.next_header = next_header 795 return header.next_header is None 818 previous_header.next_header = extension_header.type 829 previous_header.next_header = udp_header.type
|
D | test_lowpan.py | 2411 next_header = any_next_header() 2417 data_bytes = bytearray([next_header]) 2424 self.assertEqual(next_header, actual_next_header) 3381 self.assertEqual(17, ipv6_header.next_header) 3410 self.assertEqual(17, ipv6_header.next_header) 3442 self.assertEqual(17, ipv6_header.next_header) 3473 self.assertEqual(17, ipv6_header.next_header) 3501 self.assertEqual(17, ipv6_header.next_header)
|