Lines Matching refs:TLS_BASE
313 if (ctx->tx_conf != TLS_BASE || ctx->rx_conf != TLS_BASE) in tls_sk_proto_close()
735 prot[TLS_BASE][TLS_BASE] = *base; in build_protos()
736 prot[TLS_BASE][TLS_BASE].setsockopt = tls_setsockopt; in build_protos()
737 prot[TLS_BASE][TLS_BASE].getsockopt = tls_getsockopt; in build_protos()
738 prot[TLS_BASE][TLS_BASE].close = tls_sk_proto_close; in build_protos()
740 prot[TLS_SW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
741 prot[TLS_SW][TLS_BASE].sendmsg = tls_sw_sendmsg; in build_protos()
742 prot[TLS_SW][TLS_BASE].sendpage = tls_sw_sendpage; in build_protos()
744 prot[TLS_BASE][TLS_SW] = prot[TLS_BASE][TLS_BASE]; in build_protos()
745 prot[TLS_BASE][TLS_SW].recvmsg = tls_sw_recvmsg; in build_protos()
746 prot[TLS_BASE][TLS_SW].stream_memory_read = tls_sw_stream_read; in build_protos()
747 prot[TLS_BASE][TLS_SW].close = tls_sk_proto_close; in build_protos()
749 prot[TLS_SW][TLS_SW] = prot[TLS_SW][TLS_BASE]; in build_protos()
755 prot[TLS_HW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
756 prot[TLS_HW][TLS_BASE].sendmsg = tls_device_sendmsg; in build_protos()
757 prot[TLS_HW][TLS_BASE].sendpage = tls_device_sendpage; in build_protos()
759 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW]; in build_protos()
763 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW]; in build_protos()
802 ctx->tx_conf = TLS_BASE; in tls_init()
803 ctx->rx_conf = TLS_BASE; in tls_init()