Searched refs:thlen (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/sbin/ipf/ipsend/ |
| H A D | ip.c | 244 int thlen, i, iplen, hlen; in send_tcp() local 253 thlen = TCP_OFF(t) << 2; in send_tcp() 254 if (!thlen) in send_tcp() 255 thlen = sizeof(tcphdr_t); in send_tcp() 272 bcopy((char *)ip + hlen + thlen, (char *)ip + hlen + thlen + 4, in send_tcp() 274 thlen += 4; in send_tcp() 276 TCP_OFF_A(t2, thlen >> 2); in send_tcp() 278 ip->ip_len = hlen + thlen; in send_tcp() 294 int thlen; in send_udp() local 299 thlen = sizeof(udphdr_t); in send_udp() [all …]
|
| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_vjc.c | 595 int ihlen, thlen; in ng_vjc_pulluphdrs() local 609 thlen = tcp->th_off << 2; in ng_vjc_pulluphdrs() 610 if (m->m_len < ihlen + thlen) in ng_vjc_pulluphdrs() 611 m = m_pullup(m, ihlen + thlen); in ng_vjc_pulluphdrs()
|
| /freebsd-13.1/sys/netinet/ |
| H A D | tcp_subr.c | 545 int thlen; in tcp_recv_udp_tunneled_packet() local 554 thlen = sizeof(struct tcphdr); in tcp_recv_udp_tunneled_packet() 555 if (m->m_len < off + sizeof(struct udphdr) + thlen && in tcp_recv_udp_tunneled_packet() 556 (m = m_pullup(m, off + sizeof(struct udphdr) + thlen)) == NULL) { in tcp_recv_udp_tunneled_packet() 563 thlen = th->th_off << 2; in tcp_recv_udp_tunneled_packet() 564 if (m->m_len < off + sizeof(struct udphdr) + thlen) { in tcp_recv_udp_tunneled_packet() 565 m = m_pullup(m, off + sizeof(struct udphdr) + thlen); in tcp_recv_udp_tunneled_packet()
|