Home
last modified time | relevance | path

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

/packages/modules/Connectivity/clatd/
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()
667 ip_checksum(v4_pseudo_header, sizeof(v4_pseudo_header))) in TEST_F()
674 ip_checksum(v6_pseudo_header, sizeof(v6_pseudo_header))) in TEST_F()
Dipv6.c176 ip_targ->check = ip_checksum(ip_targ, sizeof(struct iphdr)); in ipv6_packet()
Dclatd.c141 uint16_t csum = ip_checksum(buf.payload + cs_start, pkt_len - cs_start); in process_packet_6_to_4()
/packages/modules/Connectivity/staticlibs/native/ip_checksum/
Dchecksum.h24 uint16_t ip_checksum(const void* data, int len);
Dchecksum.c72 uint16_t ip_checksum(const void* data, int len) { in ip_checksum() function
/packages/modules/DnsResolver/tests/
Dtun_forwarder.cpp343 ipHeader->check = ip_checksum(ipHeader, sizeof(struct iphdr)); in translateIpv4Packet()