Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c409 adj_cksum(uint16_t *chksum, uint32_t adj_sum) in adj_cksum() argument
411 adj_sum += (uint16_t)~(*chksum); in adj_cksum()
412 while ((adj_sum >> 16) != 0) in adj_cksum()
413 adj_sum = (adj_sum & 0xffff) + (adj_sum >> 16); in adj_cksum()
414 *chksum = (uint16_t)~adj_sum; in adj_cksum()
H A Dilb_conn.c428 in_port_t new_port, uint32_t *adj_sum) in hnat_cksum_v4() argument
435 *adj_sum = (uint16_t)~sum + *naddr + *(naddr + 1) + new_port; in hnat_cksum_v4()
440 in_port_t new_port, uint32_t *adj_sum) in hnat_cksum_v6() argument
449 *adj_sum = (uint16_t)~sum + *naddr + *(naddr + 1) + in hnat_cksum_v6()
457 in_port_t new_port1, in_port_t new_port2, uint32_t *adj_sum) in fnat_cksum_v4() argument
465 *adj_sum = (uint16_t)~sum + *naddr1 + *(naddr1 + 1) + new_port1 + in fnat_cksum_v4()
472 in_port_t new_port1, in_port_t new_port2, uint32_t *adj_sum) in fnat_cksum_v6() argument
487 *adj_sum = sum + *naddr2 + *(naddr2 + 1) + *(naddr2 + 2) + in fnat_cksum_v6()