HomeSort by relevance Sort by last modified time
    Searched refs:new_sum (Results 1 - 4 of 4) sorted by null

  /external/android-clat/
ipv4.c 65 uint32_t old_sum, new_sum; local
115 new_sum = ipv6_pseudo_header_checksum(ip6_targ, len_left, nxthdr);
126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *) next_header, new_sum, len_left);
128 iov_len = tcp_packet(out, pos + 2, (const struct tcphdr *) next_header, old_sum, new_sum,
131 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum,
translate.h 90 uint32_t old_sum, uint32_t new_sum, size_t len);
92 uint32_t old_sum, uint32_t new_sum, size_t len);
95 size_t header_size, uint32_t old_sum, uint32_t new_sum,
98 uint32_t old_sum, uint32_t new_sum,
ipv6.c 85 uint32_t old_sum, new_sum; local
152 new_sum = ipv4_pseudo_header_checksum(ip_targ, len_left);
160 iov_len = tcp_packet(out, pos + 2, (const struct tcphdr *) next_header, old_sum, new_sum,
163 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum,
translate.c 340 * new_sum - pseudo-header checksum of new header
344 uint32_t old_sum, uint32_t new_sum, size_t len) {
356 return udp_translate(out, pos, udp, old_sum, new_sum, payload, payload_size);
368 uint32_t old_sum, uint32_t new_sum, size_t len) {
391 return tcp_translate(out, pos, tcp, header_size, old_sum, new_sum, payload, payload_size);
399 * new_sum - pseudo-header checksum of new header
405 uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) {
415 udp_targ->check = ip_checksum_adjust(udp->check, old_sum, new_sum);
422 udp_targ->check = packet_checksum(new_sum, out, pos);
445 size_t header_size, uint32_t old_sum, uint32_t new_sum,
    [all...]

Completed in 913 milliseconds