Searched refs:inet_chksum (Results 1 – 16 of 16) sorted by relevance
/third_party/lwip/src/include/lwip/ |
D | inet_chksum.h | 74 u16_t inet_chksum(const void *dataptr, u16_t len);
|
/third_party/lwip/src/core/ipv4/ |
D | icmp.c | 239 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, hlen)); in icmp_input() 401 icmphdr->chksum = inet_chksum(icmphdr, q->len); in icmp_send_response()
|
D | igmp.c | 347 if (inet_chksum(igmp, p->len)) { in igmp_input() 789 igmp->igmp_checksum = inet_chksum(igmp, IGMP_MINLEN); in igmp_send()
|
D | ip4.c | 500 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));
|
D | ip4_frag.c | 635 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/ |
D | Makefile | 31 ….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/ |
D | test_ip4.c | 45 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, sizeof(struct ip_hdr))); in create_ip4_input_fragment()
|
/third_party/lwip/src/core/ |
D | tcp_out.c | 575 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()
|
D | inet_chksum.c | 555 inet_chksum(const void *dataptr, u16_t len) in inet_chksum() function
|
/third_party/lwip/src/ |
D | Filelists.mk | 36 $(LWIPDIR)/core/inet_chksum.c \
|
D | Filelists.cmake | 38 ${LWIP_DIR}/src/core/inet_chksum.c
|
/third_party/lwip/test/unit/tcp/ |
D | tcp_helper.c | 77 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()
|
/third_party/lwip/test/unit/udp/ |
D | test_udp.c | 207 IPH_CHKSUM_SET(ih, inet_chksum(ih, sizeof(struct ip_hdr))); in test_udp_create_test_packet()
|
/third_party/lwip/src/apps/http/makefsdata/ |
D | makefsdata.c | 682 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/ |
D | lwip.gni | 38 "$LWIPDIR/core/inet_chksum.c",
|
D | CHANGELOG | 738 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
|