Home
last modified time | relevance | path

Searched refs:ip_checksum (Results 1 – 3 of 3) sorted by relevance

/external/android-clat/
Dclatd_test.cpp221 EXPECT_EQ(0, ip_checksum(ip, sizeof(*ip))) << msg << ": Incorrect IP checksum\n"; in check_packet()
275 checksum = ip_checksum(payload, payload_length); in check_packet()
368 ip->check = ip_checksum(ip, sizeof(*ip)); in reassemble_packet()
707 ip_checksum(v4_pseudo_header, sizeof(v4_pseudo_header))) in TEST_F()
714 ip_checksum(v6_pseudo_header, sizeof(v6_pseudo_header))) in TEST_F()
Dipv6.c178 ip_targ->check = ip_checksum(ip_targ, sizeof(struct iphdr)); in ipv6_packet()
/external/wpa_supplicant_8/src/ap/
Dfils_hlp.c20 static be16 ip_checksum(const void *buf, size_t len) in ip_checksum() function
269 iph->ip_sum = ip_checksum(iph, sizeof(*iph)); in fils_dhcp_handler()
519 if (ip_checksum(iph, sizeof(*iph)) != 0) { in fils_process_hlp_ip()