Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv4/
Dip4.c889 u32_t chk_sum = 0; local
930 chk_sum += ((u16_t *)p->payload)[i];
951 chk_sum += PP_NTOHS(proto | (ttl << 8));
957 chk_sum += ip4_addr_get_u32(&iphdr->dest) & 0xFFFF;
958 chk_sum += ip4_addr_get_u32(&iphdr->dest) >> 16;
964 chk_sum += PP_NTOHS(tos | (iphdr->_v_hl << 8));
968 chk_sum += iphdr->_len;
973 chk_sum += iphdr->_id;
985 chk_sum += ip4_addr_get_u32(&iphdr->src) & 0xFFFF;
986 chk_sum += ip4_addr_get_u32(&iphdr->src) >> 16;
[all …]