Home
last modified time | relevance | path

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

/freebsd-14.2/sbin/ipf/ipsend/
H A Dip.c243 int thlen, i, iplen, hlen; in send_tcp() local
252 thlen = TCP_OFF(t) << 2; in send_tcp()
253 if (!thlen) in send_tcp()
254 thlen = sizeof(tcphdr_t); in send_tcp()
271 bcopy((char *)ip + hlen + thlen, (char *)ip + hlen + thlen + 4, in send_tcp()
273 thlen += 4; in send_tcp()
275 TCP_OFF_A(t2, thlen >> 2); in send_tcp()
277 ip->ip_len = hlen + thlen; in send_tcp()
293 int thlen; in send_udp() local
298 thlen = sizeof(udphdr_t); in send_udp()
[all …]
/freebsd-14.2/sys/netgraph/
H A Dng_vjc.c593 int ihlen, thlen; in ng_vjc_pulluphdrs() local
607 thlen = tcp->th_off << 2; in ng_vjc_pulluphdrs()
608 if (m->m_len < ihlen + thlen) in ng_vjc_pulluphdrs()
609 m = m_pullup(m, ihlen + thlen); in ng_vjc_pulluphdrs()
/freebsd-14.2/sys/netinet/
H A Dtcp_subr.c625 int thlen; in tcp_recv_udp_tunneled_packet() local
634 thlen = sizeof(struct tcphdr); in tcp_recv_udp_tunneled_packet()
635 if (m->m_len < off + sizeof(struct udphdr) + thlen && in tcp_recv_udp_tunneled_packet()
636 (m = m_pullup(m, off + sizeof(struct udphdr) + thlen)) == NULL) { in tcp_recv_udp_tunneled_packet()
643 thlen = th->th_off << 2; in tcp_recv_udp_tunneled_packet()
644 if (m->m_len < off + sizeof(struct udphdr) + thlen) { in tcp_recv_udp_tunneled_packet()
645 m = m_pullup(m, off + sizeof(struct udphdr) + thlen); in tcp_recv_udp_tunneled_packet()