Lines Matching refs:sctx
232 struct xfrm_user_sec_ctx *sctx) in xfrm_sctx_parse() argument
238 sctx->exttype = XFRMA_SEC_CTX; in xfrm_sctx_parse()
239 sctx->ctx_doi = 1; in xfrm_sctx_parse()
240 sctx->ctx_alg = 1; in xfrm_sctx_parse()
241 sctx->ctx_len = slen; in xfrm_sctx_parse()
242 sctx->len = sizeof(struct xfrm_user_sec_ctx) + slen; in xfrm_sctx_parse()
265 struct xfrm_user_sec_ctx sctx; in xfrm_policy_modify() member
300 xfrm_sctx_parse((char *)&ctx.str, context, &ctx.sctx); in xfrm_policy_modify()
390 (void *)&ctx, ctx.sctx.len); in xfrm_policy_modify()
577 struct xfrm_user_sec_ctx sctx; in xfrm_policy_get_or_delete() member
607 xfrm_sctx_parse((char *)&ctx.str, context, &ctx.sctx); in xfrm_policy_get_or_delete()
673 (void *)&ctx, ctx.sctx.len); in xfrm_policy_get_or_delete()