Home
last modified time | relevance | path

Searched refs:prefixlen_d (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/net/xfrm/
Dxfrm_hash.h156 if (sel->prefixlen_d < dbits || in __sel_hash()
164 if (sel->prefixlen_d < dbits || in __sel_hash()
Dxfrm_policy.c202 return addr4_match(fl4->daddr, sel->daddr.a4, sel->prefixlen_d) && in __xfrm4_selector_match()
215 return addr_match(&fl6->daddr, &sel->daddr, sel->prefixlen_d) && in __xfrm6_selector_match()
767 prefixlen = policy->selector.prefixlen_d; in xfrm_policy_inexact_insert_use_any_list()
1140 policy->selector.prefixlen_d)) { in xfrm_policy_inexact_alloc_chain()
1161 policy->selector.prefixlen_d, dir); in xfrm_policy_inexact_alloc_chain()
1280 if (policy->selector.prefixlen_d < dbits || in xfrm_hash_rebuild()
4199 if (sel->prefixlen_d != 32) in xfrm_audit_common_policyinfo()
4201 sel->prefixlen_d); in xfrm_audit_common_policyinfo()
4209 if (sel->prefixlen_d != 128) in xfrm_audit_common_policyinfo()
4211 sel->prefixlen_d); in xfrm_audit_common_policyinfo()
[all …]
Dxfrm_state.c890 sel->prefixlen_d = 32; in __xfrm4_init_tempsel()
909 sel->prefixlen_d = 128; in __xfrm6_init_tempsel()
1382 x->sel.prefixlen_d = 32; in __find_acq_core()
1391 x->sel.prefixlen_d = 128; in __find_acq_core()
Dxfrm_user.c176 if (p->sel.prefixlen_d > 32 || p->sel.prefixlen_s > 32) in verify_newsa_info()
183 if (p->sel.prefixlen_d > 128 || p->sel.prefixlen_s > 128) in verify_newsa_info()
1537 if (p->sel.prefixlen_d > 32 || p->sel.prefixlen_s > 32) in verify_newpolicy_info()
1544 if (p->sel.prefixlen_d > 128 || p->sel.prefixlen_s > 128) in verify_newpolicy_info()
/linux-5.19.10/tools/testing/selftests/net/
Dipsec.c948 req.info.sel.prefixlen_d = PREFIX_LEN; in xfrm_state_add()
990 info->sel.prefixlen_d != PREFIX_LEN || in xfrm_usersa_found()
1132 req.info.sel.prefixlen_d = PREFIX_LEN; in xfrm_policy_add()
1205 req.id.sel.prefixlen_d = PREFIX_LEN; in xfrm_policy_del()
1558 req.expire.pol.sel.prefixlen_d = PREFIX_LEN; in xfrm_expire_policy()
/linux-5.19.10/include/uapi/linux/
Dxfrm.h57 __u8 prefixlen_d; member
/linux-5.19.10/net/ipv6/
Dmip6.c229 sel.prefixlen_d = 128; in mip6_destopt_reject()
/linux-5.19.10/net/key/
Daf_key.c2102 addr->sadb_address_prefixlen = xp->selector.prefixlen_d; in pfkey_xfrm_policy2msg()
2283 xp->selector.prefixlen_d = sa->sadb_address_prefixlen; in pfkey_spdadd()
2390 sel.prefixlen_d = sa->sadb_address_prefixlen; in pfkey_spddelete()
2599 sel.prefixlen_d = sa->sadb_address_prefixlen; in pfkey_migrate()
3466 addr->sadb_address_prefixlen = sel->prefixlen_d; in set_sadb_address()