| /components/net/lwip/lwip-1.4.1/src/core/ipv4/ |
| A D | icmp.c | 206 IPH_CHKSUM_SET(iphdr, 0); in icmp_input() 208 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in icmp_input()
|
| A D | ip_frag.c | 580 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 D | ip.c | 254 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 D | test_ip4.c | 41 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 D | test_ip4.c | 39 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 D | ip4_frag.c | 619 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 D | ip4.c | 321 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 D | icmp.c | 229 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 D | ip4_frag.c | 631 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 D | ip4.c | 334 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 D | icmp.c | 236 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 D | ip4.h | 120 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/prot/ |
| A D | ip4.h | 124 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
|
| /components/net/lwip-dhcpd/ |
| A D | dhcp_server.c | 154 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 D | ip.h | 163 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | vj.c | 580 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 D | vj.c | 613 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 D | vj.c | 617 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 D | tcp_helper.c | 70 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 D | tcp_helper.c | 77 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 D | test_udp.c | 207 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 D | tcp_helper.c | 72 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()
|