| /src/crypto/dist/ipsec-tools/src/racoon/ |
| admin.c | 425 struct remoteconf *rmconf; local 442 rmconf = getrmconf(dst, 0); 444 rmconf = getrmconf_by_name(name); 445 if (rmconf == NULL) { 453 /* XXX This overwrites rmconf information globally. */ 456 if (xauth_rmconf_used(&rmconf->xauth) == -1) 459 if (rmconf->xauth->login != NULL) { 460 vfree(rmconf->xauth->login); 461 rmconf->xauth->login = NULL; 463 if (rmconf->xauth->pass != NULL) [all...] |
| nattraversal.c | 132 if (iph1->rmconf != NULL && iph1->rmconf->nat_traversal == NATT_FORCE) 194 if (iph1->rmconf != NULL && 195 iph1->rmconf->nat_traversal == NATT_FORCE) 312 natt_is_enabled(struct remoteconf *rmconf, void *args __unused) 314 if (rmconf->nat_traversal) 322 if (iph1->rmconf == NULL) { 324 struct rmconfselector rmconf; local 325 rmconf_selector_from_ph1(&rmconf, iph1); 326 if (enumrmconf(&rmconf, natt_is_enabled, NULL) == 0 [all...] |
| handler.c | 234 struct remoteconf *rmconf; local 236 /* INITIATOR is always expected to know the exact rmconf. */ 240 rmconf = getrmconf_by_ph1(iph1); 241 if (rmconf == NULL) 243 if (rmconf == RMCONF_ERR_MULTIPLE) 246 if (iph1->rmconf != NULL) { 247 if (rmconf != iph1->rmconf) { 249 "unexpected rmconf switch; killing ph1\n"); 253 iph1->rmconf = rmconf 1451 struct remoteconf *rmconf; local [all...] |
| remoteconf.c | 95 rmconf_match_identity(struct remoteconf *rmconf, vchar_t *id_p) 105 if (!genlist_next(rmconf->idvl_p, 0)) 108 for (id = genlist_next(rmconf->idvl_p, &gpb); id; id = genlist_next(0, &gpb)) { 157 if (rmconf->verify_identifier) 164 rmconf_match_etype_and_approval(struct remoteconf *rmconf, int etype, 167 if (check_etypeok(rmconf, (void *) (intptr_t) etype) == 0) 174 approval->dh_group != rmconf->dh_group) 177 if (checkisakmpsa(rmconf->pcheck_level, approval, 178 rmconf->proposal) == NULL) 194 rmconf_match_type(struct rmconfselector *rmsel, struct remoteconf *rmconf) 333 struct remoteconf *rmconf; member in struct:rmconf_find_context 598 struct remoteconf *rmconf; local [all...] |
| handler.h | 123 /* XXX copy from rmconf due to anonymous configuration. 126 struct remoteconf *rmconf; /* pointer to remote configuration */ member in struct:ph1handle
|
| isakmp.c | 884 iph1->rmconf->ini_contact = 0; 887 if (iph1->rmconf->mode_cfg) 897 if(iph1->dpd_support && iph1->rmconf->dpd_interval) 904 && iph1->rmconf->ini_contact && !getcontacted(iph1->remote)) { 927 !iph1->rmconf->mode_cfg) { 945 if ((iph1->rmconf->mode_cfg) && 1035 isakmp_ph1begin_i(struct remoteconf *rmconf, 1049 iph1->rmconf = rmconf; 1066 if(rmconf->ike_frag == ISAKMP_FRAG_FORCE 2124 struct remoteconf *rmconf; local [all...] |
| pfkey.c | 1174 sa_args.l_natt_frag = iph2->ph1->rmconf->esp_frag; 1459 sa_args.l_natt_frag = iph2->ph1->rmconf->esp_frag; 2839 struct remoteconf *rmconf; local 2859 rmconf = getrmconf(ma->remote, 0); 2860 if (rmconf == NULL || !rmconf->passive) { 2878 isakmp_ph1begin_i(rmconf, ma->local, ma->remote); 3019 struct remoteconf *rmconf; local 3027 if (iph2->ph1 && iph2->ph1->rmconf) 3028 rmconf = iph2->ph1->rmconf [all...] |