Home
last modified time | relevance | path

Searched refs:genid (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/include/linux/netfilter/
Dnfnetlink.h43 bool (*valid_genid)(struct net *net, u32 genid);
/kernel/linux/linux-5.10/net/ipv4/
Droute.c674 u32 genid, hval; in update_or_create_fnhe() local
678 genid = fnhe_genid(dev_net(nhc->nhc_dev)); in update_or_create_fnhe()
702 if (fnhe->fnhe_genid != genid) in update_or_create_fnhe()
703 fnhe->fnhe_genid = genid; in update_or_create_fnhe()
734 fnhe->fnhe_genid = genid; in update_or_create_fnhe()
1475 int genid = fnhe_genid(dev_net(rt->dst.dev)); in rt_bind_exception() local
1483 if (fnhe->fnhe_genid != genid) { in rt_bind_exception()
1484 fnhe->fnhe_genid = genid; in rt_bind_exception()
3001 struct fnhe_hash_bucket *bucket, int genid, in fnhe_dump_bucket() argument
3017 if (fnhe->fnhe_genid != genid) in fnhe_dump_bucket()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnfnetlink.c321 u16 subsys_id, u32 genid) in nfnetlink_rcv_batch() argument
370 if (!ss->valid_genid(net, genid)) { in nfnetlink_rcv_batch()
Dnf_tables_api.c8336 static bool nf_tables_valid_genid(struct net *net, u32 genid) in nf_tables_valid_genid() argument
8342 genid_ok = genid == 0 || net->nft.base_seq == genid; in nf_tables_valid_genid()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c442 atomic_inc(&policy->genid); in xfrm_policy_kill()
2614 xdst->xfrm_genid = xfrm[i]->genid; in xfrm_bundle_create()
2753 xdst->policy_genid = atomic_read(&pols[0]->genid); in xfrm_resolve_and_create_bundle()
3864 if (xdst->xfrm_genid != dst->xfrm->genid) in xfrm_bundle_ok()
3867 xdst->policy_genid != atomic_read(&xdst->pols[0]->genid)) in xfrm_bundle_ok()
4409 atomic_inc(&pol->genid); in xfrm_policy_migrate()
Dxfrm_state.c1294 x->genid++; in __xfrm_state_bump_genids()
/kernel/linux/linux-5.10/include/net/
Dxfrm.h167 u32 genid; member
514 atomic_t genid; member