Lines Matching refs:TLS_BASE
312 if (ctx->tx_conf != TLS_BASE || ctx->rx_conf != TLS_BASE) in tls_sk_proto_close()
643 ops[TLS_BASE][TLS_BASE] = *base; in build_proto_ops()
645 ops[TLS_SW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
646 ops[TLS_SW ][TLS_BASE].sendpage_locked = tls_sw_sendpage_locked; in build_proto_ops()
648 ops[TLS_BASE][TLS_SW ] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
649 ops[TLS_BASE][TLS_SW ].splice_read = tls_sw_splice_read; in build_proto_ops()
651 ops[TLS_SW ][TLS_SW ] = ops[TLS_SW ][TLS_BASE]; in build_proto_ops()
655 ops[TLS_HW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
656 ops[TLS_HW ][TLS_BASE].sendpage_locked = NULL; in build_proto_ops()
658 ops[TLS_HW ][TLS_SW ] = ops[TLS_BASE][TLS_SW ]; in build_proto_ops()
661 ops[TLS_BASE][TLS_HW ] = ops[TLS_BASE][TLS_SW ]; in build_proto_ops()
707 prot[TLS_BASE][TLS_BASE] = *base; in build_protos()
708 prot[TLS_BASE][TLS_BASE].setsockopt = tls_setsockopt; in build_protos()
709 prot[TLS_BASE][TLS_BASE].getsockopt = tls_getsockopt; in build_protos()
710 prot[TLS_BASE][TLS_BASE].close = tls_sk_proto_close; in build_protos()
712 prot[TLS_SW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
713 prot[TLS_SW][TLS_BASE].sendmsg = tls_sw_sendmsg; in build_protos()
714 prot[TLS_SW][TLS_BASE].sendpage = tls_sw_sendpage; in build_protos()
716 prot[TLS_BASE][TLS_SW] = prot[TLS_BASE][TLS_BASE]; in build_protos()
717 prot[TLS_BASE][TLS_SW].recvmsg = tls_sw_recvmsg; in build_protos()
718 prot[TLS_BASE][TLS_SW].stream_memory_read = tls_sw_stream_read; in build_protos()
719 prot[TLS_BASE][TLS_SW].close = tls_sk_proto_close; in build_protos()
721 prot[TLS_SW][TLS_SW] = prot[TLS_SW][TLS_BASE]; in build_protos()
727 prot[TLS_HW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
728 prot[TLS_HW][TLS_BASE].sendmsg = tls_device_sendmsg; in build_protos()
729 prot[TLS_HW][TLS_BASE].sendpage = tls_device_sendpage; in build_protos()
731 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW]; in build_protos()
735 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW]; in build_protos()
777 ctx->tx_conf = TLS_BASE; in tls_init()
778 ctx->rx_conf = TLS_BASE; in tls_init()