Home
last modified time | relevance | path

Searched refs:msg_callback (Results 1 – 25 of 26) sorted by relevance

12

/openssl/ssl/quic/
H A Dquic_tls.c83 OSSL_FUNC_rlayer_msg_callback_fn *msg_callback; member
129 rl->msg_callback = OSSL_FUNC_rlayer_msg_callback(fns); in quic_new_record_layer()
256 if (rl->msg_callback != NULL) { in quic_write_records()
277 rl->msg_callback(1, TLS1_3_VERSION, SSL3_RT_HEADER, dummyrec, in quic_write_records()
281 rl->msg_callback(1, TLS1_3_VERSION, SSL3_RT_INNER_CONTENT_TYPE, in quic_write_records()
387 if (rl->msg_callback != NULL) { in quic_read_record()
406 rl->msg_callback(0, TLS1_3_VERSION, SSL3_RT_HEADER, dummyrec, in quic_read_record()
408 rl->msg_callback(0, TLS1_3_VERSION, SSL3_RT_INNER_CONTENT_TYPE, type, 1, in quic_read_record()
H A Dquic_record_tx.c107 ossl_msg_cb msg_callback; member
479 if (qtx->msg_callback != NULL) in qtx_write_hdr()
480 qtx->msg_callback(1, OSSL_QUIC1_VERSION, SSL3_RT_QUIC_PACKET, data, l, in qtx_write_hdr()
985 if (qtx->msg_callback != NULL) in ossl_qtx_flush_net()
986 qtx->msg_callback(1, OSSL_QUIC1_VERSION, SSL3_RT_QUIC_DATAGRAM, in ossl_qtx_flush_net()
1080 void ossl_qtx_set_msg_callback(OSSL_QTX *qtx, ossl_msg_cb msg_callback, in ossl_qtx_set_msg_callback() argument
1083 qtx->msg_callback = msg_callback; in ossl_qtx_set_msg_callback()
H A Dquic_record_rx.c171 ossl_msg_cb msg_callback; member
250 if (qrx->msg_callback != NULL) in ossl_qrx_inject_urxe()
251 qrx->msg_callback(0, OSSL_QUIC1_VERSION, SSL3_RT_QUIC_DATAGRAM, urxe + 1, in ossl_qrx_inject_urxe()
962 if (qrx->msg_callback != NULL) in qrx_process_pkt()
963 qrx->msg_callback(0, OSSL_QUIC1_VERSION, SSL3_RT_QUIC_PACKET, sop, in qrx_process_pkt()
1347 void ossl_qrx_set_msg_callback(OSSL_QRX *qrx, ossl_msg_cb msg_callback, in ossl_qrx_set_msg_callback() argument
1350 qrx->msg_callback = msg_callback; in ossl_qrx_set_msg_callback()
H A Dquic_channel_local.h89 ossl_msg_cb msg_callback; member
H A Dquic_rx_depack.c1071 if (ch->msg_callback != NULL) in depack_process_frames()
1387 if (ch->msg_callback != NULL) { in depack_process_frames()
1400 ch->msg_callback(0, OSSL_QUIC1_VERSION, ctype, sof, framelen, in depack_process_frames()
H A Dquic_txp.c108 ossl_msg_cb msg_callback; member
355 if (h->txp->msg_callback != NULL && l > 0) { in tx_helper_commit()
372 h->txp->msg_callback(1, OSSL_QUIC1_VERSION, ctype, h->txn.data, l, in tx_helper_commit()
3102 ossl_msg_cb msg_callback, in ossl_quic_tx_packetiser_set_msg_callback() argument
3105 txp->msg_callback = msg_callback; in ossl_quic_tx_packetiser_set_msg_callback()
H A Dquic_channel.c3617 ossl_msg_cb msg_callback, in ossl_quic_channel_set_msg_callback() argument
3620 ch->msg_callback = msg_callback; in ossl_quic_channel_set_msg_callback()
3622 ossl_qtx_set_msg_callback(ch->qtx, msg_callback, msg_callback_ssl); in ossl_quic_channel_set_msg_callback()
3623 ossl_quic_tx_packetiser_set_msg_callback(ch->txp, msg_callback, in ossl_quic_channel_set_msg_callback()
3625 ossl_qrx_set_msg_callback(ch->qrx, msg_callback, msg_callback_ssl); in ossl_quic_channel_set_msg_callback()
H A Dquic_impl.c438 ossl_quic_channel_set_msg_callback(qc->ch, ctx->msg_callback, ssl_base); in ossl_quic_new()
/openssl/ssl/
H A Dd1_msg.c64 if (s->msg_callback) in dtls1_dispatch_alert()
65 s->msg_callback(1, s->version, SSL3_RT_ALERT, s->s3.send_alert, in dtls1_dispatch_alert()
H A Dd1_lib.c519 if (s->msg_callback) in DTLSv1_listen()
520 s->msg_callback(0, (versmajor << 8) | versminor, SSL3_RT_HEADER, buf, in DTLSv1_listen()
593 if (s->msg_callback) in DTLSv1_listen()
594 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, data, in DTLSv1_listen()
749 if (s->msg_callback) in DTLSv1_listen()
750 s->msg_callback(1, 0, SSL3_RT_HEADER, buf, in DTLSv1_listen()
H A Ds3_msg.c144 if (sc->msg_callback) in ssl3_dispatch_alert()
145 sc->msg_callback(1, sc->version, SSL3_RT_ALERT, sc->s3.send_alert, in ssl3_dispatch_alert()
H A Dssl_local.h930 ossl_msg_cb msg_callback; member
1441 void (*msg_callback) (int write_p, int version, int content_type, member
H A Dssl_lib.c788 s->msg_callback = ctx->msg_callback; in ossl_ssl_connection_new_int()
3187 ctx->msg_callback = (void (*) in SSL_CTX_callback_ctrl()
5102 retsc->msg_callback = sc->msg_callback; in SSL_dup()
/openssl/ssl/statem/
H A Dstatem_dtls.c297 if (s->msg_callback) in dtls1_do_write()
298 s->msg_callback(1, s->version, type, s->init_buf->data, in dtls1_do_write()
350 if (s->msg_callback) { in dtls_get_message()
351 s->msg_callback(0, s->version, SSL3_RT_CHANGE_CIPHER_SPEC, in dtls_get_message()
410 if (s->msg_callback) in dtls_get_message_body()
411 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, in dtls_get_message_body()
916 if (s->msg_callback) in dtls_get_reassembled_message()
917 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, in dtls_get_reassembled_message()
H A Dstatem_lib.c114 if (s->msg_callback) in ssl3_do_write()
115 s->msg_callback(1, s->version, type, s->init_buf->data, in ssl3_do_write()
1601 if (s->msg_callback) in tls_get_message_header()
1602 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, in tls_get_message_header()
1688 if (s->msg_callback) in tls_get_message_body()
1689 s->msg_callback(0, SSL2_VERSION, 0, s->init_buf->data, in tls_get_message_body()
1716 if (s->msg_callback) in tls_get_message_body()
1717 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, s->init_buf->data, in tls_get_message_body()
/openssl/ssl/record/methods/
H A Dtls_common.c637 if (rl->msg_callback != NULL) in tls_get_more_records()
638 rl->msg_callback(0, 0, SSL3_RT_HEADER, p, 5, rl->cbarg); in tls_get_more_records()
657 if (rl->msg_callback != NULL) in tls_get_more_records()
755 if (rl->msg_callback != NULL) in tls_get_more_records()
756 rl->msg_callback(0, TLS1_3_VERSION, SSL3_RT_CHANGE_CIPHER_SPEC, in tls_get_more_records()
1096 if (rl->msg_callback != NULL) in tls13_common_post_process_record()
1097 rl->msg_callback(0, rl->version, SSL3_RT_INNER_CONTENT_TYPE, &rec->type, in tls13_common_post_process_record()
1348 rl->msg_callback = OSSL_FUNC_rlayer_msg_callback(fns); in tls_int_new_record_layer()
1722 if (rl->msg_callback != NULL) { in tls_post_encryption_processing_default()
1726 rl->msg_callback(1, thiswr->rec_version, SSL3_RT_HEADER, recordstart, in tls_post_encryption_processing_default()
[all …]
H A Dtls_multib.c30 && rl->msg_callback == NULL in tls_is_multiblock_capable()
H A Ddtls_meth.c444 if (rl->msg_callback != NULL) in dtls_get_more_records()
445 rl->msg_callback(0, rr->rec_version, SSL3_RT_HEADER, rl->packet, DTLS1_RT_HEADER_LENGTH, in dtls_get_more_records()
H A Drecmethod_local.h365 OSSL_FUNC_rlayer_msg_callback_fn *msg_callback; member
/openssl/include/internal/
H A Dquic_record_rx.h65 void ossl_qrx_set_msg_callback(OSSL_QRX *qrx, ossl_msg_cb msg_callback,
H A Dquic_txp.h195 ossl_msg_cb msg_callback,
H A Dquic_record_tx.h68 void ossl_qtx_set_msg_callback(OSSL_QTX *qtx, ossl_msg_cb msg_callback,
H A Dquic_channel.h388 ossl_msg_cb msg_callback,
/openssl/ssl/record/
H A Drec_layer_s3.c869 if (s->msg_callback) in ssl3_read_bytes()
870 s->msg_callback(0, s->version, SSL3_RT_ALERT, alert_bytes, 2, ssl, in ssl3_read_bytes()
1136 if (s->msg_callback != NULL) in rlayer_msg_callback_wrapper()
1137 s->msg_callback(write_p, version, content_type, buf, len, ssl, in rlayer_msg_callback_wrapper()
1401 if (s->msg_callback == NULL) in ssl_set_new_record_layer()
H A Drec_layer_d1.c394 if (sc->msg_callback) in dtls1_read_bytes()
395 sc->msg_callback(0, sc->version, SSL3_RT_ALERT, alert_bytes, 2, s, in dtls1_read_bytes()

Completed in 110 milliseconds

12