Home
last modified time | relevance | path

Searched refs:IPH_CHKSUM_SET (Results 1 – 8 of 8) sorted by relevance

/third_party/lwip/test/unit/ip4/
Dtest_ip4.c41 IPH_CHKSUM_SET(iphdr, 0); in create_ip4_input_fragment()
45 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, sizeof(struct ip_hdr))); in create_ip4_input_fragment()
/third_party/lwip/src/core/ipv4/
Dip4_frag.c651 IPH_CHKSUM_SET(fraghdr, 0); in ip4_reass()
655 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip4_reass()
882 IPH_CHKSUM_SET(iphdr, 0); in ip4_frag()
885 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in ip4_frag()
Dip4.c367 IPH_CHKSUM_SET(iphdr, (u16_t)(IPH_CHKSUM(iphdr) + PP_HTONS(0x100) + 1));
369 IPH_CHKSUM_SET(iphdr, (u16_t)(IPH_CHKSUM(iphdr) + PP_HTONS(0x100)));
995 IPH_CHKSUM_SET(iphdr, 0);
999 IPH_CHKSUM_SET(iphdr, 0);
1002 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
Dicmp.c236 IPH_CHKSUM_SET(iphdr, 0); in icmp_input()
239 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, hlen)); in icmp_input()
/third_party/lwip/src/include/lwip/prot/
Dip4.h126 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
/third_party/lwip/src/netif/ppp/
Dvj.c613 IPH_CHKSUM_SET(&cs->cs_ip, 0); in vj_uncompress_tcp()
619 IPH_CHKSUM_SET(&cs->cs_ip, (u16_t)(~tmp)); in vj_uncompress_tcp()
/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()