HomeSort by: relevance | last modified time | path
    Searched defs:iph1 (Results 1 - 9 of 9) sorted by relevancy

  /src/crypto/dist/ipsec-tools/src/racoon/
rsalist.c 189 struct ph1handle *iph1; member in struct:lookup_result
201 local_score = naddr_score(key->src, req->iph1->local);
202 remote_score = naddr_score(key->dst, req->iph1->remote);
224 rsa_lookup_keys(struct ph1handle *iph1, int my)
230 saddr2str_fromto("%s <-> %s", iph1->local, iph1->remote));
232 r.iph1 = iph1;
237 list = iph1->rmconf->rsa_private;
239 list = iph1->rmconf->rsa_public
    [all...]
admin.c 172 admin_ph1_delete_sa(struct ph1handle *iph1, void *arg __unused)
174 if (iph1->status >= PHASE1ST_ESTABLISHED)
175 isakmp_info_send_d1(iph1);
176 purge_remote(iph1);
256 struct ph1handle *iph1; local
267 iph1 = getph1byaddr(src, dst, 0);
268 if (iph1 == NULL) {
273 if (iph1->cert_p != NULL) {
275 tmp.v = iph1->cert_p->v + 1;
276 tmp.l = iph1->cert_p->l - 1
350 struct ph1handle *iph1; local
    [all...]
handler.c 112 int (* enum_func)(struct ph1handle *iph1, void *arg), void *enum_arg)
232 resolveph1rmconf(struct ph1handle *iph1)
237 if (iph1->side == INITIATOR)
240 rmconf = getrmconf_by_ph1(iph1);
246 if (iph1->rmconf != NULL) {
247 if (rmconf != iph1->rmconf) {
253 iph1->rmconf = rmconf;
281 * the iph1 is new, migrate all phase2s that belong to a dying or dead ph1
283 void migrate_dying_ph12(struct ph1handle *iph1)
288 if (p == iph1)
306 struct ph1handle *iph1; local
345 struct ph1handle *iph1; local
1209 struct ph1handle *iph1; local
    [all...]
isakmp_inf.c 121 isakmp_info_recv(struct ph1handle *iph1, vchar_t *msg0)
145 if (iph1->ivm == NULL) {
146 plog(LLV_ERROR, LOCATION, NULL, "iph1->ivm == NULL\n");
151 ivm = oakley_newiv2(iph1, ((struct isakmp *)msg0->v)->msgid);
155 msg = oakley_do_decrypt(iph1, msg0, ivm->iv, ivm->ive);
184 if (iph1->status != PHASE1ST_ESTABLISHED &&
185 iph1->status != PHASE1ST_DYING) {
228 hash = oakley_compute_hash1(iph1, isakmp->msgid, payload);
261 switch (iph1->etype) {
265 if ((iph1->side == INITIATOR && iph1->status < PHASE1ST_MSG3SENT
608 struct ph1handle *iph1; local
679 struct ph1handle *iph1 = NULL; local
805 struct ph1handle *iph1 = iph2->ph1; local
1438 struct ph1handle *iph1 = container_of(sc, struct ph1handle, dpd_r_u); local
    [all...]
isakmp_quick.c 2521 struct ph1handle *iph1 = iph2->ph1;
2531 return isakmp_info_recv_initialcontact(iph1, iph2);
2536 if (iph1 != NULL && iph1->rmconf != NULL) {
2537 check_level = iph1->rmconf->pcheck_level;
2539 if (iph1 != NULL)
2520 struct ph1handle *iph1 = iph2->ph1; local
isakmp_xauth.c 121 xauth_sendreq(struct ph1handle *iph1)
128 struct xauth_state *xst = &iph1->mode_cfg->xauth;
132 if (iph1->status < PHASE1ST_ESTABLISHED) {
175 isakmp_cfg_send(iph1, buffer,
186 xauth_attr_reply(struct ph1handle *iph1, struct isakmp_data *attr, int id)
191 struct xauth_state *xst = &iph1->mode_cfg->xauth;
193 if ((iph1->mode_cfg->flags & ISAKMP_CFG_VENDORID_XAUTH) == 0) {
262 strncpy(iph1->mode_cfg->login, usr, LOGINLEN);
263 iph1->mode_cfg->login[LOGINLEN] = '\0';
266 if ((port = isakmp_cfg_getport(iph1)) == -1)
358 struct ph1handle *iph1; local
    [all...]
oakley.c 126 static int oakley_check_certid(struct ph1handle *iph1);
412 oakley_prf(vchar_t *key, vchar_t *buf, struct ph1handle *iph1)
417 if (iph1->approval == NULL) {
424 type = iph1->approval->hashtype;
440 oakley_hash(vchar_t *buf, struct ph1handle *iph1)
445 if (iph1->approval == NULL) {
452 type = iph1->approval->hashtype;
711 oakley_compute_hashx(struct ph1handle *iph1, ...)
721 va_start(ap, iph1);
736 va_start(ap, iph1);
2189 struct ph1handle *iph1; member in struct:append_cr_ctx
    [all...]
isakmp.c 396 struct ph1handle *iph1; local
451 iph1 = getph1byindex(index1);
452 if (iph1 != NULL) {
455 iph1->side == INITIATOR) {
464 if (NATT_AVAILABLE(iph1) &&
465 ! (iph1->natt_flags & NAT_PORTS_CHANGED) &&
466 ((cmpsaddr(iph1->remote, remote) != CMPSADDR_MATCH) ||
467 (cmpsaddr(iph1->local, local) != CMPSADDR_MATCH)))
470 racoon_free(iph1->remote);
471 racoon_free(iph1->local)
1038 struct ph1handle *iph1; local
1134 struct ph1handle *iph1; local
1810 struct ph1handle *iph1 = container_of(p, struct ph1handle, scr); local
2125 struct ph1handle *iph1 = NULL; local
2317 struct ph1handle *iph1; local
    [all...]
pfkey.c 2803 * 6) Update of IKE addresses in Phase 1 (iph1->local and iph1->remote)
2834 migrate_ph1_ike_addresses(iph1, arg)
2835 struct ph1handle *iph1;
2843 if (cmpsaddr(iph1->local, ma->local) == CMPSADDR_MATCH &&
2844 cmpsaddr(iph1->remote, ma->remote) == CMPSADDR_MATCH)
2847 if (iph1->status < PHASE1ST_ESTABLISHED) {
2861 iph1->status = PHASE1ST_EXPIRED;
2862 isakmp_ph1delete(iph1);
2884 if (iph1->local != NULL)
2937 struct ph1handle *iph1; local
3268 struct ph1handle *iph1; local
3323 struct ph1handle *iph1; local
    [all...]

Completed in 20 milliseconds