Home
last modified time | relevance | path

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

/Linux-v5.10/net/xfrm/
Dxfrm_hash.h149 if (sel->prefixlen_d < dbits || in __sel_hash()
157 if (sel->prefixlen_d < dbits || in __sel_hash()
Dxfrm_policy.c201 return addr4_match(fl4->daddr, sel->daddr.a4, sel->prefixlen_d) && in __xfrm4_selector_match()
214 return addr_match(&fl6->daddr, &sel->daddr, sel->prefixlen_d) && in __xfrm6_selector_match()
766 prefixlen = policy->selector.prefixlen_d; in xfrm_policy_inexact_insert_use_any_list()
1129 policy->selector.prefixlen_d)) { in xfrm_policy_inexact_alloc_chain()
1150 policy->selector.prefixlen_d, dir); in xfrm_policy_inexact_alloc_chain()
1269 if (policy->selector.prefixlen_d < dbits || in xfrm_hash_rebuild()
4189 if (sel->prefixlen_d != 32) in xfrm_audit_common_policyinfo()
4191 sel->prefixlen_d); in xfrm_audit_common_policyinfo()
4199 if (sel->prefixlen_d != 128) in xfrm_audit_common_policyinfo()
4201 sel->prefixlen_d); in xfrm_audit_common_policyinfo()
[all …]
Dxfrm_state.c866 sel->prefixlen_d = 32; in __xfrm4_init_tempsel()
885 sel->prefixlen_d = 128; in __xfrm6_init_tempsel()
1346 x->sel.prefixlen_d = 32; in __find_acq_core()
1355 x->sel.prefixlen_d = 128; in __find_acq_core()
Dxfrm_user.c175 if (p->sel.prefixlen_d > 32 || p->sel.prefixlen_s > 32) in verify_newsa_info()
182 if (p->sel.prefixlen_d > 128 || p->sel.prefixlen_s > 128) in verify_newsa_info()
1462 if (p->sel.prefixlen_d > 32 || p->sel.prefixlen_s > 32) in verify_newpolicy_info()
1469 if (p->sel.prefixlen_d > 128 || p->sel.prefixlen_s > 128) in verify_newpolicy_info()
/Linux-v5.10/include/uapi/linux/
Dxfrm.h57 __u8 prefixlen_d; member
/Linux-v5.10/tools/testing/selftests/net/
Dipsec.c946 req.info.sel.prefixlen_d = PREFIX_LEN; in xfrm_state_add()
988 info->sel.prefixlen_d != PREFIX_LEN || in xfrm_usersa_found()
1130 req.info.sel.prefixlen_d = PREFIX_LEN; in xfrm_policy_add()
1203 req.id.sel.prefixlen_d = PREFIX_LEN; in xfrm_policy_del()
1556 req.expire.pol.sel.prefixlen_d = PREFIX_LEN; in xfrm_expire_policy()
/Linux-v5.10/net/ipv6/
Dmip6.c229 sel.prefixlen_d = 128; in mip6_destopt_reject()
/Linux-v5.10/net/key/
Daf_key.c2103 addr->sadb_address_prefixlen = xp->selector.prefixlen_d; in pfkey_xfrm_policy2msg()
2284 xp->selector.prefixlen_d = sa->sadb_address_prefixlen; in pfkey_spdadd()
2391 sel.prefixlen_d = sa->sadb_address_prefixlen; in pfkey_spddelete()
2600 sel.prefixlen_d = sa->sadb_address_prefixlen; in pfkey_migrate()
3463 addr->sadb_address_prefixlen = sel->prefixlen_d; in set_sadb_address()