Home
last modified time | relevance | path

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

/third_party/lwip/
D0023-refactor-event-and-checksum-offload-support.patch118 + IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, hlen));
121 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, hlen));
150 + ret = (u64_t)inet_chksum(iphdr, iphdr_hlen);
154 if (inet_chksum(iphdr, iphdr_hlen) != 0) {
158 … ("Checksum (0x%"X16_F") failed, IP packet dropped.\n", inet_chksum(iphdr, iphdr_hlen)));
169 + IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
172 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
201 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN));
204 + IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN));
219 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN));
[all …]
D0043-add-prefetch.patch17 #include "lwip/inet_chksum.h"
DBUILD.gn26 "src/core/inet_chksum.c",
D0060-lwip-add-udp-multicast.patch46 #include "lwip/inet_chksum.h"
108 SRC = def.c inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
D0074-gazelle-offloads-are-registered-to-lwip.patch43 ret = (u64_t)inet_chksum(iphdr, iphdr_hlen);
D0001-add-makefile.patch105 +SRC = inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
Dlwip.gni38 "$LWIPDIR/core/inet_chksum.c",
D0080-enable-ipv6.patch67 SRC = def.c inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.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
D0053-cleancode-improve-lwipopts.h-readability.patch573 #include "lwip/inet_chksum.h"
D0002-adapt-lstack.patch2030 -SRC = inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
2034 +SRC = def.c inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
/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()
409 icmphdr->chksum = inet_chksum(icmphdr, q->len); in icmp_send_response()
Digmp.c347 if (inet_chksum(igmp, p->len)) { in igmp_input()
826 igmp->igmp_checksum = inet_chksum(igmp, IGMP_MINLEN);
Dip4.c537 if (inet_chksum(iphdr, iphdr_hlen) != 0) {
540 … ("Checksum (0x%"X16_F") failed, IP packet dropped.\n", inet_chksum(iphdr, iphdr_hlen)));
1002 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
Dip4_frag.c655 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip4_reass()
885 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in ip4_frag()
/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.c587 tcp_seg_add_chksum(~inet_chksum((const u8_t *)arg + pos, seglen), seglen, in tcp_write()
645 chksum = ~inet_chksum((const u8_t *)arg + pos, seglen); in tcp_write()
906 tcp_seg_add_chksum(~inet_chksum((const u8_t *)p->payload + optlen, remainder), remainder, in tcp_split_unsent_seg()
971 …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/libcoap/examples/lwip/
DMakefile127 tcp.c pbuf.c ip4_addr.c ip4.c inet_chksum.c tcp_in.c tcp_out.c \
/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()