Searched refs:iphl (Results 1 – 2 of 2) sorted by relevance
265 uint16_t iphl; in bge_pseudo_cksum() local276 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()
1756 uint16_t iphl; in ql_pseudo_cksum() local1759 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() local4979 iphl = (uint16_t)(4 * (buf[0] & 0xF)); in ql_lso_pseudo_cksum()4992 buf += iphl + ((proto == IPPROTO_TCP) ? in ql_lso_pseudo_cksum()