Lines Matching refs:new
74 * If matching anonymous entry, then new entry is copied from anonymous entry.
141 struct remoteconf *new;
143 new = racoon_calloc(1, sizeof(*new));
144 if (new == NULL)
147 new->proposal = NULL;
150 new->doitype = IPSEC_DOI;
151 new->sittype = IPSECDOI_SIT_IDENTITY_ONLY;
152 new->idvtype = IDTYPE_ADDRESS;
153 new->idvtype_p = IDTYPE_ADDRESS;
154 new->nonce_size = DEFAULT_NONCE_SIZE;
155 new->keepalive = FALSE;
156 new->passive = FALSE;
157 new->ini_contact = TRUE;
158 new->pcheck_level = PROP_CHECK_STRICT;
159 new->verify_identifier = FALSE;
160 new->verify_cert = TRUE;
161 new->getcert_method = ISAKMP_GETCERT_PAYLOAD;
162 new->send_cert = TRUE;
163 new->send_cr = TRUE;
164 new->support_mip6 = FALSE;
165 new->gen_policy = FALSE;
166 new->retry_counter = lcconf->retry_counter;
167 new->retry_interval = lcconf->retry_interval;
169 return new;
213 insrmconf(new)
214 struct remoteconf *new;
216 LIST_INSERT_HEAD(&rmtree, new, chain);
264 struct isakmpsa *new;
266 new = racoon_calloc(1, sizeof(*new));
267 if (new == NULL)
274 new->vendorid = VENDORID_UNKNOWN;
276 new->next = NULL;
277 new->rmconf = NULL;
279 new->gssid = NULL;
282 return new;
289 insisakmpsa(new, rmconf)
290 struct isakmpsa *new;
295 new->rmconf = rmconf;
298 rmconf->proposal = new;
304 p->next = new;