Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_policy.c4277 static bool xfrm_migrate_selector_match(const struct xfrm_selector *sel_cmp, in xfrm_migrate_selector_match() argument
4280 if (sel_cmp->proto == IPSEC_ULPROTO_ANY) { in xfrm_migrate_selector_match()
4281 if (sel_tgt->family == sel_cmp->family && in xfrm_migrate_selector_match()
4282 xfrm_addr_equal(&sel_tgt->daddr, &sel_cmp->daddr, in xfrm_migrate_selector_match()
4283 sel_cmp->family) && in xfrm_migrate_selector_match()
4284 xfrm_addr_equal(&sel_tgt->saddr, &sel_cmp->saddr, in xfrm_migrate_selector_match()
4285 sel_cmp->family) && in xfrm_migrate_selector_match()
4286 sel_tgt->prefixlen_d == sel_cmp->prefixlen_d && in xfrm_migrate_selector_match()
4287 sel_tgt->prefixlen_s == sel_cmp->prefixlen_s) { in xfrm_migrate_selector_match()
4291 if (memcmp(sel_tgt, sel_cmp, sizeof(*sel_tgt)) == 0) { in xfrm_migrate_selector_match()