Searched refs:genid (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/net/core/
H A Dflow.c37 u32 genid; member in struct:flow_cache_entry
68 if (atomic_read(&xfrm->flow_cache_genid) != fle->genid) flow_entry_valid()
245 } else if (likely(fle->genid == atomic_read(&net->xfrm.flow_cache_genid))) { flow_cache_lookup()
266 fle->genid = atomic_read(&net->xfrm.flow_cache_genid); flow_cache_lookup()
270 fle->genid--; flow_cache_lookup()
/linux-4.4.14/include/net/
H A Dxfrm.h112 We add genid to each dst plus pointer to genid of raw IP route,
113 pmtu disc will update pmtu on raw IP route and increase its genid.
145 u32 genid; member in struct:xfrm_state
535 atomic_t genid; member in struct:xfrm_policy
/linux-4.4.14/net/xfrm/
H A Dxfrm_policy.c335 atomic_inc(&policy->genid); xfrm_policy_kill()
1724 xdst->xfrm_genid = xfrm[i]->genid; xfrm_bundle_create()
1899 xdst->policy_genid = atomic_read(&pols[0]->genid); xfrm_resolve_and_create_bundle()
2763 if (xdst->xfrm_genid != dst->xfrm->genid) xfrm_bundle_ok()
2766 xdst->policy_genid != atomic_read(&xdst->pols[0]->genid)) xfrm_bundle_ok()
3269 atomic_inc(&pol->genid); xfrm_policy_migrate()
H A Dxfrm_state.c986 x->genid++; __xfrm_state_bump_genids()
/linux-4.4.14/net/ipv4/
H A Droute.c1281 int genid = fnhe_genid(dev_net(rt->dst.dev)); rt_bind_exception() local
1289 if (fnhe->fnhe_genid != genid) { rt_bind_exception()
1290 fnhe->fnhe_genid = genid; rt_bind_exception()

Completed in 377 milliseconds