Lines Matching refs:segs
22 struct sk_buff *segs = ERR_PTR(-EINVAL); in __skb_udp_tunnel_segment() local
85 segs = gso_inner_segment(skb, features); in __skb_udp_tunnel_segment()
86 if (IS_ERR_OR_NULL(segs)) { in __skb_udp_tunnel_segment()
92 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); in __skb_udp_tunnel_segment()
96 skb = segs; in __skb_udp_tunnel_segment()
148 return segs; in __skb_udp_tunnel_segment()
158 struct sk_buff *segs = ERR_PTR(-EINVAL); in skb_udp_tunnel_segment() local
180 segs = __skb_udp_tunnel_segment(skb, features, gso_inner_segment, in skb_udp_tunnel_segment()
186 return segs; in skb_udp_tunnel_segment()
217 static struct sk_buff *__udpv4_gso_segment_list_csum(struct sk_buff *segs) in __udpv4_gso_segment_list_csum() argument
223 seg = segs; in __udpv4_gso_segment_list_csum()
231 return segs; in __udpv4_gso_segment_list_csum()
245 return segs; in __udpv4_gso_segment_list_csum()
268 struct sk_buff *segs, *seg; in __udp_gso_segment() local
289 segs = skb_segment(gso_skb, features); in __udp_gso_segment()
290 if (IS_ERR_OR_NULL(segs)) { in __udp_gso_segment()
293 return segs; in __udp_gso_segment()
300 if (skb_is_gso(segs)) in __udp_gso_segment()
301 mss *= skb_shinfo(segs)->gso_segs; in __udp_gso_segment()
303 seg = segs; in __udp_gso_segment()
363 return segs; in __udp_gso_segment()
370 struct sk_buff *segs = ERR_PTR(-EINVAL); in udp4_ufo_fragment() local
379 segs = skb_udp_tunnel_segment(skb, features, false); in udp4_ufo_fragment()
422 segs = skb_segment(skb, features); in udp4_ufo_fragment()
424 return segs; in udp4_ufo_fragment()