Searched refs:xuo (Results 1 – 2 of 2) sorted by relevance
223 struct xfrm_user_offload *xuo) in xfrm_dev_state_add() argument239 if (xuo->flags & ~(XFRM_OFFLOAD_IPV6 | XFRM_OFFLOAD_INBOUND)) in xfrm_dev_state_add()242 dev = dev_get_by_index(net, xuo->ifindex); in xfrm_dev_state_add()244 if (!(xuo->flags & XFRM_OFFLOAD_INBOUND)) { in xfrm_dev_state_add()281 xso->flags = xuo->flags & ~XFRM_OFFLOAD_IPV6; in xfrm_dev_state_add()
844 struct xfrm_user_offload *xuo; in copy_user_offload() local847 attr = nla_reserve(skb, XFRMA_OFFLOAD_DEV, sizeof(*xuo)); in copy_user_offload()851 xuo = nla_data(attr); in copy_user_offload()852 memset(xuo, 0, sizeof(*xuo)); in copy_user_offload()853 xuo->ifindex = xso->dev->ifindex; in copy_user_offload()854 xuo->flags = xso->flags; in copy_user_offload()