/external/ipsec-tools/src/racoon/ |
rsalist.c | 128 struct ph1handle *iph1; member in struct:lookup_result 140 local_score = naddr_score(key->src, req->iph1->local); 141 remote_score = naddr_score(key->dst, req->iph1->remote); 163 rsa_lookup_keys(struct ph1handle *iph1, int my) 169 saddr2str_fromto("%s <-> %s", iph1->local, iph1->remote)); 171 r.iph1 = iph1; 176 list = iph1->rmconf->rsa_private; 178 list = iph1->rmconf->rsa_public [all...] |
admin.c | 275 struct ph1handle *iph1; local 292 if ((iph1 = getph1byaddrwop(src, dst)) == NULL) { 296 if (iph1->status == PHASE1ST_ESTABLISHED) 297 isakmp_info_send_d1(iph1); 298 purge_remote(iph1); 309 struct ph1handle *iph1; local 331 struct ph1handle *iph1; local 345 while ((iph1 = getph1bydstaddrwop(dst)) != NULL) { 346 loc = racoon_strdup(saddrwop2str(iph1->local)); 349 if (iph1->status == PHASE1ST_ESTABLISHED [all...] |
handler.c | 221 struct ph1handle *iph1; local 227 LIST_FOREACH(iph1, &ph1tree, chain) 238 LIST_FOREACH(iph1, &ph1tree, chain) { 239 memcpy(&pd->index, &iph1->index, sizeof(iph1->index)); 240 pd->status = iph1->status; 241 pd->side = iph1->side; 242 memcpy(&pd->remote, iph1->remote, sysdep_sa_len(iph1->remote)); 243 memcpy(&pd->local, iph1->local, sysdep_sa_len(iph1->local)) 260 struct ph1handle *iph1; local 1081 struct ph1handle *iph1; local [all...] |
isakmp_inf.c | 124 isakmp_info_recv(iph1, msg0) 125 struct ph1handle *iph1; 150 if (iph1->ivm == NULL) { 151 plog(LLV_ERROR, LOCATION, NULL, "iph1->ivm == NULL\n"); 156 ivm = oakley_newiv2(iph1, ((struct isakmp *)msg0->v)->msgid); 160 msg = oakley_do_decrypt(iph1, msg0, ivm->iv, ivm->ive); 188 if (iph1->status != PHASE1ST_ESTABLISHED) { 230 hash = oakley_compute_hash1(iph1, isakmp->msgid, payload); 263 switch (iph1->etype) { 267 if ((iph1->side == INITIATOR && iph1->status < PHASE1ST_MSG3SENT 624 struct ph1handle *iph1; local 698 struct ph1handle *iph1 = NULL; local 839 struct ph1handle *iph1 = iph2->ph1; local 1104 struct ph1handle *iph1; local 1615 struct ph1handle *iph1 = arg; local [all...] |
isakmp_xauth.c | 120 xauth_sendreq(iph1) 121 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(iph1, attr, id) 187 struct ph1handle *iph1; 194 struct xauth_state *xst = &iph1->mode_cfg->xauth; 196 if ((iph1->mode_cfg->flags & ISAKMP_CFG_VENDORID_XAUTH) == 0) { 265 strncpy(iph1->mode_cfg->login, usr, LOGINLEN) 361 struct ph1handle *iph1; local [all...] |
isakmp.c | 404 struct ph1handle *iph1; local 459 iph1 = getph1byindex(index); 460 if (iph1 != NULL) { 463 iph1->side == INITIATOR) { 472 if (NATT_AVAILABLE(iph1) && 473 ! (iph1->natt_flags & NAT_PORTS_CHANGED) && 474 ((cmpsaddrstrict(iph1->remote, remote) != 0) || 475 (cmpsaddrstrict(iph1->local, local) != 0))) 478 racoon_free(iph1->remote); 479 racoon_free(iph1->local) 1026 struct ph1handle *iph1; local 1124 struct ph1handle *iph1; local 1869 struct ph1handle *iph1; local 2151 struct ph1handle *iph1 = NULL; local 2285 struct ph1handle *iph1; local [all...] |
/external/iputils/ |
ping6.c | 1638 struct ip6_hdr *iph1 = (struct ip6_hdr*)(icmph+1); local [all...] |