Home
last modified time | relevance | path

Searched refs:inet_chksum (Results 1 – 13 of 13) sorted by relevance

/lib/liblwip/src/include/ipv6/lwip/
Dinet.h43 u16_t inet_chksum(void *data, u16_t len);
/lib/liblwip/src/core/ipv6/
Dicmp6.c133 idur->chksum = inet_chksum(idur, q->len); in icmp_dest_unreach()
172 tehdr->chksum = inet_chksum(tehdr, q->len); in icmp_time_exceeded()
Dinet6.c129 inet_chksum(void *dataptr, u16_t len) in inet_chksum() function
/lib/liblwip/src/include/ipv4/lwip/
Dinet_chksum.h73 u16_t inet_chksum(void *dataptr, u16_t len);
/lib/liblwip/src/core/ipv4/
Dicmp.c208 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in icmp_input()
328 icmphdr->chksum = inet_chksum(icmphdr, q->len); in icmp_send_response()
Dip.c366 if (inet_chksum(iphdr, iphdr_hlen) != 0) {
369 ("Checksum (0x%"X16_F") failed, IP packet dropped.\n", inet_chksum(iphdr, iphdr_hlen)));
762 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
Digmp.c415 if (inet_chksum(igmp, p->len)) { in igmp_input()
793 igmp->igmp_checksum = inet_chksum(igmp, IGMP_MINLEN); in igmp_send()
Dinet_chksum.c396 inet_chksum(void *dataptr, u16_t len) in inet_chksum() function
Dip_frag.c582 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip_reass()
814 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in ip_frag()
/lib/liblwip/
DSConscript26 "src/core/ipv4/inet_chksum.c",
DCHANGELOG394 * tcp_impl.h, tcp_out.c, inet_chksum.h/.c: task #6849: Calculate checksum
1180 * ipv4/inet_chksum.c, ipv4/lwip/inet_chksum.h: inet_chksum_pseudo_partial()
1258 * inet_chksum.c: On little endian architectures, use LWIP_PLATFORM_HTONS (if
1463 * inet_chksum.c: Checked in some ideas of patch #6460 (loop optimizations)
1499 * inet_chksum.c: Allow choice of one of the sample algorithms to be
1619 * new files: ipv4/inet.c, ipv4/inet_chksum.c, ipv6/inet6.c
/lib/liblwip/test/unit/tcp/
Dtcp_helper.c70 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()
/lib/liblwip/src/core/
Dtcp_out.c498 tcp_seg_add_chksum(~inet_chksum((u8_t*)arg + pos, seglen), seglen, in tcp_write()
558 chksum = ~inet_chksum((u8_t*)arg + pos, seglen); in tcp_write()