Searched refs:chk_sum (Results 1 – 1 of 1) sorted by relevance
848 u32_t chk_sum = 0; local889 chk_sum += ((u16_t *)p->payload)[i];910 chk_sum += PP_NTOHS(proto | (ttl << 8));916 chk_sum += ip4_addr_get_u32(&iphdr->dest) & 0xFFFF;917 chk_sum += ip4_addr_get_u32(&iphdr->dest) >> 16;923 chk_sum += PP_NTOHS(tos | (iphdr->_v_hl << 8));927 chk_sum += iphdr->_len;932 chk_sum += iphdr->_id;944 chk_sum += ip4_addr_get_u32(&iphdr->src) & 0xFFFF;945 chk_sum += ip4_addr_get_u32(&iphdr->src) >> 16;[all …]