Searched refs:xo (Results 1 – 10 of 10) sorted by relevance
32 struct xfrm_offload *xo; in esp4_gro_receive() local43 xo = xfrm_offload(skb); in esp4_gro_receive()44 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive()64 xo = xfrm_offload(skb); in esp4_gro_receive()65 if (!xo) in esp4_gro_receive()69 xo->flags |= XFRM_GRO; in esp4_gro_receive()95 struct xfrm_offload *xo = xfrm_offload(skb); in esp4_gso_encap() local105 xo->proto = proto; in esp4_gso_encap()122 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_gso_segment() local125 ops = rcu_dereference(inet_offloads[xo->proto]); in xfrm4_transport_gso_segment()[all …]
249 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local253 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()265 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()315 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_set_extra() local317 if (xo) in esp_output_set_extra()318 seqhi = xo->seq.hi; in esp_output_set_extra()708 struct xfrm_offload *xo = xfrm_offload(skb); in esp_remove_trailer() local720 if (xo && (xo->flags & XFRM_ESP_NO_TRAILER)) { in esp_remove_trailer()721 ret = xo->proto; in esp_remove_trailer()756 struct xfrm_offload *xo = xfrm_offload(skb); in esp_input_done2() local[all …]
49 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_finish() local63 if (xo && (xo->flags & XFRM_GRO)) { in xfrm4_transport_finish()
53 struct xfrm_offload *xo; in esp6_gro_receive() local66 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() local140 xo->proto = proto; in esp6_gso_encap()157 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_gso_segment() local160 ops = rcu_dereference(inet6_offloads[xo->proto]); in xfrm6_transport_gso_segment()[all …]
284 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local288 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()302 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()352 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_set_esn() local354 if (xo) in esp_output_set_esn()355 seqhi = xo->seq.hi; in esp_output_set_esn()745 struct xfrm_offload *xo = xfrm_offload(skb); in esp_remove_trailer() local757 if (xo && (xo->flags & XFRM_ESP_NO_TRAILER)) { in esp_remove_trailer()758 ret = xo->proto; in esp_remove_trailer()792 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_input_done2() local[all …]
43 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_finish() local58 if (xo && (xo->flags & XFRM_GRO)) { in xfrm6_transport_finish()
25 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_transport_prep() local28 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_transport_prep()38 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_tunnel_prep() local40 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_tunnel_prep()50 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_beet_prep() local53 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_beet_prep()102 struct xfrm_offload *xo = xfrm_offload(skb); in xmit_xfrm_check_overflow() local103 __u32 seq = xo->seq.low; in xmit_xfrm_check_overflow()106 if (unlikely(seq < xo->seq.low)) in xmit_xfrm_check_overflow()120 struct xfrm_offload *xo = xfrm_offload(skb); in validate_xmit_xfrm() local[all …]
616 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_replay_overflow_offload() local619 if (!xo) in xfrm_replay_overflow_offload()625 xo->seq.low = oseq; in xfrm_replay_overflow_offload()628 xo->seq.low = oseq + 1; in xfrm_replay_overflow_offload()633 xo->seq.hi = 0; in xfrm_replay_overflow_offload()654 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_replay_overflow_offload_bmp() local659 if (!xo) in xfrm_replay_overflow_offload_bmp()665 xo->seq.low = oseq; in xfrm_replay_overflow_offload_bmp()668 xo->seq.low = oseq + 1; in xfrm_replay_overflow_offload_bmp()673 xo->seq.hi = 0; in xfrm_replay_overflow_offload_bmp()[all …]
476 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_input() local507 if (xo && (xo->flags & CRYPTO_DONE)) { in xfrm_input()511 if (!(xo->status & CRYPTO_SUCCESS)) { in xfrm_input()512 if (xo->status & in xfrm_input()525 if (xo->status & CRYPTO_INVALID_PROTOCOL) { in xfrm_input()727 xo = xfrm_offload(skb); in xfrm_input()728 if (xo) in xfrm_input()729 xfrm_gro = xo->flags & XFRM_GRO; in xfrm_input()
656 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_get_inner_ipproto() local659 if (!xo) in xfrm_get_inner_ipproto()665 xo->inner_ipproto = ip_hdr(skb)->protocol; in xfrm_get_inner_ipproto()668 xo->inner_ipproto = ipv6_hdr(skb)->nexthdr; in xfrm_get_inner_ipproto()682 xo->inner_ipproto = skb->inner_ipproto; in xfrm_get_inner_ipproto()693 xo->inner_ipproto = inner_ipv6_hdr(skb)->nexthdr; in xfrm_get_inner_ipproto()696 xo->inner_ipproto = inner_ip_hdr(skb)->protocol; in xfrm_get_inner_ipproto()