Home
last modified time | relevance | path

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

/third_party/lwip/src/include/lwip/
Dinet_chksum.h74 u16_t inet_chksum(const void *dataptr, u16_t len);
/third_party/lwip/src/core/ipv4/
Dicmp.c239 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, hlen)); in icmp_input()
401 icmphdr->chksum = inet_chksum(icmphdr, q->len); in icmp_send_response()
Digmp.c347 if (inet_chksum(igmp, p->len)) { in igmp_input()
789 igmp->igmp_checksum = inet_chksum(igmp, IGMP_MINLEN); in igmp_send()
Dip4.c500 if (inet_chksum(iphdr, iphdr_hlen) != 0) {
503 … ("Checksum (0x%"X16_F") failed, IP packet dropped.\n", inet_chksum(iphdr, iphdr_hlen)));
961 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
Dip4_frag.c635 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip4_reass()
865 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in ip4_frag()
/third_party/libcoap/examples/lwip/
DMakefile31 ….o timeouts.o stats.o mem.o memp.o udp.o tcp.o pbuf.o ip4_addr.o ip4.o inet_chksum.o tcp_in.o tcp_…
/third_party/lwip/test/unit/ip4/
Dtest_ip4.c45 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, sizeof(struct ip_hdr))); in create_ip4_input_fragment()
/third_party/lwip/src/core/
Dtcp_out.c575 tcp_seg_add_chksum(~inet_chksum((const u8_t *)arg + pos, seglen), seglen, in tcp_write()
633 chksum = ~inet_chksum((const u8_t *)arg + pos, seglen); in tcp_write()
894 tcp_seg_add_chksum(~inet_chksum((const u8_t *)p->payload + optlen, remainder), remainder, in tcp_split_unsent_seg()
959 …tcp_seg_add_chksum(~inet_chksum((const u8_t *)q->payload + offset, q->len - offset), q->len - offs… in tcp_split_unsent_seg()
Dinet_chksum.c555 inet_chksum(const void *dataptr, u16_t len) in inet_chksum() function
/third_party/lwip/src/
DFilelists.mk36 $(LWIPDIR)/core/inet_chksum.c \
DFilelists.cmake38 ${LWIP_DIR}/src/core/inet_chksum.c
/third_party/lwip/test/unit/tcp/
Dtcp_helper.c77 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()
/third_party/lwip/test/unit/udp/
Dtest_udp.c207 IPH_CHKSUM_SET(ih, inet_chksum(ih, sizeof(struct ip_hdr))); in test_udp_create_test_packet()
/third_party/lwip/src/apps/http/makefsdata/
Dmakefsdata.c682 chksum = ~inet_chksum(data, (u16_t)len); in write_checksums()
1216 acc = ~inet_chksum(hdr_buf, (u16_t)hdr_len); in file_write_http_header()
/third_party/lwip/
Dlwip.gni38 "$LWIPDIR/core/inet_chksum.c",
DCHANGELOG738 combined ipv4/ipv6 inet_chksum.c, added ip.h, ip_addr.h: Combined IPv4
1593 * tcp_impl.h, tcp_out.c, inet_chksum.h/.c: task #6849: Calculate checksum
2379 * ipv4/inet_chksum.c, ipv4/lwip/inet_chksum.h: inet_chksum_pseudo_partial()
2457 * inet_chksum.c: On little endian architectures, use LWIP_PLATFORM_HTONS (if
2662 * inet_chksum.c: Checked in some ideas of patch #6460 (loop optimizations)
2698 * inet_chksum.c: Allow choice of one of the sample algorithms to be
2818 * new files: ipv4/inet.c, ipv4/inet_chksum.c, ipv6/inet6.c