Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/core/ipv4/
Dip.c594 u32_t chk_sum = 0; local
629 chk_sum += ((u16_t*)p->payload)[i];
650 chk_sum += LWIP_MAKE_U16(proto, ttl);
656 chk_sum += ip4_addr_get_u32(&iphdr->dest) & 0xFFFF;
657 chk_sum += ip4_addr_get_u32(&iphdr->dest) >> 16;
662 chk_sum += iphdr->_v_hl_tos;
666 chk_sum += iphdr->_len;
671 chk_sum += iphdr->_id;
683 chk_sum += ip4_addr_get_u32(&iphdr->src) & 0xFFFF;
684 chk_sum += ip4_addr_get_u32(&iphdr->src) >> 16;
[all …]