Home
last modified time | relevance | path

Searched refs:payload_offset (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/clatd/
Dclatd.c114 const int payload_offset = offsetof(typeof(buf), payload); in process_packet_6_to_4() local
115 if (readlen < payload_offset + tp_net) { in process_packet_6_to_4()
117 __func__, readlen, payload_offset, tp_net); in process_packet_6_to_4()
121 const int pkt_len = readlen - payload_offset; in process_packet_6_to_4()
174 const int payload_offset = offsetof(typeof(buf), payload); in process_packet_4_to_6() local
176 if (readlen < payload_offset) { in process_packet_4_to_6()
181 const int pkt_len = readlen - payload_offset; in process_packet_4_to_6()
Dclatd_test.cpp305 int headersize, payload_offset; in reassemble_packet() local
320 payload_offset = headersize; in reassemble_packet()
335 payload_offset = sizeof(*ip6_orig) + sizeof(*frag); in reassemble_packet()
355 int payload_length = len - payload_offset; in reassemble_packet()
358 memcpy(reassembled + pos, packet + payload_offset, payload_length); in reassemble_packet()
/packages/modules/Virtualization/microdroid_manager/src/
Dinstance.rs122 let payload_offset = offset + PARTITION_HEADER_SIZE; in read_microdroid_data() localVariable
123 self.file.seek(SeekFrom::Start(payload_offset))?; in read_microdroid_data()