Searched refs:TH_OFF_SHIFT (Results 1 – 6 of 6) sorted by relevance
257 th->th_off_x2 = (5 << TH_OFF_SHIFT); in tcpip_fillheaders()327 nth->th_off_x2 = (sizeof(struct tcphdr) >> 2) << TH_OFF_SHIFT; in tcp_respond()
71 #define TH_OFF_SHIFT 4 macro
161 nth->th_off_x2 = ((sizeof(struct tcphdr) + optlen) >> 2) << TH_OFF_SHIFT; in tcp_twrespond()
493 off = (th->th_off_x2 >> TH_OFF_SHIFT) << 2; in tcp_input()1108 ((th->th_off_x2 >> TH_OFF_SHIFT) << 2) - sizeof(struct tcphdr), in tcp_do_segment()
1130 th->th_off_x2 = ((sizeof (struct tcphdr) + optlen) >> 2) << TH_OFF_SHIFT; in tcp_output()
636 headerSize = static_cast<uint8_t>((headerSize >> TH_OFF_SHIFT) << 2); in HandleMessage()