Home
last modified time | relevance | path

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

/linux/net/xfrm/
H A Dxfrm_device.c234 struct xfrm_user_offload *xuo, in xfrm_dev_state_add() argument
250 if (xuo->flags & in xfrm_dev_state_add()
256 if ((xuo->flags & XFRM_OFFLOAD_INBOUND && x->dir == XFRM_SA_DIR_OUT) || in xfrm_dev_state_add()
257 (!(xuo->flags & XFRM_OFFLOAD_INBOUND) && x->dir == XFRM_SA_DIR_IN)) { in xfrm_dev_state_add()
262 is_packet_offload = xuo->flags & XFRM_OFFLOAD_PACKET; in xfrm_dev_state_add()
270 dev = dev_get_by_index(net, xuo->ifindex); in xfrm_dev_state_add()
274 if (!(xuo->flags & XFRM_OFFLOAD_INBOUND)) { in xfrm_dev_state_add()
315 if (xuo->flags & XFRM_OFFLOAD_INBOUND) in xfrm_dev_state_add()
348 struct xfrm_user_offload *xuo, u8 dir, in xfrm_dev_policy_add() argument
355 if (!xuo->flags || xuo->flags & ~XFRM_OFFLOAD_PACKET) { in xfrm_dev_policy_add()
[all …]
H A Dxfrm_user.c1056 struct xfrm_user_offload *xuo; in copy_user_offload() local
1059 attr = nla_reserve(skb, XFRMA_OFFLOAD_DEV, sizeof(*xuo)); in copy_user_offload()
1063 xuo = nla_data(attr); in copy_user_offload()
1064 memset(xuo, 0, sizeof(*xuo)); in copy_user_offload()
1065 xuo->ifindex = xso->dev->ifindex; in copy_user_offload()
1067 xuo->flags = XFRM_OFFLOAD_INBOUND; in copy_user_offload()
1069 xuo->flags |= XFRM_OFFLOAD_PACKET; in copy_user_offload()
/linux/include/net/
H A Dxfrm.h1981 struct xfrm_user_offload *xuo,
1984 struct xfrm_user_offload *xuo, u8 dir,
2052 …state_add(struct net *net, struct xfrm_state *x, struct xfrm_user_offload *xuo, struct netlink_ext… in xfrm_dev_state_add() argument
2066 struct xfrm_user_offload *xuo, u8 dir, in xfrm_dev_policy_add() argument