Lines Matching refs:newtr
201 struct satrns *tr1, *tr2, *newtr; local
502 newtr = newsatrns();
503 if (newtr == NULL) {
509 newtr->trns_no = tr1->trns_no;
510 newtr->trns_id = tr1->trns_id;
511 newtr->encklen = tr1->encklen;
512 newtr->authtype = tr1->authtype;
514 inssatrns(newpr, newtr);
642 struct satrns *newtr; local
659 newtr = newsatrns();
660 if (newtr == NULL) {
666 newtr->trns_no = t++;
667 newtr->trns_id = ipsecdoi_authalg2trnsid(a->alg);
668 newtr->authtype = a->alg;
670 inssatrns(pr, newtr);
683 newtr = newsatrns();
684 if (newtr == NULL) {
690 newtr->trns_no = t++;
691 newtr->trns_id = a->alg;
692 newtr->encklen = a->encklen;
693 newtr->authtype = b->alg;
695 inssatrns(pr, newtr);
709 newtr = newsatrns();
710 if (newtr == NULL) {
716 newtr->trns_no = t++;
717 newtr->trns_id = a->alg;
718 newtr->authtype = IPSECDOI_ATTR_AUTH_NONE; /*no auth*/
720 inssatrns(pr, newtr);
749 struct satrns *newtr; local
811 newtr = newsatrns();
812 if (newtr == NULL) {
820 newpp, newpr, newtr) < 0) {
822 racoon_free(newtr);
827 inssatrns(newpr, newtr);