Searched refs:temp_checksum (Results 1 – 1 of 1) sorted by relevance
/external/android-clat/ |
D | dump.c | 133 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, in dump_udp_generic() argument 137 temp_checksum = ip_checksum_add(temp_checksum, udp, sizeof(struct udphdr)); in dump_udp_generic() 138 temp_checksum = ip_checksum_add(temp_checksum, payload, payload_size); in dump_udp_generic() 139 my_checksum = ip_checksum_finish(temp_checksum); in dump_udp_generic() 151 uint32_t temp_checksum; in dump_udp() local 152 temp_checksum = ipv4_pseudo_header_checksum(ip, sizeof(*udp) + payload_size); in dump_udp() 153 dump_udp_generic(udp, temp_checksum, payload, payload_size); in dump_udp() 159 uint32_t temp_checksum; in dump_udp6() local 160 temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*udp) + payload_size, IPPROTO_UDP); in dump_udp6() 161 dump_udp_generic(udp, temp_checksum, payload, payload_size); in dump_udp6() [all …]
|