Home | History | Annotate | Download | only in netinet

Lines Matching refs:tlen

1083 	u_int16_t tlen;
1112 tlen = hlen + sizeof(struct tcphdr) + MAX_TCPOPTLEN;
1113 KASSERT(max_linkhdr + tlen <= MCLBYTES);
1119 if (m && (max_linkhdr + tlen) > MHLEN) {
1135 memset(mtod(m, void *), 0, tlen);
1244 tlen = hlen + sizeof(struct tcphdr) + optlen;
1245 m->m_len = m->m_pkthdr.len = tlen;
1312 ip->ip_len = htons(tlen - hlen);
1314 th->th_sum = in4_cksum(m, IPPROTO_TCP, hlen, tlen - hlen);
1315 ip->ip_len = htons(tlen);
1321 ip6->ip6_plen = htons(tlen - hlen);
1323 th->th_sum = in6_cksum(m, IPPROTO_TCP, hlen, tlen - hlen);
1326 ip6->ip6_plen = htons(tlen - hlen);