Searched refs:idvtype (Results 1 – 5 of 5) sorted by relevance
344 remoteconf->idvtype = IDTYPE_KEYID; in set_pre_shared_key()346 remoteconf->idvtype = IDTYPE_FQDN; in set_pre_shared_key()348 remoteconf->idvtype = IDTYPE_USERFQDN; in set_pre_shared_key()361 remoteconf->idvtype = IDTYPE_ASN1DN; in set_certificates()431 remoteconf->idvtype = IDTYPE_ADDRESS; in setup()
183 new->idvtype = IDTYPE_UNDEFINED; in newrmconf()531 pbuf += sprintf(pbuf, "\tmy_identifier %s", s_idtype (p->idvtype)); in dump_rmconf_single()532 if (p->idvtype == IDTYPE_ASN1DN) { in dump_rmconf_single()
69 int idvtype; /* my identifier type */ member
1568 if (cur_rmconf->idvtype == IDTYPE_UNDEFINED)1569 cur_rmconf->idvtype = IDTYPE_ADDRESS;1572 if (cur_rmconf->idvtype == IDTYPE_ASN1DN) {1735 cur_rmconf->idvtype = $2;1744 cur_rmconf->idvtype = $2;
3767 switch (iph1->rmconf->idvtype) {3770 ident = getidval(iph1->rmconf->idvtype, iph1->rmconf->idv);3774 ident = getidval(iph1->rmconf->idvtype, iph1->rmconf->idv);3778 ident = getidval(iph1->rmconf->idvtype, iph1->rmconf->idv);