Searched refs:iddst (Results 1 - 8 of 8) sorted by relevance

/netbsd-6-1-5-RELEASE/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)
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 in struct:sainfo
47 * idsrc and iddst are constructed body of ID payload.
H A Dcfparse.y1438 cur_sainfo->iddst,
1459 cur_sainfo->iddst = SAINFO_ANONYMOUS;
1464 cur_sainfo->iddst = SAINFO_CLIENTADDR;
1469 cur_sainfo->iddst = $2;
1474 cur_sainfo->iddst = SAINFO_ANONYMOUS;
1479 cur_sainfo->iddst = SAINFO_CLIENTADDR;
1484 cur_sainfo->iddst = $2;
H A Disakmp_quick.c2145 vchar_t *idsrc = NULL, *iddst = NULL, *client = NULL;
2161 iddst = ipsecdoi_sockaddr2id(iph2->dst, IPSECDOI_PREFIX_HOST,
2164 iddst = vdup(iph2->id_p);
2166 if (iddst == NULL) {
2199 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, client, iph2->ph1->rmconf->ph1id);
2220 if (iddst)
2221 vfree(iddst);
2144 vchar_t *idsrc = NULL, *iddst = NULL, *client = NULL; local
H A Disakmp.c2256 vchar_t *idsrc, *iddst;
2266 iddst = ipsecdoi_sockaddr2id((struct sockaddr *)&sp_out->spidx.dst,
2268 if (iddst == NULL) {
2282 iph2->sainfo = getsainfo(idsrc, iddst, NULL, NULL, remoteid);
2284 vfree(iddst);
2255 vchar_t *idsrc, *iddst; local
H A Dhandler.c1254 iph2->sainfo->iddst, iph2->sainfo->id_i,
/netbsd-6-1-5-RELEASE/sys/netipsec/
H A Dkey.c5586 const struct sadb_ident *idsrc, *iddst; local
5608 iddst = (const struct sadb_ident *)mhp->ext[SADB_EXT_IDENTITY_DST];
5613 if (idsrc->sadb_ident_type != iddst->sadb_ident_type) {
5643 memcpy(sah->identd, iddst, iddstlen);
/netbsd-6-1-5-RELEASE/sys/netkey/
H A Dkey.c5624 const struct sadb_ident *idsrc, *iddst; local
5646 iddst = (const struct sadb_ident *)mhp->ext[SADB_EXT_IDENTITY_DST];
5651 if (idsrc->sadb_ident_type != iddst->sadb_ident_type) {
5681 memcpy(sah->identd, iddst, iddstlen);

Completed in 5873 milliseconds