Searched refs:temp_checksum (Results 1 – 1 of 1) sorted by relevance
/external/android-clat/ |
D | dump.c | 135 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, const uint8_t *payload, in dump_udp_generic() argument 139 temp_checksum = ip_checksum_add(temp_checksum, udp, sizeof(struct udphdr)); in dump_udp_generic() 140 temp_checksum = ip_checksum_add(temp_checksum, payload, payload_size); in dump_udp_generic() 141 my_checksum = ip_checksum_finish(temp_checksum); in dump_udp_generic() 153 uint32_t temp_checksum; in dump_udp() local 154 temp_checksum = ipv4_pseudo_header_checksum(ip, sizeof(*udp) + payload_size); in dump_udp() 155 dump_udp_generic(udp, temp_checksum, payload, payload_size); in dump_udp() 161 uint32_t temp_checksum; in dump_udp6() local 162 temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*udp) + payload_size, IPPROTO_UDP); in dump_udp6() 163 dump_udp_generic(udp, temp_checksum, payload, payload_size); in dump_udp6() [all …]
|