Searched refs:xso (Results 1 – 6 of 6) sorted by relevance
132 if (xo->flags & XFRM_GRO || x->xso.dir == XFRM_DEV_OFFLOAD_IN) in validate_xmit_xfrm()136 if ((x->xso.dev != dev) && (x->xso.real_dev == dev)) in validate_xmit_xfrm()149 if (skb_is_gso(skb) && (unlikely(x->xso.dev != dev) || in validate_xmit_xfrm()229 struct xfrm_dev_offload *xso = &x->xso; in xfrm_dev_state_add() local272 xso->dev = NULL; in xfrm_dev_state_add()280 xso->dev = NULL; in xfrm_dev_state_add()285 xso->dev = dev; in xfrm_dev_state_add()286 netdev_tracker_alloc(dev, &xso->dev_tracker, GFP_ATOMIC); in xfrm_dev_state_add()287 xso->real_dev = dev; in xfrm_dev_state_add()290 xso->dir = XFRM_DEV_OFFLOAD_IN; in xfrm_dev_state_add()[all …]
754 struct xfrm_dev_offload *xso; in xfrm_dev_state_flush_secctx_check() local757 xso = &x->xso; in xfrm_dev_state_flush_secctx_check()759 if (xso->dev == dev && in xfrm_dev_state_flush_secctx_check()838 struct xfrm_dev_offload *xso; in xfrm_dev_state_flush() local841 xso = &x->xso; in xfrm_dev_state_flush()843 if (!xfrm_state_kern(x) && xso->dev == dev) { in xfrm_dev_state_flush()
746 if (x->xso.dev && x->xso.dev->features & NETIF_F_HW_ESP_TX_CSUM) in xfrm_output()
932 static int copy_user_offload(struct xfrm_dev_offload *xso, struct sk_buff *skb) in copy_user_offload() argument943 xuo->ifindex = xso->dev->ifindex; in copy_user_offload()944 if (xso->dir == XFRM_DEV_OFFLOAD_IN) in copy_user_offload()1154 if(x->xso.dev) in copy_to_user_state_extra()1155 ret = copy_user_offload(&x->xso, skb); in copy_to_user_state_extra()3256 if (x->xso.dev) in xfrm_sa_len()
224 !(features & NETIF_F_HW_ESP)) || x->xso.dev != skb->dev) in esp4_gso_segment()272 x->xso.dev != skb->dev) { in esp_xmit()
262 if (!(features & NETIF_F_HW_ESP) || x->xso.dev != skb->dev) in esp6_gso_segment()307 if (!(features & NETIF_F_HW_ESP) || x->xso.dev != skb->dev) { in esp6_xmit()