Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h443 #define LONG_SUM(in) (((in) & 0xffff) + ((in) >> 16)) macro
444 #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])))
/titanic_50/usr/src/uts/common/inet/ipf/
H A Dip_nat.c1425 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 …]
H A Dip_proxy.c593 s1 = LONG_SUM(ip->ip_len - adjlen);
594 s2 = LONG_SUM(ip->ip_len);