Searched refs:num_xfrms (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/net/xfrm/ |
H A D | xfrm_policy.c | 1516 if (xdst->num_xfrms > 0) xfrm_bundle_flo_get() 1799 int *num_pols, int *num_xfrms) xfrm_expand_policies() 1805 *num_xfrms = 0; xfrm_expand_policies() 1811 *num_xfrms = pols[0]->xfrm_nr; xfrm_expand_policies() 1826 (*num_xfrms) += pols[1]->xfrm_nr; xfrm_expand_policies() 1832 *num_xfrms = -1; xfrm_expand_policies() 1867 xdst->num_xfrms = err; xfrm_resolve_and_create_bundle() 2007 int num_xfrms, xfrm_create_dummy_bundle() 2022 num_xfrms <= 0) xfrm_create_dummy_bundle() 2070 int num_pols = 0, num_xfrms = 0, i, err, pol_dead; xfrm_bundle_lookup() local 2077 num_xfrms = xdst->num_xfrms; xfrm_bundle_lookup() 2087 num_xfrms = 0; xfrm_bundle_lookup() 2099 &num_pols, &num_xfrms); xfrm_bundle_lookup() 2104 if (num_xfrms <= 0) xfrm_bundle_lookup() 2119 num_xfrms = 0; xfrm_bundle_lookup() 2122 xdst->num_xfrms = 0; xfrm_bundle_lookup() 2143 xdst = xfrm_create_dummy_bundle(net, xflo, fl, num_xfrms, family); xfrm_bundle_lookup() 2149 xdst->num_xfrms = num_xfrms; xfrm_bundle_lookup() 2197 int i, err, num_pols, num_xfrms = 0, drop_pols = 0; xfrm_lookup() local 2207 &num_pols, &num_xfrms); xfrm_lookup() 2212 if (num_xfrms <= 0) { xfrm_lookup() 2225 num_xfrms = 0; xfrm_lookup() 2258 num_xfrms = xdst->num_xfrms; xfrm_lookup() 2264 if (route == NULL && num_xfrms > 0) { xfrm_lookup() 2296 if (num_xfrms < 0) { xfrm_lookup() 2301 } else if (num_xfrms > 0) { xfrm_lookup() 1797 xfrm_expand_policies(const struct flowi *fl, u16 family, struct xfrm_policy **pols, int *num_pols, int *num_xfrms) xfrm_expand_policies() argument 2004 xfrm_create_dummy_bundle(struct net *net, struct xfrm_flo *xflo, const struct flowi *fl, int num_xfrms, u16 family) xfrm_create_dummy_bundle() argument
|
/linux-4.1.27/include/net/ |
H A D | xfrm.h | 947 int num_pols, num_xfrms; member in struct:xfrm_dst
|
Completed in 97 milliseconds