Searched refs:xfrmnl_user_sec_ctx (Results 1 – 3 of 3) sorted by relevance
1263 struct xfrmnl_user_sec_ctx* sec_ctx;1284 struct xfrmnl_user_sec_ctx { struct1325 struct xfrmnl_user_sec_ctx* sec_ctx;
124 len = sizeof (struct xfrmnl_user_sec_ctx) + src->sec_ctx->ctx_len; in xfrm_sp_clone()603 len = sizeof (struct xfrmnl_user_sec_ctx) + ctx->ctx_len; in xfrmnl_sp_parse()1229 *len = sizeof (struct xfrmnl_user_sec_ctx) + sp->sec_ctx->ctx_len; in xfrmnl_sp_get_sec_ctx()1264 if ((sp->sec_ctx = calloc (1, sizeof (struct xfrmnl_user_sec_ctx) + 1 + ctx_len)) == NULL) in xfrmnl_sp_set_sec_ctx()1268 sp->sec_ctx->len = sizeof (struct xfrmnl_user_sec_ctx) + ctx_len; in xfrmnl_sp_set_sec_ctx()
875 len = sizeof (struct xfrmnl_user_sec_ctx) + sec_ctx->ctx_len; in xfrmnl_sa_parse()2026 _nl_auto_free struct xfrmnl_user_sec_ctx *b = NULL; in xfrmnl_sa_set_sec_ctx()2028 if (!(b = calloc(1, sizeof (struct xfrmnl_user_sec_ctx) + 1 + len))) in xfrmnl_sa_set_sec_ctx()2031 b->len = sizeof(struct xfrmnl_user_sec_ctx) + len; in xfrmnl_sa_set_sec_ctx()