Searched refs:thlen (Results 1 – 6 of 6) sorted by relevance
146 unsigned int thlen = 0; in skb_gso_transport_seglen() local149 thlen = skb_inner_transport_header(skb) - in skb_gso_transport_seglen()153 thlen += inner_tcp_hdrlen(skb); in skb_gso_transport_seglen()155 thlen = tcp_hdrlen(skb); in skb_gso_transport_seglen()157 thlen = sizeof(struct sctphdr); in skb_gso_transport_seglen()159 thlen = sizeof(struct udphdr); in skb_gso_transport_seglen()165 return thlen + shinfo->gso_size; in skb_gso_transport_seglen()
56 unsigned int thlen = 0; in __virtio_net_hdr_to_skb() local65 thlen = sizeof(struct tcphdr); in __virtio_net_hdr_to_skb()70 thlen = sizeof(struct tcphdr); in __virtio_net_hdr_to_skb()76 thlen = sizeof(struct udphdr); in __virtio_net_hdr_to_skb()81 thlen = sizeof(struct udphdr); in __virtio_net_hdr_to_skb()99 u32 needed = start + max_t(u32, thlen, off + sizeof(__sum16)); in __virtio_net_hdr_to_skb()110 p_off = nh_min_len + thlen; in __virtio_net_hdr_to_skb()144 p_off = keys.control.thoff + thlen; in __virtio_net_hdr_to_skb()151 p_off = nh_min_len + thlen; in __virtio_net_hdr_to_skb()165 nh_off -= thlen; in __virtio_net_hdr_to_skb()
41 int thlen, int off);
139 unsigned int thlen; in tcp_gso_segment() local150 thlen = th->doff * 4; in tcp_gso_segment()151 if (thlen < sizeof(*th)) in tcp_gso_segment()157 if (!pskb_may_pull(skb, thlen)) in tcp_gso_segment()161 __skb_pull(skb, thlen); in tcp_gso_segment()195 delta = (__force __wsum)htonl(oldlen + thlen + mss); in tcp_gso_segment()289 unsigned int thlen = th->doff * 4; in tcp_gro_receive() local310 for (i = sizeof(*th); i < thlen; i += 4) in tcp_gro_receive()
1583 int thlen, int off) in ip_icmp_error_rfc4884() argument1588 hlen = -skb_transport_offset(skb) - thlen; in ip_icmp_error_rfc4884()
597 unsigned int thlen, hlen, off; in tcp_gro_pull_header() local606 thlen = th->doff * 4; in tcp_gro_pull_header()607 if (unlikely(thlen < sizeof(*th))) in tcp_gro_pull_header()610 hlen = off + thlen; in tcp_gro_pull_header()617 skb_gro_pull(skb, thlen); in tcp_gro_pull_header()