OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ip_checksum_add
(Results
1 - 7
of
7
) sorted by null
/external/android-clat/
checksum.c
28
/* function:
ip_checksum_add
34
uint32_t
ip_checksum_add
(uint32_t current, const void *data, int len) {
function
53
* temp_sum - sum from
ip_checksum_add
65
* temp_sum - sum from
ip_checksum_add
73
* combined
ip_checksum_add
and ip_checksum_finish
80
temp_sum =
ip_checksum_add
(0,data,len);
96
current =
ip_checksum_add
(current, &(ip6->ip6_src), sizeof(struct in6_addr));
97
current =
ip_checksum_add
(current, &(ip6->ip6_dst), sizeof(struct in6_addr));
98
current =
ip_checksum_add
(current, &checksum_len, sizeof(checksum_len));
99
current =
ip_checksum_add
(current, &checksum_next, sizeof(checksum_next))
[
all
...]
checksum.h
25
uint32_t
ip_checksum_add
(uint32_t current, const void *data, int len);
dump.c
137
temp_checksum =
ip_checksum_add
(temp_checksum, udp, sizeof(struct udphdr));
138
temp_checksum =
ip_checksum_add
(temp_checksum, payload, payload_size);
168
temp_checksum =
ip_checksum_add
(temp_checksum, tcp, sizeof(struct tcphdr));
170
temp_checksum =
ip_checksum_add
(temp_checksum, options, options_size);
172
temp_checksum =
ip_checksum_add
(temp_checksum, payload, payload_size);
config.c
211
uint32_t c1 =
ip_checksum_add
(0, ipv4_local_subnet, sizeof(*ipv4_local_subnet));
212
uint32_t c2 =
ip_checksum_add
(0, plat_subnet, sizeof(*plat_subnet)) +
213
ip_checksum_add
(0, myaddr, sizeof(*myaddr));
clatd_microbenchmark.c
120
sum =
ip_checksum_add
(sum, &udp, sizeof(udp));
193
uint32_t payload_sum =
ip_checksum_add
(0, payload, sizeof(payload));
clatd_test.cpp
264
checksum = ip_checksum_finish(
ip_checksum_add
(pseudo_checksum, payload, payload_length));
419
udp->check = ip_checksum_finish(
ip_checksum_add
(pseudo_checksum, udp, ntohs(udp->len)));
663
uint16_t c1 = ip_checksum_finish(
ip_checksum_add
(0, ipv4addr, sizeof(*ipv4addr)));
664
uint16_t c2 = ip_checksum_finish(
ip_checksum_add
(0, plat_subnet, sizeof(*plat_subnet)) +
665
ip_checksum_add
(0, &myaddr, sizeof(myaddr)));
813
EXPECT_EQ(kUdpPartialChecksum,
ip_checksum_add
(0, udphdr, sizeof(udphdr)))
[
all
...]
translate.c
40
checksum =
ip_checksum_add
(checksum, packet[i].iov_base, packet[i].iov_len);
Completed in 154 milliseconds