Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c76 uint32_t tcplen, tcp_csum; in myri10ge_lro_flush() local
106 tcp_csum = lro->data_csum; in myri10ge_lro_flush()
107 tcp_csum += myri10ge_in_pseudo(ip->ip_src.s_addr, in myri10ge_lro_flush()
109 tcp_csum += myri10ge_csum_generic((uint16_t *)tcp, in myri10ge_lro_flush()
111 tcp_csum = (tcp_csum & 0xffff) + (tcp_csum >> 16); in myri10ge_lro_flush()
112 tcp_csum = (tcp_csum & 0xffff) + (tcp_csum >> 16); in myri10ge_lro_flush()
113 tcp->th_sum = 0xffff ^ tcp_csum; in myri10ge_lro_flush()