Home
last modified time | relevance | path

Searched refs:IPH_CHKSUM (Results 1 – 2 of 2) sorted by relevance

/third_party/lwip/src/core/ipv4/
Dip4.c366 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))));
/third_party/lwip/src/include/lwip/prot/
Dip4.h116 #define IPH_CHKSUM(hdr) ((hdr)->_chksum) macro