Home
last modified time | relevance | path

Searched refs:ipv4_pseudo_header_checksum (Results 1 – 7 of 7) sorted by relevance

/external/android-clat/
Dchecksum.h30 uint32_t ipv4_pseudo_header_checksum(const struct iphdr *ip, uint16_t len);
Ddump.c152 temp_checksum = ipv4_pseudo_header_checksum(ip, sizeof(*udp) + payload_size); in dump_udp()
211 temp_checksum = ipv4_pseudo_header_checksum(ip, sizeof(*tcp) + options_size + payload_size); in dump_tcp()
Dchecksum.c109 uint32_t ipv4_pseudo_header_checksum(const struct iphdr *ip, uint16_t len) { in ipv4_pseudo_header_checksum() function
Dipv4.c114 old_sum = ipv4_pseudo_header_checksum(header, len_left); in ipv4_packet()
Dclatd_test.cpp218 pseudo_checksum = ipv4_pseudo_header_checksum(ip, payload_length); in check_packet()
404 pseudo_checksum = ipv4_pseudo_header_checksum(ip, ntohs(udp->len)); in fix_udp_checksum()
797 pseudo_checksum = ipv4_pseudo_header_checksum((struct iphdr *) v4_header, UDP_LEN); in TEST_F()
820 uint32_t ipv4_pseudo_sum = ipv4_pseudo_header_checksum((struct iphdr *) ip, UDP_LEN); in TEST_F()
Dipv6.c152 new_sum = ipv4_pseudo_header_checksum(ip_targ, len_left); in ipv6_packet()
Dclatd_microbenchmark.c119 sum = ipv4_pseudo_header_checksum(&ip, ntohs(udp.len)); in send_packet()