Lines Matching defs:meth
123 BIO_METHOD *meth;
129 BIO_METHOD *meth;
868 context->dtls.meth = BIO_meth_new(BIO_TYPE_DGRAM, "coapdgram");
869 if (!context->dtls.meth)
874 BIO_meth_set_write(context->dtls.meth, coap_dgram_write);
875 BIO_meth_set_read(context->dtls.meth, coap_dgram_read);
876 BIO_meth_set_puts(context->dtls.meth, coap_dgram_puts);
877 BIO_meth_set_ctrl(context->dtls.meth, coap_dgram_ctrl);
878 BIO_meth_set_create(context->dtls.meth, coap_dgram_create);
879 BIO_meth_set_destroy(context->dtls.meth, coap_dgram_destroy);
890 context->tls.meth = BIO_meth_new(BIO_TYPE_SOCKET, "coapsock");
891 if (!context->tls.meth)
893 BIO_meth_set_write(context->tls.meth, coap_sock_write);
894 BIO_meth_set_read(context->tls.meth, coap_sock_read);
895 BIO_meth_set_puts(context->tls.meth, coap_sock_puts);
896 BIO_meth_set_ctrl(context->tls.meth, coap_sock_ctrl);
897 BIO_meth_set_create(context->tls.meth, coap_sock_create);
898 BIO_meth_set_destroy(context->tls.meth, coap_sock_destroy);
965 bio = BIO_new(o_context->dtls.meth);
998 bio = BIO_new(o_context->dtls.meth);
2726 bio = BIO_new(context->dtls.meth);
2786 if (context->dtls.meth)
2787 BIO_meth_free(context->dtls.meth);
2793 if (context->tls.meth)
2794 BIO_meth_free(context->tls.meth);
2828 nbio = BIO_new(dtls->meth);
2968 bio = BIO_new(dtls->meth);
3290 bio = BIO_new(tls->meth);
3349 bio = BIO_new(tls->meth);