Searched refs:payload_offset (Results 1 – 3 of 3) sorted by relevance
114 const int payload_offset = offsetof(typeof(buf), payload); in process_packet_6_to_4() local115 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() local176 if (readlen < payload_offset) { in process_packet_4_to_6()181 const int pkt_len = readlen - payload_offset; in process_packet_4_to_6()
305 int headersize, payload_offset; in reassemble_packet() local320 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()
122 let payload_offset = offset + PARTITION_HEADER_SIZE; in read_microdroid_data() localVariable123 self.file.seek(SeekFrom::Start(payload_offset))?; in read_microdroid_data()