Searched refs:sel_cmp (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/xfrm/ |
H A D | xfrm_policy.c | 4292 static bool xfrm_migrate_selector_match(const struct xfrm_selector *sel_cmp, in xfrm_migrate_selector_match() argument 4295 if (sel_cmp->proto == IPSEC_ULPROTO_ANY) { in xfrm_migrate_selector_match() 4296 if (sel_tgt->family == sel_cmp->family && in xfrm_migrate_selector_match() 4297 xfrm_addr_equal(&sel_tgt->daddr, &sel_cmp->daddr, in xfrm_migrate_selector_match() 4298 sel_cmp->family) && in xfrm_migrate_selector_match() 4299 xfrm_addr_equal(&sel_tgt->saddr, &sel_cmp->saddr, in xfrm_migrate_selector_match() 4300 sel_cmp->family) && in xfrm_migrate_selector_match() 4301 sel_tgt->prefixlen_d == sel_cmp->prefixlen_d && in xfrm_migrate_selector_match() 4302 sel_tgt->prefixlen_s == sel_cmp->prefixlen_s) { in xfrm_migrate_selector_match() 4306 if (memcmp(sel_tgt, sel_cmp, sizeo in xfrm_migrate_selector_match() [all...] |
/kernel/linux/linux-6.6/net/xfrm/ |
H A D | xfrm_policy.c | 4340 static bool xfrm_migrate_selector_match(const struct xfrm_selector *sel_cmp, in xfrm_migrate_selector_match() argument 4343 if (sel_cmp->proto == IPSEC_ULPROTO_ANY) { in xfrm_migrate_selector_match() 4344 if (sel_tgt->family == sel_cmp->family && in xfrm_migrate_selector_match() 4345 xfrm_addr_equal(&sel_tgt->daddr, &sel_cmp->daddr, in xfrm_migrate_selector_match() 4346 sel_cmp->family) && in xfrm_migrate_selector_match() 4347 xfrm_addr_equal(&sel_tgt->saddr, &sel_cmp->saddr, in xfrm_migrate_selector_match() 4348 sel_cmp->family) && in xfrm_migrate_selector_match() 4349 sel_tgt->prefixlen_d == sel_cmp->prefixlen_d && in xfrm_migrate_selector_match() 4350 sel_tgt->prefixlen_s == sel_cmp->prefixlen_s) { in xfrm_migrate_selector_match() 4354 if (memcmp(sel_tgt, sel_cmp, sizeo in xfrm_migrate_selector_match() [all...] |
Completed in 11 milliseconds