Searched refs:ip_checksum (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/clatd/ |
D | clatd_test.cpp | 221 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()
|
D | ipv6.c | 176 ip_targ->check = ip_checksum(ip_targ, sizeof(struct iphdr)); in ipv6_packet()
|
D | clatd.c | 141 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/ |
D | checksum.h | 24 uint16_t ip_checksum(const void* data, int len);
|
D | checksum.c | 72 uint16_t ip_checksum(const void* data, int len) { in ip_checksum() function
|
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 343 ipHeader->check = ip_checksum(ipHeader, sizeof(struct iphdr)); in translateIpv4Packet()
|