Lines Matching refs:xo
53 struct xfrm_offload *xo; in esp6_gro_receive() local
66 xo = xfrm_offload(skb); in esp6_gro_receive()
67 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp6_gro_receive()
87 xo = xfrm_offload(skb); in esp6_gro_receive()
88 if (!xo) in esp6_gro_receive()
92 xo->flags |= XFRM_GRO; in esp6_gro_receive()
123 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_gso_encap() local
140 xo->proto = proto; in esp6_gso_encap()
157 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_gso_segment() local
160 ops = rcu_dereference(inet6_offloads[xo->proto]); in xfrm6_transport_gso_segment()
171 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_beet_gso_segment() local
174 u8 proto = xo->proto; in xfrm6_beet_gso_segment()
235 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_gso_segment() local
238 if (!xo) in esp6_gso_segment()
266 xo->flags |= XFRM_GSO_SEGMENT; in esp6_gso_segment()
274 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_input_tail() local
279 if (!(xo->flags & CRYPTO_DONE)) in esp6_input_tail()
291 struct xfrm_offload *xo; in esp6_xmit() local
299 xo = xfrm_offload(skb); in esp6_xmit()
301 if (!xo) in esp6_xmit()
305 xo->flags |= CRYPTO_FALLBACK; in esp6_xmit()
309 esp.proto = xo->proto; in esp6_xmit()
330 seq = xo->seq.low; in esp6_xmit()
337 if (xo->flags & XFRM_GSO_SEGMENT) { in esp6_xmit()
341 xo->seq.low++; in esp6_xmit()
343 xo->seq.low += skb_shinfo(skb)->gso_segs; in esp6_xmit()
346 if (xo->seq.low < seq) in esp6_xmit()
347 xo->seq.hi++; in esp6_xmit()
349 esp.seqno = cpu_to_be64(xo->seq.low + ((u64)xo->seq.hi << 32)); in esp6_xmit()
361 xo = xfrm_offload(skb); in esp6_xmit()
362 if (!xo) in esp6_xmit()
365 xo->flags |= XFRM_XMIT; in esp6_xmit()