Home
last modified time | relevance | path

Searched refs:tnl_hlen (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/ipv4/
Dgre_offload.c18 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in gre_gso_segment() local
29 if (unlikely(tnl_hlen < sizeof(struct gre_base_hdr))) in gre_gso_segment()
32 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in gre_gso_segment()
38 __skb_pull(skb, tnl_hlen); in gre_gso_segment()
59 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in gre_gso_segment()
67 gre_offset = outer_hlen - tnl_hlen; in gre_gso_segment()
Dudp_offload.c21 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in __skb_udp_tunnel_segment() local
32 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in __skb_udp_tunnel_segment()
50 __skb_pull(skb, tnl_hlen); in __skb_udp_tunnel_segment()
88 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in __skb_udp_tunnel_segment()
96 udp_offset = outer_hlen - tnl_hlen; in __skb_udp_tunnel_segment()
/linux-6.1.9/net/ipv6/
Dudp_offload.c29 int tnl_hlen; in udp6_ufo_fragment() local
76 tnl_hlen = skb_tnl_header_len(skb); in udp6_ufo_fragment()
77 if (skb->mac_header < (tnl_hlen + frag_hdr_sz)) { in udp6_ufo_fragment()
78 if (gso_pskb_expand_head(skb, tnl_hlen + frag_hdr_sz)) in udp6_ufo_fragment()
92 unfrag_ip6hlen + tnl_hlen; in udp6_ufo_fragment()
/linux-6.1.9/net/core/
Dskbuff.c4026 unsigned int tnl_hlen = skb_tnl_header_len(skb); in skb_segment_list() local
4076 skb_copy_from_linear_data_offset(skb, -tnl_hlen, in skb_segment_list()
4077 nskb->data - tnl_hlen, in skb_segment_list()
4078 offset + tnl_hlen); in skb_segment_list()
4129 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment() local
4301 skb_copy_from_linear_data_offset(head_skb, -tnl_hlen, in skb_segment()
4302 nskb->data - tnl_hlen, in skb_segment()
4303 doffset + tnl_hlen); in skb_segment()