Searched refs:xso (Results 1 – 6 of 6) sorted by relevance
93 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() local235 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 …]
727 struct xfrm_state_offload *xso; in xfrm_dev_state_flush_secctx_check() local730 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() local814 xso = &x->xso; in xfrm_dev_state_flush()816 if (!xfrm_state_kern(x) && xso->dev == dev) { in xfrm_dev_state_flush()
596 if (x->xso.dev && x->xso.dev->features & NETIF_F_HW_ESP_TX_CSUM) in xfrm_output()
834 static int copy_user_offload(struct xfrm_state_offload *xso, struct sk_buff *skb) in copy_user_offload() argument845 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()
179 !(features & NETIF_F_HW_ESP)) || x->xso.dev != skb->dev) in esp4_gso_segment()227 x->xso.dev != skb->dev) { in esp_xmit()
212 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()