Lines Matching refs:tr2
201 struct satrns *tr1, *tr2, *newtr;
476 for (tr2 = pr2->head; tr2; tr2 = tr2->next) {
477 if (cmpsatrns(pr1->proto_id, tr1, tr2, ph1->rmconf->pcheck_level) == 0)
575 * take a single match between satrns. returns 0 if tr1 equals to tr2.
577 * tr2: my satrns
580 cmpsatrns(proto_id, tr1, tr2, check_level)
582 const struct satrns *tr1, *tr2;
585 if (tr1->trns_id != tr2->trns_id) {
589 s_ipsecdoi_trns(proto_id, tr2->trns_id),
594 if (tr1->authtype != tr2->authtype) {
598 s_ipsecdoi_attr_v(IPSECDOI_ATTR_AUTH, tr2->authtype),
614 if (tr1->encklen < tr2->encklen) {
618 tr2->encklen, tr1->encklen);
623 if (tr1->encklen != tr2->encklen) {
627 tr2->encklen, tr1->encklen);