Home
last modified time | relevance | path

Searched refs:xo (Results 1 – 10 of 10) sorted by relevance

/net/ipv4/
Desp4_offload.c32 struct xfrm_offload *xo; in esp4_gro_receive() local
43 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() local
105 xo->proto = proto; in esp4_gso_encap()
122 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_gso_segment() local
125 ops = rcu_dereference(inet_offloads[xo->proto]); in xfrm4_transport_gso_segment()
[all …]
Desp4.c249 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local
253 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() local
317 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() local
720 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 …]
Dxfrm4_input.c49 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_finish() local
63 if (xo && (xo->flags & XFRM_GRO)) { in xfrm4_transport_finish()
/net/ipv6/
Desp6_offload.c53 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()
[all …]
Desp6.c284 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local
288 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() local
354 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() local
757 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 …]
Dxfrm6_input.c43 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_finish() local
58 if (xo && (xo->flags & XFRM_GRO)) { in xfrm6_transport_finish()
/net/xfrm/
Dxfrm_device.c25 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_transport_prep() local
28 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_transport_prep()
38 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_tunnel_prep() local
40 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_tunnel_prep()
50 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_beet_prep() local
53 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_beet_prep()
102 struct xfrm_offload *xo = xfrm_offload(skb); in xmit_xfrm_check_overflow() local
103 __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 …]
Dxfrm_replay.c616 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_replay_overflow_offload() local
619 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() local
659 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 …]
Dxfrm_input.c476 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_input() local
507 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()
Dxfrm_output.c656 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_get_inner_ipproto() local
659 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()