Searched refs:ctx_str (Results 1 – 7 of 7) sorted by relevance
| /netbsd/src/crypto/dist/ipsec-tools/src/racoon/ |
| D | proposal.c | 311 if (*pp1->sctx.ctx_str && !(*pp2->sctx.ctx_str)) { in cmpsaprop_alloc() 316 if (!(*pp1->sctx.ctx_str) && *pp2->sctx.ctx_str) { in cmpsaprop_alloc() 322 if (*pp1->sctx.ctx_str && *pp2->sctx.ctx_str) { in cmpsaprop_alloc() 342 memcmp(pp1->sctx.ctx_str, pp2->sctx.ctx_str, in cmpsaprop_alloc() 346 pp2->sctx.ctx_str, pp1->sctx.ctx_str); in cmpsaprop_alloc() 350 memcpy(newpp->sctx.ctx_str, pp1->sctx.ctx_str, in cmpsaprop_alloc() 1168 if (*pp_peer->sctx.ctx_str) { in set_proposal_from_proposal() 1172 memcpy(pp0->sctx.ctx_str, pp_peer->sctx.ctx_str, in set_proposal_from_proposal()
|
| D | policy.c | 209 || !within_range(a->sec_ctx.ctx_str, b->sec_ctx.ctx_str)) in cmpspidxstrict() 283 || !within_range(a->sec_ctx.ctx_str, b->sec_ctx.ctx_str)) in cmpspidxwild() 484 spidx->sec_ctx.ctx_strlen, spidx->sec_ctx.ctx_str); in spidx2str()
|
| D | security.c | 171 memcpy(iph2->proposal->sctx.ctx_str, spidx.sec_ctx.ctx_str,
|
| D | pfkey.c | 1159 if (*iph2->approval->sctx.ctx_str) { in pk_sendupdate() 1163 sa_args.ctxstr = iph2->approval->sctx.ctx_str; in pk_sendupdate() 1441 if (*iph2->approval->sctx.ctx_str) { in pk_sendadd() 1445 sa_args.ctxstr = iph2->approval->sctx.ctx_str; in pk_sendadd() 1869 memcpy(spidx.sec_ctx.ctx_str, in pk_recvacquire() 2082 if (*spidx->sec_ctx.ctx_str) { in getsadbpolicy() 2110 if (*spidx->sec_ctx.ctx_str) { in getsadbpolicy() 2121 memcpy(p + 1,spidx->sec_ctx.ctx_str,spidx->sec_ctx.ctx_strlen); in getsadbpolicy() 2309 memcpy(spidx.sec_ctx.ctx_str, ctx + 1, ctx->sadb_x_ctx_len); in pk_recvspdupdate() 2445 memcpy(spidx.sec_ctx.ctx_str, ctx + 1, ctx->sadb_x_ctx_len); in pk_recvspdadd() [all …]
|
| D | policy.h | 48 char ctx_str[MAX_CTXSTR_SIZE]; /* Security Context string */ member
|
| D | ipsec_doi.c | 2961 if (*pp->sctx.ctx_str) { in setph2proposal0() 3023 if (*pp->sctx.ctx_str) { in setph2proposal0()
|
| D | isakmp_quick.c | 2502 if (spidx.sec_ctx.ctx_str) { in get_proposal_r()
|