Lines Matching refs:prot
622 static void build_protos(struct proto prot[TLS_NUM_CONFIG][TLS_NUM_CONFIG],
625 prot[TLS_BASE][TLS_BASE] = *base;
626 prot[TLS_BASE][TLS_BASE].setsockopt = tls_setsockopt;
627 prot[TLS_BASE][TLS_BASE].getsockopt = tls_getsockopt;
628 prot[TLS_BASE][TLS_BASE].close = tls_sk_proto_close;
630 prot[TLS_SW][TLS_BASE] = prot[TLS_BASE][TLS_BASE];
631 prot[TLS_SW][TLS_BASE].sendmsg = tls_sw_sendmsg;
632 prot[TLS_SW][TLS_BASE].sendpage = tls_sw_sendpage;
634 prot[TLS_BASE][TLS_SW] = prot[TLS_BASE][TLS_BASE];
635 prot[TLS_BASE][TLS_SW].recvmsg = tls_sw_recvmsg;
636 prot[TLS_BASE][TLS_SW].close = tls_sk_proto_close;
638 prot[TLS_SW][TLS_SW] = prot[TLS_SW][TLS_BASE];
639 prot[TLS_SW][TLS_SW].recvmsg = tls_sw_recvmsg;
640 prot[TLS_SW][TLS_SW].close = tls_sk_proto_close;
643 prot[TLS_HW][TLS_BASE] = prot[TLS_BASE][TLS_BASE];
644 prot[TLS_HW][TLS_BASE].sendmsg = tls_device_sendmsg;
645 prot[TLS_HW][TLS_BASE].sendpage = tls_device_sendpage;
647 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW];
648 prot[TLS_HW][TLS_SW].sendmsg = tls_device_sendmsg;
649 prot[TLS_HW][TLS_SW].sendpage = tls_device_sendpage;
651 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW];
653 prot[TLS_SW][TLS_HW] = prot[TLS_SW][TLS_SW];
655 prot[TLS_HW][TLS_HW] = prot[TLS_HW][TLS_SW];
658 prot[TLS_HW_RECORD][TLS_HW_RECORD] = *base;
659 prot[TLS_HW_RECORD][TLS_HW_RECORD].hash = tls_hw_hash;
660 prot[TLS_HW_RECORD][TLS_HW_RECORD].unhash = tls_hw_unhash;
661 prot[TLS_HW_RECORD][TLS_HW_RECORD].close = tls_sk_proto_close;