Lines Matching refs:tlen
1314 int optlen, tlen, win;
1433 tlen = 0;
1436 tlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr);
1442 tlen = sizeof (struct tcpiphdr);
1446 KASSERT(M_TRAILINGSPACE(m) >= tlen,
1448 m, tlen, (long)M_TRAILINGSPACE(m)));
1450 m->m_len = tlen;
1479 tlen += optlen = tcp_addoptions(&to, optp);
1490 ip6->ip6_plen = htons(tlen - sizeof(*ip6));
1498 ip->ip_len = htons(tlen);
1504 m->m_pkthdr.len = tlen;
1548 tlen - sizeof(struct ip6_hdr), IPPROTO_TCP, 0);
1560 htons((u_short)(tlen - sizeof(struct ip) + ip->ip_p)));