Home
last modified time | relevance | path

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

/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A Dicmp.c206 IPH_CHKSUM_SET(iphdr, 0); in icmp_input()
208 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in icmp_input()
A Dip_frag.c580 IPH_CHKSUM_SET(fraghdr, 0); in ip_reass()
582 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip_reass()
813 IPH_CHKSUM_SET(iphdr, 0); in ip_frag()
814 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in ip_frag()
A Dip.c254 IPH_CHKSUM_SET(iphdr, IPH_CHKSUM(iphdr) + PP_HTONS(0x100) + 1); in ip_forward()
256 IPH_CHKSUM_SET(iphdr, IPH_CHKSUM(iphdr) + PP_HTONS(0x100)); in ip_forward()
787 IPH_CHKSUM_SET(iphdr, 0);
789 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
/components/net/lwip/lwip-2.1.2/test/unit/ip4/
A 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()
/components/net/lwip/lwip-2.0.3/test/unit/ip4/
A Dtest_ip4.c39 IPH_CHKSUM_SET(iphdr, 0); in create_ip4_input_fragment()
43 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, sizeof(struct ip_hdr))); in create_ip4_input_fragment()
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Dip4_frag.c619 IPH_CHKSUM_SET(fraghdr, 0); in ip4_reass()
623 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip4_reass()
832 IPH_CHKSUM_SET(iphdr, 0); in ip4_frag()
835 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in ip4_frag()
A Dip4.c321 IPH_CHKSUM_SET(iphdr, IPH_CHKSUM(iphdr) + PP_HTONS(0x100) + 1); in ip4_forward()
323 IPH_CHKSUM_SET(iphdr, IPH_CHKSUM(iphdr) + PP_HTONS(0x100)); in ip4_forward()
914 IPH_CHKSUM_SET(iphdr, 0);
918 IPH_CHKSUM_SET(iphdr, 0);
921 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
A Dicmp.c229 IPH_CHKSUM_SET(iphdr, 0); in icmp_input()
232 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, hlen)); in icmp_input()
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Dip4_frag.c631 IPH_CHKSUM_SET(fraghdr, 0); in ip4_reass()
635 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip4_reass()
862 IPH_CHKSUM_SET(iphdr, 0); in ip4_frag()
865 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in ip4_frag()
A Dip4.c334 IPH_CHKSUM_SET(iphdr, (u16_t)(IPH_CHKSUM(iphdr) + PP_HTONS(0x100) + 1)); in ip4_forward()
336 IPH_CHKSUM_SET(iphdr, (u16_t)(IPH_CHKSUM(iphdr) + PP_HTONS(0x100))); in ip4_forward()
954 IPH_CHKSUM_SET(iphdr, 0);
958 IPH_CHKSUM_SET(iphdr, 0);
961 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
A Dicmp.c236 IPH_CHKSUM_SET(iphdr, 0); in icmp_input()
239 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, hlen)); in icmp_input()
/components/net/lwip/lwip-2.0.3/src/include/lwip/prot/
A Dip4.h120 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
/components/net/lwip/lwip-2.1.2/src/include/lwip/prot/
A Dip4.h124 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
/components/net/lwip-dhcpd/
A Ddhcp_server.c154 IPH_CHKSUM_SET(iphdr, 0); in _low_level_dhcp_send()
155 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in _low_level_dhcp_send()
/components/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/
A Dip.h163 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dvj.c580 IPH_CHKSUM_SET(&cs->cs_ip, 0); in vj_uncompress_tcp()
586 IPH_CHKSUM_SET(&cs->cs_ip, (u_short)(~tmp)); in vj_uncompress_tcp()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A 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()
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dvj.c617 IPH_CHKSUM_SET(&cs->cs_ip, 0); in vj_uncompress_tcp()
623 IPH_CHKSUM_SET(&cs->cs_ip, (u16_t)(~tmp)); in vj_uncompress_tcp()
/components/net/lwip/lwip-1.4.1/test/unit/tcp/
A Dtcp_helper.c70 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()
/components/net/lwip/lwip-2.1.2/test/unit/tcp/
A Dtcp_helper.c77 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()
/components/net/lwip/lwip-2.1.2/test/unit/udp/
A Dtest_udp.c207 IPH_CHKSUM_SET(ih, inet_chksum(ih, sizeof(struct ip_hdr))); in test_udp_create_test_packet()
/components/net/lwip/lwip-2.0.3/test/unit/tcp/
A Dtcp_helper.c72 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()

Completed in 59 milliseconds