Home | History | Annotate | Download | only in racoon

Lines Matching refs:sctx

320 	if (*pp1->sctx.ctx_str && !(*pp2->sctx.ctx_str)) {
325 if (!(*pp1->sctx.ctx_str) && *pp2->sctx.ctx_str) {
331 if (*pp1->sctx.ctx_str && *pp2->sctx.ctx_str) {
332 if (pp1->sctx.ctx_doi == pp2->sctx.ctx_doi)
333 newpp->sctx.ctx_doi = pp1->sctx.ctx_doi;
337 pp2->sctx.ctx_doi, pp1->sctx.ctx_doi);
341 if (pp1->sctx.ctx_alg == pp2->sctx.ctx_alg)
342 newpp->sctx.ctx_alg = pp1->sctx.ctx_alg;
346 pp2->sctx.ctx_alg, pp1->sctx.ctx_alg);
350 if ((pp1->sctx.ctx_strlen != pp2->sctx.ctx_strlen) ||
351 memcmp(pp1->sctx.ctx_str, pp2->sctx.ctx_str,
352 pp1->sctx.ctx_strlen) != 0) {
355 pp2->sctx.ctx_str, pp1->sctx.ctx_str);
358 newpp->sctx.ctx_strlen = pp1->sctx.ctx_strlen;
359 memcpy(newpp->sctx.ctx_str, pp1->sctx.ctx_str,
360 pp1->sctx.ctx_strlen);
1212 if (*pp_peer->sctx.ctx_str) {
1213 pp0->sctx.ctx_doi = pp_peer->sctx.ctx_doi;
1214 pp0->sctx.ctx_alg = pp_peer->sctx.ctx_alg;
1215 pp0->sctx.ctx_strlen = pp_peer->sctx.ctx_strlen;
1216 memcpy(pp0->sctx.ctx_str, pp_peer->sctx.ctx_str,
1217 pp_peer->sctx.ctx_strlen);