Searched defs:iph1 (Results 1 - 11 of 11) sorted by relevance

/external/ipsec-tools/src/racoon/
H A Dvendorid.c251 handle_vendorid(struct ph1handle *iph1, struct isakmp_gen *gen) argument
261 natt_handle_vendorid(iph1, vid_numeric);
266 iph1->mode_cfg->flags |= ISAKMP_CFG_VENDORID_XAUTH;
269 iph1->mode_cfg->flags |= ISAKMP_CFG_VENDORID_UNITY;
277 (iph1->rmconf == NULL || iph1->rmconf->dpd)) {
278 iph1->dpd_support = 1;
H A Dadmin.c275 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
[all...]
H A Drsalist.c128 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) argument
169 saddr2str_fromto("%s <-> %s", iph1->local, iph1->remote));
171 r.iph1 = iph1;
176 list = iph1->rmconf->rsa_private;
178 list = iph1
[all...]
H A Dnattraversal.c122 natt_hash_addr (struct ph1handle *iph1, struct sockaddr *addr) argument
131 saddr2str(addr), iph1->approval->hashtype,
132 (iph1->rmconf->nat_traversal == NATT_FORCE)?"(NAT-T forced)":"");
158 memcpy (ptr, iph1->index.i_ck, sizeof (cookie_t));
162 memcpy (ptr, iph1->index.r_ck, sizeof (cookie_t));
166 if (iph1->rmconf->nat_traversal == NATT_FORCE)
175 natd = oakley_hash (buf, iph1);
182 natt_compare_addr_hash (struct ph1handle *iph1, vchar_t *natd_received, argument
189 if (iph1->rmconf->nat_traversal == NATT_FORCE)
193 natd_computed = natt_hash_addr (iph1, iph
288 natt_float_ports(struct ph1handle *iph1) argument
306 natt_handle_vendorid(struct ph1handle *iph1, int vid_numeric) argument
410 natt_keepalive_add_ph1(struct ph1handle *iph1) argument
[all...]
H A Dgssapi.c154 gssapi_get_default_name(struct ph1handle *iph1, int remote, gss_name_t *service) argument
162 sa = remote ? iph1->remote : iph1->local;
187 gssapi_init(struct ph1handle *iph1) argument
203 gssapi_set_state(iph1, gps);
205 if (iph1->rmconf->proposal->gssid != NULL) {
206 id_token.length = iph1->rmconf->proposal->gssid->l;
207 id_token.value = iph1->rmconf->proposal->gssid->v;
212 gssapi_free_state(iph1);
216 gssapi_get_default_name(iph1,
275 gssapi_get_itoken(struct ph1handle *iph1, int *lenp) argument
346 gssapi_get_rtoken(struct ph1handle *iph1, int *lenp) argument
401 gssapi_save_received_token(struct ph1handle *iph1, vchar_t *token) argument
423 gssapi_get_token_to_send(struct ph1handle *iph1, vchar_t **token) argument
444 gssapi_get_itokens(struct ph1handle *iph1, vchar_t **tokens) argument
479 gssapi_get_rtokens(struct ph1handle *iph1, vchar_t **tokens) argument
517 gssapi_wraphash(struct ph1handle *iph1) argument
577 gssapi_unwraphash(struct ph1handle *iph1) argument
622 gssapi_set_id_sent(struct ph1handle *iph1) argument
632 gssapi_id_sent(struct ph1handle *iph1) argument
642 gssapi_set_id_rcvd(struct ph1handle *iph1) argument
652 gssapi_id_rcvd(struct ph1handle *iph1) argument
662 gssapi_free_state(struct ph1handle *iph1) argument
684 gssapi_get_id(struct ph1handle *iph1) argument
[all...]
H A Dhandler.c221 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
260 struct ph1handle *iph1; local
1081 struct ph1handle *iph1; local
1298 remove_ph1(struct ph1handle *iph1) argument
1356 revalidate_ph1(struct ph1handle *iph1) argument
[all...]
H A Disakmp_inf.c124 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
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...]
H A Disakmp_xauth.c120 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
361 struct ph1handle *iph1; local
[all...]
H A Disakmp.c404 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
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
2971 isakmp_plist_set_all(struct payload_list **plist, struct ph1handle *iph1) argument
[all...]
H A Doakley.c135 static int oakley_check_certid __P((struct ph1handle *iph1));
379 oakley_prf(key, buf, iph1)
381 struct ph1handle *iph1;
386 if (iph1->approval == NULL) {
393 type = iph1->approval->hashtype;
409 oakley_hash(buf, iph1)
411 struct ph1handle *iph1;
416 if (iph1->approval == NULL) {
423 type = iph1->approval->hashtype;
687 oakley_compute_hashx(struct ph1handle *iph1, argument
[all...]
/external/iputils/
H A Dping6.c1641 struct ip6_hdr *iph1 = (struct ip6_hdr*)(icmph+1); local
1642 struct icmp6_hdr *icmph1 = (struct icmp6_hdr *)(iph1+1);
1654 if (memcmp(&iph1->ip6_dst, &whereto.sin6_addr, 16))
1657 nexthdr = iph1->ip6_nxt;

Completed in 342 milliseconds