Searched refs:tnl_hlen (Results 1 – 4 of 4) sorted by relevance
/linux/net/ipv4/ |
A D | gre_offload.c | 17 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in gre_gso_segment() local 28 if (unlikely(tnl_hlen < sizeof(struct gre_base_hdr))) in gre_gso_segment() 31 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in gre_gso_segment() 37 __skb_pull(skb, tnl_hlen); in gre_gso_segment() 58 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in gre_gso_segment() 66 gre_offset = outer_hlen - tnl_hlen; in gre_gso_segment()
|
A D | udp_offload.c | 20 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in __skb_udp_tunnel_segment() local 31 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in __skb_udp_tunnel_segment() 49 __skb_pull(skb, tnl_hlen); in __skb_udp_tunnel_segment() 87 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in __skb_udp_tunnel_segment() 95 udp_offset = outer_hlen - tnl_hlen; in __skb_udp_tunnel_segment()
|
/linux/net/ipv6/ |
A D | udp_offload.c | 28 int tnl_hlen; in udp6_ufo_fragment() local 75 tnl_hlen = skb_tnl_header_len(skb); in udp6_ufo_fragment() 76 if (skb->mac_header < (tnl_hlen + frag_hdr_sz)) { in udp6_ufo_fragment() 77 if (gso_pskb_expand_head(skb, tnl_hlen + frag_hdr_sz)) in udp6_ufo_fragment() 91 unfrag_ip6hlen + tnl_hlen; in udp6_ufo_fragment()
|
/linux/net/core/ |
A D | skbuff.c | 3841 unsigned int tnl_hlen = skb_tnl_header_len(skb); in skb_segment_list() local 3889 skb_copy_from_linear_data_offset(skb, -tnl_hlen, in skb_segment_list() 3890 nskb->data - tnl_hlen, in skb_segment_list() 3891 offset + tnl_hlen); in skb_segment_list() 3968 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment() local 4138 skb_copy_from_linear_data_offset(head_skb, -tnl_hlen, in skb_segment() 4139 nskb->data - tnl_hlen, in skb_segment() 4140 doffset + tnl_hlen); in skb_segment()
|
Completed in 17 milliseconds