Lines Matching defs:tls_context
219 struct tls_context { struct
221 struct tls_prot_info prot_info;
223 u8 tx_conf:3;
224 u8 rx_conf:3;
225 u8 zerocopy_sendfile:1;
226 u8 rx_no_pad:1;
228 int (*push_pending_record)(struct sock *sk, int flags);
229 void (*sk_write_space)(struct sock *sk);
231 void *priv_ctx_tx;
232 void *priv_ctx_rx;
234 struct net_device __rcu *netdev;
237 struct cipher_context tx;
238 struct cipher_context rx;
240 struct scatterlist *partially_sent_record;
241 u16 partially_sent_offset;
243 bool splicing_pages;
244 bool pending_open_record_frags;
246 struct mutex tx_lock; /* protects partially_sent_* fields and
249 unsigned long flags;
252 struct proto *sk_proto;
276 struct tls_context *ctx, argument