Home
last modified time | relevance | path

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

/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_subr.c257 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()
Dtcp.h71 #define TH_OFF_SHIFT 4 macro
Dtcp_timewait.c161 nth->th_off_x2 = ((sizeof(struct tcphdr) + optlen) >> 2) << TH_OFF_SHIFT; in tcp_twrespond()
Dtcp_input.c493 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()
Dtcp_output.c1130 th->th_off_x2 = ((sizeof (struct tcphdr) + optlen) >> 2) << TH_OFF_SHIFT; in tcp_output()
/openthread-latest/src/core/net/
Dtcp6.cpp636 headerSize = static_cast<uint8_t>((headerSize >> TH_OFF_SHIFT) << 2); in HandleMessage()