Searched refs:LONG_SUM (Results 1 – 3 of 3) sorted by relevance
443 #define LONG_SUM(in) (((in) & 0xffff) + ((in) >> 16)) macro444 #define LONG_SUM6(in) (LONG_SUM(ntohl(((u_32_t *)(in))[0])) + \445 LONG_SUM(ntohl(((u_32_t *)(in))[1])) + \446 LONG_SUM(ntohl(((u_32_t *)(in))[2])) + \447 LONG_SUM(ntohl(((u_32_t *)(in))[3])))
1425 sum_changed = LONG_SUM(ntohl(nat->nat_inip.s_addr));1426 sum_orig = LONG_SUM(ntohl(nat->nat_outip.s_addr));1438 sum_changed = LONG_SUM(ntohl(nat->nat_outip.s_addr));1439 sum_orig = LONG_SUM(ntohl(nat->nat_inip.s_addr));1472 sum_changed = LONG_SUM(1475 sum_orig = LONG_SUM(1487 sum_changed = LONG_SUM(1490 sum_orig = LONG_SUM(3039 sum1 = LONG_SUM(ntohl(oip->ip_src.s_addr));3043 sum1 = LONG_SUM(ntohl(oip->ip_dst.s_addr));[all …]
593 s1 = LONG_SUM(ip->ip_len - adjlen);594 s2 = LONG_SUM(ip->ip_len);