/external/openthread/tests/scripts/thread-cert/ |
D | ipv6.py | 161 def __init__(self, next_header, hdr_ext_len=0): argument 162 self.next_header = next_header 202 def __init__(self, source_address, destination_address, payload_length, next_header): argument 206 self.next_header = next_header 235 data += struct.pack(">I", self.next_header) 255 next_header=0, argument 264 self.next_header = next_header 292 data += bytearray([self.next_header, self.hop_limit]) 307 next_header = ord(data.read(1)) 319 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)
|
/external/android-clat/ |
D | ipv6.c | 82 const uint8_t *next_header; in ipv6_packet() local 112 next_header = packet + sizeof(struct ip6_hdr); in ipv6_packet() 127 frag_hdr = (struct ip6_frag *)next_header; in ipv6_packet() 133 next_header += sizeof(*frag_hdr); in ipv6_packet() 155 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet() 157 iov_len = icmp6_packet(out, pos + 2, (const struct icmp6_hdr *)next_header, len_left); in ipv6_packet() 160 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet() 163 udp_packet(out, pos + 2, (const struct udphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet() 165 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet()
|
D | ipv4.c | 63 const uint8_t *next_header; in ipv4_packet() local 93 next_header = packet + header->ihl * 4; in ipv4_packet() 124 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv4_packet() 126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *)next_header, new_sum, len_left); in ipv4_packet() 129 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv4_packet() 132 udp_packet(out, pos + 2, (const struct udphdr *)next_header, old_sum, new_sum, len_left); in ipv4_packet() 134 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv4_packet()
|
/external/pcre/src/sljit/ |
D | sljitProtExecAllocator.c | 319 struct block_header *next_header; in sljit_malloc_exec() local 383 next_header = AS_BLOCK_HEADER(free_block, chunk_size); in sljit_malloc_exec() 389 next_header = AS_BLOCK_HEADER(header, chunk_size); in sljit_malloc_exec() 391 next_header->size = 1; in sljit_malloc_exec() 392 next_header->prev_size = chunk_size; in sljit_malloc_exec() 393 next_header->executable_offset = executable_offset; in sljit_malloc_exec()
|
D | sljitExecAllocator.c | 272 struct block_header *next_header; in sljit_malloc_exec() local 327 next_header = AS_BLOCK_HEADER(free_block, chunk_size); in sljit_malloc_exec() 333 next_header = AS_BLOCK_HEADER(header, chunk_size); in sljit_malloc_exec() 335 next_header->size = 1; in sljit_malloc_exec() 336 next_header->prev_size = chunk_size; in sljit_malloc_exec()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/masque/ |
D | masque_encapsulated_client_session.cc | 64 uint8_t next_header = 0; in ProcessIpPacket() local 65 if (!reader.ReadUInt8(&next_header)) { in ProcessIpPacket() 71 if (next_header != 17) { in ProcessIpPacket() 76 << static_cast<int>(next_header) << "\n" in ProcessIpPacket()
|
/external/cronet/net/disk_cache/blockfile/ |
D | block_files.cc | 590 BlockFileHeader* next_header = in RemoveEmptyFile() local 592 if (!next_header->num_entries) { in RemoveEmptyFile() 593 DCHECK_EQ(next_header->entry_size, header->entry_size); in RemoveEmptyFile() 596 header->next_file = next_header->next_file; in RemoveEmptyFile() 614 header = next_header; in RemoveEmptyFile()
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_seg6_loop.c | 22 unsigned char next_header; member 74 if (ip->next_header != 43) in get_srh()
|
D | test_lwt_seg6local.c | 22 unsigned char next_header; member 74 if (ip->next_header != 43) in get_srh()
|
/external/rust/crates/csv/src/ |
D | deserializer.rs | 76 fn next_header(&mut self) -> Result<Option<&'r str>, DeserializeError>; in next_header() method 111 fn next_header(&mut self) -> Result<Option<&'r str>, DeserializeError> { in next_header() method 112 self.0.next_header() in next_header() 164 fn next_header(&mut self) -> Result<Option<&'r str>, DeserializeError> { in next_header() method 172 Ok(self.next_header()?.map(|s| s.as_bytes())) in next_header_bytes() 245 fn next_header(&mut self) -> Result<Option<&'r str>, DeserializeError> { in next_header() method
|
/external/cronet/net/third_party/quiche/src/quiche/quic/qbone/platform/ |
D | icmp_packet.cc | 37 uint8_t next_header = IPPROTO_ICMPV6; member
|
D | tcp_packet.cc | 29 uint8_t next_header = IPPROTO_TCP; member
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | robust_av.c | 79 wpabuf_put_u8(buf, type4_param->ip_params.v6.next_header); in wpas_populate_type4_classifier() 867 v6->next_header); in write_ipv6_info() 1005 type4_param->ip_params.v6.next_header = frame_classifier[40]; in set_frame_classifier_type4_ipv6()
|
D | wpa_supplicant_i.h | 567 u8 next_header; member
|
D | ctrl_iface.c | 11354 param->ip_params.v6.next_header = 17; in set_type4_frame_classifier() 11356 param->ip_params.v6.next_header = 6; in set_type4_frame_classifier() 11358 param->ip_params.v6.next_header = 50; in set_type4_frame_classifier()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-color-cbdt-table.hh | 414 auto *next_header = next_subtable->get_header (); in add_new_subtable() local 415 if (next_header != old_header) in add_new_subtable()
|
/external/wpa_supplicant_8/wpa_supplicant/aidl/ |
D | sta_iface.cpp | 2204 param->ip_params.v6.next_header = in set_type4_frame_classifier()
|
D | aidl_manager.cpp | 2625 policies[num].type4_param.ip_params.v6.next_header); in notifyQosPolicyRequest()
|