Home
last modified time | relevance | path

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

/linux-5.19.10/net/xfrm/
Dxfrm_hash.h157 sel->prefixlen_s < sbits) in __sel_hash()
165 sel->prefixlen_s < sbits) in __sel_hash()
Dxfrm_policy.c203 addr4_match(fl4->saddr, sel->saddr.a4, sel->prefixlen_s) && in __xfrm4_selector_match()
216 addr_match(&fl6->saddr, &sel->saddr, sel->prefixlen_s) && in __xfrm6_selector_match()
761 prefixlen = policy->selector.prefixlen_s; in xfrm_policy_inexact_insert_use_any_list()
1146 policy->selector.prefixlen_s, in xfrm_policy_inexact_alloc_chain()
1169 policy->selector.prefixlen_s)) in xfrm_policy_inexact_alloc_chain()
1177 policy->selector.prefixlen_s, dir); in xfrm_policy_inexact_alloc_chain()
1281 policy->selector.prefixlen_s < sbits) in xfrm_hash_rebuild()
4195 if (sel->prefixlen_s != 32) in xfrm_audit_common_policyinfo()
4197 sel->prefixlen_s); in xfrm_audit_common_policyinfo()
4205 if (sel->prefixlen_s != 128) in xfrm_audit_common_policyinfo()
[all …]
Dxfrm_state.c891 sel->prefixlen_s = 32; in __xfrm4_init_tempsel()
910 sel->prefixlen_s = 128; in __xfrm6_init_tempsel()
1383 x->sel.prefixlen_s = 32; in __find_acq_core()
1392 x->sel.prefixlen_s = 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.c949 req.info.sel.prefixlen_s = PREFIX_LEN; in xfrm_state_add()
991 info->sel.prefixlen_s != PREFIX_LEN) in xfrm_usersa_found()
1133 req.info.sel.prefixlen_s = PREFIX_LEN; in xfrm_policy_add()
1206 req.id.sel.prefixlen_s = PREFIX_LEN; in xfrm_policy_del()
1559 req.expire.pol.sel.prefixlen_s = PREFIX_LEN; in xfrm_expire_policy()
/linux-5.19.10/include/uapi/linux/
Dxfrm.h58 __u8 prefixlen_s; member
/linux-5.19.10/net/ipv6/
Dmip6.c232 sel.prefixlen_s = 128; in mip6_destopt_reject()
/linux-5.19.10/net/key/
Daf_key.c954 addr->sadb_address_prefixlen = x->sel.prefixlen_s; in __pfkey_xfrm_state2msg()
1254 x->sel.prefixlen_s = addr->sadb_address_prefixlen; in pfkey_msg2xfrm_state()
2087 addr->sadb_address_prefixlen = xp->selector.prefixlen_s; in pfkey_xfrm_policy2msg()
2275 xp->selector.prefixlen_s = sa->sadb_address_prefixlen; in pfkey_spdadd()
2382 sel.prefixlen_s = sa->sadb_address_prefixlen; in pfkey_spddelete()
2590 sel.prefixlen_s = sa->sadb_address_prefixlen; in pfkey_migrate()
3460 addr->sadb_address_prefixlen = sel->prefixlen_s; in set_sadb_address()