Lines Matching refs:tls_context
189 struct tls_context { struct
243 void tls_ctx_free(struct tls_context *ctx); argument
250 int tls_set_sw_offload(struct sock *sk, struct tls_context *ctx, int tx);
266 int tls_set_device_offload(struct sock *sk, struct tls_context *ctx);
287 void tls_sk_destruct(struct sock *sk, struct tls_context *ctx);
288 int tls_push_sg(struct sock *sk, struct tls_context *ctx,
291 int tls_push_pending_closed_record(struct sock *sk, struct tls_context *ctx,
294 static inline bool tls_is_pending_closed_record(struct tls_context *ctx) in tls_is_pending_closed_record()
300 struct tls_context *ctx, in tls_complete_pending_work()
314 static inline bool tls_is_partially_sent_record(struct tls_context *ctx) in tls_is_partially_sent_record()
319 static inline bool tls_is_pending_open_record(struct tls_context *tls_ctx) in tls_is_pending_open_record()
367 static inline void tls_fill_prepend(struct tls_context *ctx, in tls_fill_prepend()
404 static inline struct tls_context *tls_get_ctx(const struct sock *sk) in tls_get_ctx()
412 const struct tls_context *tls_ctx) in tls_sw_ctx_rx()
418 const struct tls_context *tls_ctx) in tls_sw_ctx_tx()
424 tls_offload_ctx_tx(const struct tls_context *tls_ctx) in tls_offload_ctx_tx()
430 tls_offload_ctx_rx(const struct tls_context *tls_ctx) in tls_offload_ctx_rx()
438 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_request()
461 int tls_set_device_offload_rx(struct sock *sk, struct tls_context *ctx);