Home
last modified time | relevance | path

Searched refs:old_sum (Results 1 – 5 of 5) sorted by relevance

/external/android-clat/
Dtranslate.h79 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum,
81 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum,
85 size_t header_size, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload,
88 uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size);
Dipv4.c65 uint32_t old_sum, new_sum; in ipv4_packet() local
114 old_sum = ipv4_pseudo_header_checksum(header, len_left); in ipv4_packet()
129 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv4_packet()
132 udp_packet(out, pos + 2, (const struct udphdr *)next_header, old_sum, new_sum, len_left); in ipv4_packet()
Dtranslate.c341 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, in udp_packet() argument
354 return udp_translate(out, pos, udp, old_sum, new_sum, payload, payload_size); in udp_packet()
365 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, in tcp_packet() argument
389 return tcp_translate(out, pos, tcp, header_size, old_sum, new_sum, payload, payload_size); in tcp_packet()
403 uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) { in udp_translate() argument
413 udp_targ->check = ip_checksum_adjust(udp->check, old_sum, new_sum); in udp_translate()
443 size_t header_size, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, in tcp_translate() argument
461 tcp_targ->check = ip_checksum_adjust(tcp->check, old_sum, new_sum); in tcp_translate()
Dipv6.c84 uint32_t old_sum, new_sum; in ipv6_packet() local
150 old_sum = ipv6_pseudo_header_checksum(ip6, len_left, protocol); in ipv6_packet()
160 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
163 udp_packet(out, pos + 2, (const struct udphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dtiled_dot_emitter.cc579 llvm::Value* old_sum = (*vector_accumulators)[i].Get(); in EmitInnerLoopTiled() local
581 vsl_.Add(old_sum, vsl_.Mul(rhs_value, lhs_tile[i]))); in EmitInnerLoopTiled()