Lines Matching defs:new
1685 * Begin new phase 2 exchange, so we can keep on sending
2367 /* Add new SP (with old hints) */
2506 /* Add new SP (with old hints) */
2811 /* Add new SP (with old hints) */
2913 * for the new addresses already exist */
2916 "to start a new Phase 1 negotiation. One "
2923 /* Note that the insertion of the new Phase 1 will not
3073 * a new negotiation. */
3096 /* and start a new negotiation */
3246 * message. For each sadb_x_ipsecrequest pair (old followed by new),
3271 /* Get new xisr with updated info */
3308 * parameters point to the new addresses (zero copy). -1 is
3498 * negotiation from the new address or just update things like
3733 struct secpolicy *new = NULL;
3770 new = newsp();
3771 if (new == NULL) {
3777 new->spidx.dir = xpl->sadb_x_policy_dir;
3778 new->id = xpl->sadb_x_policy_id;
3779 new->policy = xpl->sadb_x_policy_type;
3780 new->req = NULL;
3794 struct ipsecrequest **p_isr = &new->req;
3819 "failed to get new ipsecreq.\n");
3884 (*p_isr)->sp = new;
3916 &new->spidx);
3925 &new->spidx);
3933 new->spidx.sec_ctx.ctx_alg = ctx->sadb_x_ctx_alg;
3934 new->spidx.sec_ctx.ctx_doi = ctx->sadb_x_ctx_doi;
3935 new->spidx.sec_ctx.ctx_strlen = ctx->sadb_x_ctx_len;
3936 memcpy(new->spidx.sec_ctx.ctx_str,ctx + 1,ctx->sadb_x_ctx_len);
3942 new->local = dupsaddr(local);
3943 new->remote = dupsaddr(remote);
3946 inssp(new);
3950 if (new != NULL) {
3951 if (new->req != NULL)
3952 racoon_free(new->req);
3953 racoon_free(new);