Lines Matching refs:xfrm
6 #include <linux/xfrm.h>
48 MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap))
50 MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto))
52 MODULE_ALIAS("xfrm-offload-" __stringify(family) "-" __stringify(proto))
73 length setting, net->xfrm.policy_hthresh). Other policies are stored in
75 See net/xfrm/xfrm_policy.c for details.
88 dst -. xfrm .-> xfrm_state #1
89 |---. child .-> dst -. xfrm .-> xfrm_state #2
90 |---. child .-> dst -. xfrm .-> xfrm_state #3
504 * xfrm for further detail on how and when these functions are called. RTSL.
602 * struct xfrm_policy - xfrm policy
606 * @state_cache_list: hlist head for policy cached xfrm states
614 * @if_id: virtual xfrm interface id
1066 * dst->xfrm points to an instanse of transformer.
1096 if (dst->xfrm || (dst->flags & DST_XFRM_QUEUE)) {
1108 if (dst->xfrm || (dst->flags & DST_XFRM_QUEUE)) {
1126 if (likely(xdst->u.dst.xfrm))
1127 xfrm_state_put(xdst->u.dst.xfrm);
1270 if (!READ_ONCE(net->xfrm.policy_count[dir]) && !secpath_exists(skb))
1271 return READ_ONCE(net->xfrm.policy_default[dir]) == XFRM_USERPOLICY_ACCEPT;
1371 if (!READ_ONCE(net->xfrm.policy_count[XFRM_POLICY_OUT]) &&
1372 READ_ONCE(net->xfrm.policy_default[XFRM_POLICY_OUT]) == XFRM_USERPOLICY_ACCEPT)
1581 * xfrm algorithm information
1996 nlsk = rcu_dereference(net->xfrm.nlsk);
2009 nlsk = rcu_dereference(net->xfrm.nlsk);
2143 struct xfrm_state *x = dst->xfrm;
2150 if (!x->xso.offload_handle && !xdst->child->xfrm)
2153 !xdst->child->xfrm)