Searched refs:chk_sum (Results 1 – 1 of 1) sorted by relevance
663 u32_t chk_sum = 0; local698 chk_sum += ((u16_t*)p->payload)[i];719 chk_sum += LWIP_MAKE_U16(proto, ttl);725 chk_sum += ip4_addr_get_u32(&iphdr->dest) & 0xFFFF;726 chk_sum += ip4_addr_get_u32(&iphdr->dest) >> 16;732 chk_sum += LWIP_MAKE_U16(tos, iphdr->_v_hl);736 chk_sum += iphdr->_len;741 chk_sum += iphdr->_id;753 chk_sum += ip4_addr_get_u32(&iphdr->src) & 0xFFFF;754 chk_sum += ip4_addr_get_u32(&iphdr->src) >> 16;[all …]