Searched refs:IPH_CHKSUM_SET (Results 1 – 8 of 8) sorted by relevance
/third_party/lwip/test/unit/ip4/ |
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()
|
/third_party/lwip/src/core/ipv4/ |
D | ip4_frag.c | 651 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()
|
D | ip4.c | 367 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));
|
D | icmp.c | 236 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/ |
D | ip4.h | 126 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
|
/third_party/lwip/src/netif/ppp/ |
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()
|
/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()
|