Searched refs:thlen (Results 1 – 5 of 5) sorted by relevance
151 unsigned int thlen = 0; in skb_gso_transport_seglen() 154 thlen = skb_inner_transport_header(skb) - in skb_gso_transport_seglen() 158 thlen += inner_tcp_hdrlen(skb); in skb_gso_transport_seglen() 160 thlen = tcp_hdrlen(skb); in skb_gso_transport_seglen() 162 thlen = sizeof(struct sctphdr); in skb_gso_transport_seglen() 164 thlen = sizeof(struct udphdr); in skb_gso_transport_seglen() 170 return thlen + shinfo->gso_size;147 unsigned int thlen = 0; skb_gso_transport_seglen() local
199 unsigned int thlen = 0; in virtio_net_hdr_to_skb() 208 thlen = sizeof(struct tcphdr); in __virtio_net_set_hdrlen() 213 thlen = sizeof(struct tcphdr); in __virtio_net_set_hdrlen() 219 thlen = sizeof(struct udphdr); in __virtio_net_set_hdrlen() 224 thlen = sizeof(struct udphdr); in __virtio_net_set_tnl_hdrlen() 242 u32 needed = start + max_t(u32, thlen, off + sizeof(__sum16)); in virtio_net_hdr_from_skb() 253 p_off = nh_min_len + thlen; in virtio_net_hdr_from_skb() 280 p_off = keys.control.thoff + thlen; in virtio_l3min() 298 nh_off -= thlen; in virtio_net_hdr_tnl_to_skb() 57 unsigned int thlen = 0; __virtio_net_hdr_to_skb() local
143 unsigned int thlen; in tcp_gso_segment() 154 thlen = th->doff * 4; in tcp_gso_segment() 155 if (thlen < sizeof(*th)) in tcp_gso_segment() 161 if (!pskb_may_pull(skb, thlen)) in tcp_gso_segment() 165 __skb_pull(skb, thlen); in tcp_gso_segment() 199 delta = (__force __wsum)htonl(oldlen + thlen + mss); in tcp_gso_segment() 293 unsigned int thlen = th->doff * 4; in tcp_gro_receive() 314 for (i = sizeof(*th); i < thlen; i += 4) in tcp_gro_receive() 139 unsigned int thlen; tcp_gso_segment() local 289 unsigned int thlen = th->doff * 4; tcp_gro_receive() local
1600 int thlen, int off) in ip_icmp_error_rfc4884() argument1605 hlen = -skb_transport_offset(skb) - thlen; in ip_icmp_error_rfc4884()
1255 unsigned int thlen; in nfqnl_validate_l4() 1260 thlen = __tcp_hdrlen(th); in nfqnl_validate_l4() 1261 if (thlen < sizeof(*th) || data_len < thlen) in nfqnl_validate_l4() 1244 unsigned int thlen; nfqnl_validate_l4() local