Home
last modified time | relevance | path

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

/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_output.c120 unsigned ipoptlen, optlen, hdrlen; in tcp_output() local
716 hdrlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr); in tcp_output()
807 hdrlen += optlen = tcp_addoptions(&to, opt); in tcp_output()
844 KASSERT(len + hdrlen + ipoptlen <= IP_MAXPACKET, in tcp_output()
880 if (MHLEN < hdrlen + max_linkhdr) in tcp_output()
894 m->m_len = hdrlen; in tcp_output()
902 if (len <= MHLEN - hdrlen - max_linkhdr) { in tcp_output()
904 mtod(m, caddr_t) + hdrlen); in tcp_output()
944 if (isipv6 && (MHLEN < hdrlen + max_linkhdr) && in tcp_output()
945 MHLEN >= hdrlen) { in tcp_output()
[all …]