Searched refs:IPH_CHKSUM (Results 1 – 2 of 2) sorted by relevance
116 #define IPH_CHKSUM(hdr) ((hdr)->_chksum) macro
333 if (IPH_CHKSUM(iphdr) >= PP_HTONS(0xffffU - 0x100)) { in ip4_forward()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()1115 lwip_ntohs(IPH_CHKSUM(iphdr))));