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