Home
last modified time | relevance | path

Searched refs:xuo (Results 1 – 2 of 2) sorted by relevance

/net/xfrm/
Dxfrm_device.c223 struct xfrm_user_offload *xuo, in xfrm_dev_state_add() argument
244 if (xuo->flags & ~(XFRM_OFFLOAD_IPV6 | XFRM_OFFLOAD_INBOUND)) { in xfrm_dev_state_add()
249 dev = dev_get_by_index(net, xuo->ifindex); in xfrm_dev_state_add()
251 if (!(xuo->flags & XFRM_OFFLOAD_INBOUND)) { in xfrm_dev_state_add()
289 if (xuo->flags & XFRM_OFFLOAD_INBOUND) in xfrm_dev_state_add()
Dxfrm_user.c934 struct xfrm_user_offload *xuo; in copy_user_offload() local
937 attr = nla_reserve(skb, XFRMA_OFFLOAD_DEV, sizeof(*xuo)); in copy_user_offload()
941 xuo = nla_data(attr); in copy_user_offload()
942 memset(xuo, 0, sizeof(*xuo)); in copy_user_offload()
943 xuo->ifindex = xso->dev->ifindex; in copy_user_offload()
945 xuo->flags = XFRM_OFFLOAD_INBOUND; in copy_user_offload()