Home
last modified time | relevance | path

Searched refs:xso (Results 1 – 6 of 6) sorted by relevance

/net/xfrm/
Dxfrm_device.c93 if (xo->flags & XFRM_GRO || x->xso.flags & XFRM_OFFLOAD_INBOUND) in validate_xmit_xfrm()
111 if (unlikely(x->xso.dev != dev)) { in validate_xmit_xfrm()
198 struct xfrm_state_offload *xso = &x->xso; in xfrm_dev_state_add() local
235 xso->dev = NULL; in xfrm_dev_state_add()
242 xso->dev = NULL; in xfrm_dev_state_add()
247 xso->dev = dev; in xfrm_dev_state_add()
248 xso->num_exthdrs = 1; in xfrm_dev_state_add()
250 xso->flags = xuo->flags & ~XFRM_OFFLOAD_IPV6; in xfrm_dev_state_add()
254 xso->num_exthdrs = 0; in xfrm_dev_state_add()
255 xso->flags = 0; in xfrm_dev_state_add()
[all …]
Dxfrm_state.c727 struct xfrm_state_offload *xso; in xfrm_dev_state_flush_secctx_check() local
730 xso = &x->xso; in xfrm_dev_state_flush_secctx_check()
732 if (xso->dev == dev && in xfrm_dev_state_flush_secctx_check()
811 struct xfrm_state_offload *xso; in xfrm_dev_state_flush() local
814 xso = &x->xso; in xfrm_dev_state_flush()
816 if (!xfrm_state_kern(x) && xso->dev == dev) { in xfrm_dev_state_flush()
Dxfrm_output.c596 if (x->xso.dev && x->xso.dev->features & NETIF_F_HW_ESP_TX_CSUM) in xfrm_output()
Dxfrm_user.c834 static int copy_user_offload(struct xfrm_state_offload *xso, struct sk_buff *skb) in copy_user_offload() argument
845 xuo->ifindex = xso->dev->ifindex; in copy_user_offload()
846 xuo->flags = xso->flags; in copy_user_offload()
958 if(x->xso.dev) in copy_to_user_state_extra()
959 ret = copy_user_offload(&x->xso, skb); in copy_to_user_state_extra()
2919 if (x->xso.dev) in xfrm_sa_len()
/net/ipv4/
Desp4_offload.c179 !(features & NETIF_F_HW_ESP)) || x->xso.dev != skb->dev) in esp4_gso_segment()
227 x->xso.dev != skb->dev) { in esp_xmit()
/net/ipv6/
Desp6_offload.c212 if (!(features & NETIF_F_HW_ESP) || x->xso.dev != skb->dev) in esp6_gso_segment()
258 if (!(features & NETIF_F_HW_ESP) || x->xso.dev != skb->dev) { in esp6_xmit()