Home
last modified time | relevance | path

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

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dsainfo.c140 if( s->iddst == SAINFO_CLIENTADDR ) {
181 !ipsecdoi_chkcmpids(rmt, s->iddst, 0))
217 if (si->iddst != NULL &&
218 si->iddst != SAINFO_CLIENTADDR)
219 vfree(si->iddst);
248 if(s->iddst) in prisainfo()
377 if (si->iddst == SAINFO_ANONYMOUS)
379 else if (si->iddst == SAINFO_CLIENTADDR)
382 idrmt = ipsecdoi_id2str(si->iddst);
H A Dsainfo.h45 vchar_t *iddst; member
H A Dcfparse.y1469 cur_sainfo->iddst,
1490 cur_sainfo->iddst = SAINFO_ANONYMOUS;
1495 cur_sainfo->iddst = SAINFO_CLIENTADDR;
1500 cur_sainfo->iddst = $2;
1505 cur_sainfo->iddst = SAINFO_ANONYMOUS;
1510 cur_sainfo->iddst = SAINFO_CLIENTADDR;
1515 cur_sainfo->iddst = $2;
H A Disakmp_quick.c2144 vchar_t *idsrc = NULL, *iddst = NULL, *client = NULL; local
2160 iddst = ipsecdoi_sockaddr2id(iph2->dst, IPSECDOI_PREFIX_HOST,
2163 iddst = vdup(iph2->id_p);
2165 if (iddst == NULL) {
2198 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, client, iph2->ph1->rmconf->ph1id);
2219 if (iddst)
2220 vfree(iddst);
H A Disakmp.c2260 vchar_t *idsrc, *iddst; local
2270 iddst = ipsecdoi_sockaddr2id((struct sockaddr *)&sp_out->spidx.dst,
2272 if (iddst == NULL) {
2286 iph2->sainfo = getsainfo(idsrc, iddst, NULL, NULL, remoteid);
2288 vfree(iddst);
H A Dhandler.c1253 iph2->sainfo->iddst, iph2->sainfo->id_i, in revalidate_ph2()
/netbsd-src/sys/netipsec/
H A Dkey.c6131 const struct sadb_ident *idsrc, *iddst; in key_setident() local
6169 iddst = mhp->ext[SADB_EXT_IDENTITY_DST]; in key_setident()
6174 if (idsrc->sadb_ident_type != iddst->sadb_ident_type) { in key_setident()
6176 idsrc->sadb_ident_type, iddst->sadb_ident_type); in key_setident()
6204 memcpy(sah->identd, iddst, iddstlen); in key_setident()