Lines Matching refs:tx_ctx
731 struct tipc_crypto_tx_ctx *tx_ctx;
777 ctx = tipc_aead_mem_alloc(tfm, sizeof(*tx_ctx), &iv, &req, &sg, nsg);
813 tx_ctx = (struct tipc_crypto_tx_ctx *)ctx;
814 tx_ctx->aead = aead;
815 tx_ctx->bearer = b;
816 memcpy(&tx_ctx->dst, dst, sizeof(*dst));
840 struct tipc_crypto_tx_ctx *tx_ctx = TIPC_SKB_CB(skb)->crypto_ctx;
841 struct tipc_bearer *b = tx_ctx->bearer;
842 struct tipc_aead *aead = tx_ctx->aead;
851 b->media->send_msg(net, skb, b, &tx_ctx->dst);
864 kfree(tx_ctx);