Home
last modified time | relevance | path

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

/net/ipv4/
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 …]
Dicmp.c1321 int thlen, int off) in ip_icmp_error_rfc4884() argument
1326 hlen = -skb_transport_offset(skb) - thlen; in ip_icmp_error_rfc4884()
/net/core/
Dskbuff.c5571 unsigned int thlen = 0; in skb_gso_transport_seglen() local
5574 thlen = skb_inner_transport_header(skb) - in skb_gso_transport_seglen()
5578 thlen += inner_tcp_hdrlen(skb); in skb_gso_transport_seglen()
5580 thlen = tcp_hdrlen(skb); in skb_gso_transport_seglen()
5582 thlen = sizeof(struct sctphdr); in skb_gso_transport_seglen()
5584 thlen = sizeof(struct udphdr); in skb_gso_transport_seglen()
5590 return thlen + shinfo->gso_size; in skb_gso_transport_seglen()