Searched defs:ip_checksum_add (Results 1 - 1 of 1) sorted by relevance

/external/android-clat/
H A Dchecksum.c29 /* function: ip_checksum_add
35 uint32_t ip_checksum_add(uint32_t current, const void *data, int len) { function
54 * temp_sum - sum from ip_checksum_add
66 * temp_sum - sum from ip_checksum_add
74 * combined ip_checksum_add and ip_checksum_finish
81 temp_sum = ip_checksum_add(0,data,len);
97 current = ip_checksum_add(current, &(ip6->ip6_src), sizeof(struct in6_addr));
98 current = ip_checksum_add(current, &(ip6->ip6_dst), sizeof(struct in6_addr));
99 current = ip_checksum_add(current, &checksum_len, sizeof(checksum_len));
100 current = ip_checksum_add(curren
[all...]

Completed in 268 milliseconds