Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/bge/
H A Dbge_send.c265 uint16_t iphl; in bge_pseudo_cksum() local
276 iphl = 4 * (buf[0] & 0xF); in bge_pseudo_cksum()
277 cksum = (((uint16_t)buf[2])<<8) + buf[3] - iphl; in bge_pseudo_cksum()
290 buf += iphl + ((proto == IPPROTO_TCP) ? in bge_pseudo_cksum()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c1756 uint16_t iphl; in ql_pseudo_cksum() local
1759 iphl = (uint16_t)(4 * (buf[0] & 0xF)); in ql_pseudo_cksum()
1760 cksum = (((uint16_t)buf[2])<<8) + buf[3] - iphl; in ql_pseudo_cksum()
1773 buf += iphl + ((proto == IPPROTO_TCP) ? in ql_pseudo_cksum()
4973 uint16_t iphl; in ql_lso_pseudo_cksum() local
4979 iphl = (uint16_t)(4 * (buf[0] & 0xF)); in ql_lso_pseudo_cksum()
4992 buf += iphl + ((proto == IPPROTO_TCP) ? in ql_lso_pseudo_cksum()