Home
last modified time | relevance | path

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

12

/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dvirtio_net.h33 unsigned int thlen = 0; in virtio_net_hdr_to_skb() local
42 thlen = sizeof(struct tcphdr); in virtio_net_hdr_to_skb()
47 thlen = sizeof(struct tcphdr); in virtio_net_hdr_to_skb()
52 thlen = sizeof(struct udphdr); in virtio_net_hdr_to_skb()
70 u32 needed = start + max_t(u32, thlen, off + sizeof(__sum16)); in virtio_net_hdr_to_skb()
78 p_off = skb_transport_offset(skb) + thlen; in virtio_net_hdr_to_skb()
108 p_off = keys.control.thoff + thlen; in virtio_net_hdr_to_skb()
115 p_off = thlen; in virtio_net_hdr_to_skb()
H A Dicmp.h41 int thlen, int off);
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dvirtio_net.h33 unsigned int thlen = 0; in virtio_net_hdr_to_skb() local
42 thlen = sizeof(struct tcphdr); in virtio_net_hdr_to_skb()
47 thlen = sizeof(struct tcphdr); in virtio_net_hdr_to_skb()
52 thlen = sizeof(struct udphdr); in virtio_net_hdr_to_skb()
70 u32 needed = start + max_t(u32, thlen, off + sizeof(__sum16)); in virtio_net_hdr_to_skb()
78 p_off = skb_transport_offset(skb) + thlen; in virtio_net_hdr_to_skb()
108 p_off = keys.control.thoff + thlen; in virtio_net_hdr_to_skb()
115 p_off = thlen; in virtio_net_hdr_to_skb()
H A Dicmp.h41 int thlen, int off);
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dvirtio_net.h33 unsigned int thlen = 0; in virtio_net_hdr_to_skb() local
42 thlen = sizeof(struct tcphdr); in virtio_net_hdr_to_skb()
47 thlen = sizeof(struct tcphdr); in virtio_net_hdr_to_skb()
52 thlen = sizeof(struct udphdr); in virtio_net_hdr_to_skb()
70 u32 needed = start + max_t(u32, thlen, off + sizeof(__sum16)); in virtio_net_hdr_to_skb()
78 p_off = skb_transport_offset(skb) + thlen; in virtio_net_hdr_to_skb()
108 p_off = keys.control.thoff + thlen; in virtio_net_hdr_to_skb()
115 p_off = thlen; in virtio_net_hdr_to_skb()
H A Dicmp.h41 int thlen, int off);
/dports/multimedia/libv4l/linux-5.13-rc2/net/ipv4/
H A Dtcp_offload.c60 unsigned int thlen; in tcp_gso_segment() local
70 thlen = th->doff * 4; in tcp_gso_segment()
71 if (thlen < sizeof(*th)) in tcp_gso_segment()
74 if (!pskb_may_pull(skb, thlen)) in tcp_gso_segment()
78 __skb_pull(skb, thlen); in tcp_gso_segment()
112 delta = htonl(oldlen + (thlen + mss)); in tcp_gso_segment()
187 unsigned int thlen; in tcp_gro_receive() local
204 thlen = th->doff * 4; in tcp_gro_receive()
205 if (thlen < sizeof(*th)) in tcp_gro_receive()
208 hlen = off + thlen; in tcp_gro_receive()
[all …]
H A Dicmp.c1290 int thlen, int off) in ip_icmp_error_rfc4884() argument
1295 hlen = -skb_transport_offset(skb) - thlen; in ip_icmp_error_rfc4884()
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/ipv4/
H A Dtcp_offload.c60 unsigned int thlen; in tcp_gso_segment() local
70 thlen = th->doff * 4; in tcp_gso_segment()
71 if (thlen < sizeof(*th)) in tcp_gso_segment()
74 if (!pskb_may_pull(skb, thlen)) in tcp_gso_segment()
78 __skb_pull(skb, thlen); in tcp_gso_segment()
112 delta = htonl(oldlen + (thlen + mss)); in tcp_gso_segment()
187 unsigned int thlen; in tcp_gro_receive() local
204 thlen = th->doff * 4; in tcp_gro_receive()
205 if (thlen < sizeof(*th)) in tcp_gro_receive()
208 hlen = off + thlen; in tcp_gro_receive()
[all …]
H A Dicmp.c1290 int thlen, int off) in ip_icmp_error_rfc4884() argument
1295 hlen = -skb_transport_offset(skb) - thlen; in ip_icmp_error_rfc4884()
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/ipv4/
H A Dtcp_offload.c60 unsigned int thlen; in tcp_gso_segment() local
70 thlen = th->doff * 4; in tcp_gso_segment()
71 if (thlen < sizeof(*th)) in tcp_gso_segment()
74 if (!pskb_may_pull(skb, thlen)) in tcp_gso_segment()
78 __skb_pull(skb, thlen); in tcp_gso_segment()
112 delta = htonl(oldlen + (thlen + mss)); in tcp_gso_segment()
187 unsigned int thlen; in tcp_gro_receive() local
204 thlen = th->doff * 4; in tcp_gro_receive()
205 if (thlen < sizeof(*th)) in tcp_gro_receive()
208 hlen = off + thlen; in tcp_gro_receive()
[all …]
H A Dicmp.c1290 int thlen, int off) in ip_icmp_error_rfc4884() argument
1295 hlen = -skb_transport_offset(skb) - thlen; in ip_icmp_error_rfc4884()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet6/
H A Din6_offload.c89 int thlen; in tcp6_segment() local
129 thlen = th->th_off * 4; in tcp6_segment()
130 hlen = iphlen + thlen; in tcp6_segment()
169 iph->ip6_plen = htons(thlen + mss); in tcp6_segment()
173 th->th_sum = in6_cksum(n, IPPROTO_TCP, iphlen, thlen + mss); in tcp6_segment()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_check_syncookie_kern.c30 __u32 thlen = tcph->doff * 4; in gen_syncookie() local
34 if (thlen != 24) in gen_syncookie()
37 if ((void *)tcph + thlen > data_end) in gen_syncookie()
40 return bpf_tcp_gen_syncookie(sk, iph, ip_size, tcph, thlen); in gen_syncookie()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_check_syncookie_kern.c30 __u32 thlen = tcph->doff * 4; in gen_syncookie() local
34 if (thlen != 24) in gen_syncookie()
37 if ((void *)tcph + thlen > data_end) in gen_syncookie()
40 return bpf_tcp_gen_syncookie(sk, iph, ip_size, tcph, thlen); in gen_syncookie()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_check_syncookie_kern.c30 __u32 thlen = tcph->doff * 4; in gen_syncookie() local
34 if (thlen != 24) in gen_syncookie()
37 if ((void *)tcph + thlen > data_end) in gen_syncookie()
40 return bpf_tcp_gen_syncookie(sk, iph, ip_size, tcph, thlen); in gen_syncookie()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet/
H A Din_offload.c87 int thlen; in tcp4_segment() local
130 thlen = th->th_off * 4; in tcp4_segment()
131 hlen = iphlen + thlen; in tcp4_segment()
177 th->th_sum = in4_cksum(n, IPPROTO_TCP, iphlen, thlen + mss); in tcp4_segment()
/dports/devel/hyperscan/hyperscan-5.4.0/examples/
H A Dpcapscan.cc586 unsigned int thlen = 0; in payloadOffset() local
591 thlen = th->th_off * 4; in payloadOffset()
594 thlen = sizeof(udphdr); in payloadOffset()
600 *offset = sizeof(ether_header) + ihlen + thlen; in payloadOffset()
H A Dpatbench.cc804 unsigned int thlen = 0; in payloadOffset() local
809 thlen = th->th_off * 4; in payloadOffset()
812 thlen = sizeof(udphdr); in payloadOffset()
818 *offset = sizeof(ether_header) + ihlen + thlen; in payloadOffset()
/dports/misc/rump/buildrump.sh-b914579/src/sys/net/npf/
H A Dnpf_inet.c202 u_int thlen; in npf_tcpsaw() local
209 thlen = th->th_off << 2; in npf_tcpsaw()
213 return ntohs(ip->ip_len) - npc->npc_hlen - thlen; in npf_tcpsaw()
216 return ntohs(ip6->ip6_plen) - thlen; in npf_tcpsaw()
/dports/x11-wm/e16/e16-1.0.24/src/
H A Dbackgrounds.h52 int thlen);
/dports/editors/calligra/calligra-3.2.1/sheets/
H A DValueParser.cpp163 int thlen = m_settings->locale()->thousandsSeparator().length(); in readNumber() local
168 if (fromEnd % (3 + thlen) != 0 // Needs to be a multiple, otherwise it's an error in readNumber()
177 major.remove(pos, thlen); in readNumber()
/dports/x11-toolkits/vdk/vdk-2.5.1/src/
H A Dvdkustring.cc884 char thlen[2]; in FloattoUserFormat() local
886 thlen[0] = grouping[0]; in FloattoUserFormat()
887 thlen[1] = 0; in FloattoUserFormat()
888 thousandslen = atoi(thlen); in FloattoUserFormat()
/dports/devel/radare2/radare2-5.1.1/libr/core/
H A Dproject.c390 size_t thlen = R_MIN (strlen (prj_name), sizeof (thname) - 1); in r_core_project_load_bg() local
391 r_str_ncpy (thname, prj_name, thlen); in r_core_project_load_bg()
/dports/multimedia/libv4l/linux-5.13-rc2/net/core/
H A Dskbuff.c5404 unsigned int thlen = 0; in skb_gso_transport_seglen() local
5407 thlen = skb_inner_transport_header(skb) - in skb_gso_transport_seglen()
5411 thlen += inner_tcp_hdrlen(skb); in skb_gso_transport_seglen()
5413 thlen = tcp_hdrlen(skb); in skb_gso_transport_seglen()
5415 thlen = sizeof(struct sctphdr); in skb_gso_transport_seglen()
5417 thlen = sizeof(struct udphdr); in skb_gso_transport_seglen()
5423 return thlen + shinfo->gso_size; in skb_gso_transport_seglen()

12